Definition at line 19 of file parsed_function_test.C.
◆ CPPUNIT_TEST() [1/4]
◆ CPPUNIT_TEST() [2/4]
◆ CPPUNIT_TEST() [3/4]
◆ CPPUNIT_TEST() [4/4]
◆ CPPUNIT_TEST_SUITE_END()
ParsedFunctionTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
◆ LIBMESH_CPPUNIT_TEST_SUITE()
◆ setUp()
void ParsedFunctionTest::setUp |
( |
| ) |
|
|
inline |
◆ tearDown()
void ParsedFunctionTest::tearDown |
( |
| ) |
|
|
inline |
◆ testInlineGetter()
void ParsedFunctionTest::testInlineGetter |
( |
| ) |
|
|
inlineprivate |
Definition at line 62 of file parsed_function_test.C.
References libMesh::ParsedFunction< Output, OutputGradient >::get_inline_value(), and libMesh::TOLERANCE.
70 ax2_stolen = std::move(ax2);
72 LIBMESH_ASSERT_NUMBERS_EQUAL
75 LIBMESH_ASSERT_NUMBERS_EQUAL
79 (
"a := 4 ; b := a/2+1; c:=b-a+3.5; c*x*2*y*4");
81 LIBMESH_ASSERT_NUMBERS_EQUAL
84 LIBMESH_ASSERT_NUMBERS_EQUAL
87 LIBMESH_ASSERT_NUMBERS_EQUAL
A Function generated (via FParser) by parsing a mathematical expression.
static constexpr Real TOLERANCE
A Point defines a location in LIBMESH_DIM dimensional Real space.
◆ testInlineSetter()
void ParsedFunctionTest::testInlineSetter |
( |
| ) |
|
|
inlineprivate |
◆ testTimeDependence()
void ParsedFunctionTest::testTimeDependence |
( |
| ) |
|
|
inlineprivate |
◆ testValues()
void ParsedFunctionTest::testValues |
( |
| ) |
|
|
inlineprivate |
Definition at line 40 of file parsed_function_test.C.
References libMesh::TOLERANCE.
45 std::vector<ParsedFunction<Number>> pfvec;
53 pfvec.push_back(xy8_stolen);
55 LIBMESH_ASSERT_NUMBERS_EQUAL
58 LIBMESH_ASSERT_NUMBERS_EQUAL
A Function generated (via FParser) by parsing a mathematical expression.
static constexpr Real TOLERANCE
A Point defines a location in LIBMESH_DIM dimensional Real space.
The documentation for this class was generated from the following file: