![]() |
OGS
|
|
Functions | |
| template<typename T> requires std::integral<T> || std::floating_point<T> | |
| void | dump_py (std::ostream &fh, std::string const &var, T const val) |
| Dumps a numeric value as a Python script snippet. | |
| template<typename Vec> | |
| void | dump_py_vec (std::ostream &fh, std::string const &var, Vec const &val) |
| Dumps an arbitrary vector as a Python script snippet. | |
| void | dump_py (std::ostream &fh, std::string const &var, std::vector< double > const &val) |
Dumps a std::vector<double> as a Python script snippet. | |
| template<typename Derived> | |
| void | dump_py (std::ostream &fh, std::string const &var, Eigen::ArrayBase< Derived > const &val, std::integral_constant< int, 1 >) |
| Dumps an Eigen vector (array with 1 column) as a Python script snippet. | |
| template<typename Derived, int ColsAtCompileTime> | |
| void | dump_py (std::ostream &fh, std::string const &var, Eigen::ArrayBase< Derived > const &val, std::integral_constant< int, ColsAtCompileTime >) |
| Dumps an Eigen array as a Python script snippet. | |
| template<typename Derived> | |
| void | dump_py (std::ostream &fh, std::string const &var, Eigen::ArrayBase< Derived > const &val) |
| Dumps an Eigen array as a Python script snippet. | |
| template<typename Derived> | |
| void | dump_py (std::ostream &fh, std::string const &var, Eigen::MatrixBase< Derived > const &val) |
| Dumps an Eigen matrix as a Python script snippet. | |
| auto | signedAbsDiffRelDiff (auto const &mat_or_vec1, auto const &mat_or_vec2) |
| (Signed) absolute and (symmetric) relative difference as Eigen::Array | |
| template<typename MatOrVec> | |
| auto | oneIfAboveThresholdElseZero (MatOrVec &&mat_or_vec, double const threshold) |
| bool | isSimilar (auto const &mat_or_vec1, auto const &mat_or_vec2, double const abs_tol, double const rel_tol) |
Variables | |
| const std::string | msg_fatal |
| Will be printed if some consistency error is detected. | |
| void anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::dump_py | ( | std::ostream & | fh, |
| std::string const & | var, | ||
| Eigen::ArrayBase< Derived > const & | val ) |
Dumps an Eigen array as a Python script snippet.
Definition at line 98 of file CompareJacobiansJacobianAssembler.cpp.
References dump_py().
| void anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::dump_py | ( | std::ostream & | fh, |
| std::string const & | var, | ||
| Eigen::ArrayBase< Derived > const & | val, | ||
| std::integral_constant< int, 1 > | ) |
Dumps an Eigen vector (array with 1 column) as a Python script snippet.
Definition at line 62 of file CompareJacobiansJacobianAssembler.cpp.
References dump_py_vec().
| void anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::dump_py | ( | std::ostream & | fh, |
| std::string const & | var, | ||
| Eigen::ArrayBase< Derived > const & | val, | ||
| std::integral_constant< int, ColsAtCompileTime > | ) |
Dumps an Eigen array as a Python script snippet.
Definition at line 71 of file CompareJacobiansJacobianAssembler.cpp.
| void anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::dump_py | ( | std::ostream & | fh, |
| std::string const & | var, | ||
| Eigen::MatrixBase< Derived > const & | val ) |
Dumps an Eigen matrix as a Python script snippet.
Definition at line 107 of file CompareJacobiansJacobianAssembler.cpp.
References dump_py().
| void anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::dump_py | ( | std::ostream & | fh, |
| std::string const & | var, | ||
| std::vector< double > const & | val ) |
Dumps a std::vector<double> as a Python script snippet.
Definition at line 54 of file CompareJacobiansJacobianAssembler.cpp.
References dump_py_vec().
| void anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::dump_py | ( | std::ostream & | fh, |
| std::string const & | var, | ||
| T const | val ) |
Dumps a numeric value as a Python script snippet.
Definition at line 23 of file CompareJacobiansJacobianAssembler.cpp.
| void anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::dump_py_vec | ( | std::ostream & | fh, |
| std::string const & | var, | ||
| Vec const & | val ) |
Dumps an arbitrary vector as a Python script snippet.
Definition at line 30 of file CompareJacobiansJacobianAssembler.cpp.
| bool anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::isSimilar | ( | auto const & | mat_or_vec1, |
| auto const & | mat_or_vec2, | ||
| double const | abs_tol, | ||
| double const | rel_tol ) |
Definition at line 142 of file CompareJacobiansJacobianAssembler.cpp.
References signedAbsDiffRelDiff().
| auto anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::oneIfAboveThresholdElseZero | ( | MatOrVec && | mat_or_vec, |
| double const | threshold ) |
Definition at line 133 of file CompareJacobiansJacobianAssembler.cpp.
| auto anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::signedAbsDiffRelDiff | ( | auto const & | mat_or_vec1, |
| auto const & | mat_or_vec2 ) |
(Signed) absolute and (symmetric) relative difference as Eigen::Array
Definition at line 119 of file CompareJacobiansJacobianAssembler.cpp.
Referenced by isSimilar().
| const std::string anonymous_namespace{CompareJacobiansJacobianAssembler.cpp}::msg_fatal |
Will be printed if some consistency error is detected.
Definition at line 114 of file CompareJacobiansJacobianAssembler.cpp.