|
tfel
|
#include </home/runner/work/tfel/tfel/mtest/include/MTest/AnalyticalTest.hxx>
Public Member Functions | |
| AnalyticalTest (const std::string &, const std::string &, const std::function< real(const CurrentState &)> &, const EvolutionManager &, const real) | |
| AnalyticalTest & | operator= (const AnalyticalTest &)=delete |
| AnalyticalTest & | operator= (AnalyticalTest &&)=delete |
| void | check (const CurrentState &, const real, const real, const unsigned int) override |
| tfel::tests::TestResult | getResults () const override |
| ~AnalyticalTest () override | |
| destructor | |
| Public Member Functions inherited from mtest::MTest::UTest | |
| virtual | ~UTest () |
| desctructor | |
Protected Attributes | |
| tfel::math::Evaluator | f |
| analytical solution | |
| tfel::tests::TestResult | results |
| results of the test | |
| const std::string | name |
| variable name | |
| std::function< real(const CurrentState &)> | get |
| value getter | |
| const EvolutionManager | evm |
| external evolution | |
| const real | eps |
| criterium value | |
Test based on the comparison of the solution to analytical results
| mtest::AnalyticalTest::AnalyticalTest | ( | const std::string & | , |
| const std::string & | , | ||
| const std::function< real(const CurrentState &)> & | , | ||
| const EvolutionManager & | , | ||
| const real | ) |
constructor
| [in] | f_ | function |
| [in] | v | variable name |
| [in] | g | getter |
| [in] | evm_ | user defined evolution |
| [in] | eps | criterium value |
|
overridevirtual |
| [in] | s | current material state |
| [in] | t | : time |
| [in] | dt | : time increment |
| [in] | p | : period |
Implements mtest::MTest::UTest.
|
nodiscardoverridevirtual |
Implements mtest::MTest::UTest.