Definition at line 150 of file vector_value_test.C.
◆ ADReal
◆ CPPUNIT_TEST() [1/2]
◆ CPPUNIT_TEST() [2/2]
◆ CPPUNIT_TEST_SUITE_END()
| ADVectorValueTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
◆ LIBMESH_CPPUNIT_TEST_SUITE()
◆ testNormAtZeroDerivative()
| void ADVectorValueTest::testNormAtZeroDerivative |
( |
| ) |
|
|
inline |
Definition at line 163 of file vector_value_test.C.
164 {
165 LOG_UNIT_TEST;
166
168#if LIBMESH_DIM > 1
169 avector(1) =
ADReal(0, 1);
170#endif
171#if LIBMESH_DIM > 2
172 avector(2) =
ADReal(0, 1);
173#endif
174
175 const ADReal result = avector.norm();
176
179 }
MetaPhysicL::DualNumber< Real > ADReal
This class defines a vector in LIBMESH_DIM dimensional Real or Complex space.
static constexpr Real TOLERANCE
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
References libMesh::TypeVector< T >::norm(), libMesh::Real, and libMesh::TOLERANCE.
◆ testNormDerivative()
| void ADVectorValueTest::testNormDerivative |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: