Flow123d
JB-rel-int-test-ea53151
|
#include <string>
Go to the source code of this file.
Functions | |
void | armadillo_setup () |
template<class T > | |
std::string | field_value_to_yaml (const T &mat, unsigned int prec=5) |
void armadillo_setup | ( | ) |
This method sets particular ostream to armadillo which catch errors reported by Armadillo and report Flow error message with full stacktrace. This allows better determination of the source of the error.
The call to the function may appear in the main() or in particular unit tests.
Definition at line 66 of file armadillo_tools.cc.
|
inline |
Format field_value (i.e. matrix, vector scalar of double or int) into YAML string.
Definition at line 138 of file armadillo_tools.cc.