Definition at line 23 of file parsed_fem_function_test.C.
◆ CPPUNIT_TEST() [1/6]
◆ CPPUNIT_TEST() [2/6]
◆ CPPUNIT_TEST() [3/6]
◆ CPPUNIT_TEST() [4/6]
◆ CPPUNIT_TEST() [5/6]
◆ CPPUNIT_TEST() [6/6]
ParsedFEMFunctionTest::CPPUNIT_TEST |
( |
testValues |
| ) |
|
◆ CPPUNIT_TEST_SUITE()
◆ CPPUNIT_TEST_SUITE_END()
ParsedFEMFunctionTest::CPPUNIT_TEST_SUITE_END |
( |
| ) |
|
◆ setUp()
void ParsedFEMFunctionTest::setUp |
( |
| ) |
|
|
inline |
Definition at line 26 of file parsed_fem_function_test.C.
30 es = libmesh_make_unique<EquationSystems>(*
mesh);
43 Elem *elem =
mesh->query_elem_ptr(0);
90 c = libmesh_make_unique<FEMContext>(*
sys);
91 s = libmesh_make_unique<FEMContext>(*
sys);
94 c->pre_fe_reinit(*
sys, elem);
96 s->pre_fe_reinit(*
sys, elem);
References libMesh::MeshTools::Generation::build_cube(), libMesh::NumericVector< T >::close(), libMesh::DofObject::dof_number(), mesh, libMesh::Elem::node_ref(), libMesh::DofObject::processor_id(), libMesh::MeshBase::query_elem_ptr(), libMesh::NumericVector< T >::set(), and TestCommWorld.
◆ tearDown()
void ParsedFEMFunctionTest::tearDown |
( |
| ) |
|
|
inline |
◆ testGradients()
void ParsedFEMFunctionTest::testGradients |
( |
| ) |
|
|
inlineprivate |
◆ testHessians()
void ParsedFEMFunctionTest::testHessians |
( |
| ) |
|
|
inlineprivate |
◆ testInlineGetter()
void ParsedFEMFunctionTest::testInlineGetter |
( |
| ) |
|
|
inlineprivate |
◆ testInlineSetter()
void ParsedFEMFunctionTest::testInlineSetter |
( |
| ) |
|
|
inlineprivate |
◆ testNormals()
void ParsedFEMFunctionTest::testNormals |
( |
| ) |
|
|
inlineprivate |
◆ testValues()
void ParsedFEMFunctionTest::testValues |
( |
| ) |
|
|
inlineprivate |
std::unique_ptr<FEMContext> ParsedFEMFunctionTest::c |
|
private |
◆ es
◆ mesh
std::unique_ptr<FEMContext> ParsedFEMFunctionTest::s |
|
private |
◆ sys
System* ParsedFEMFunctionTest::sys |
|
private |
The documentation for this class was generated from the following file:
Manages consistently variables, degrees of freedom, and coefficient vectors.
std::unique_ptr< EquationSystems > es
virtual void close()=0
Calls the NumericVector's internal assembly routines, ensuring that the values are consistent across ...
std::unique_ptr< FEMContext > s
static const Real TOLERANCE
std::unique_ptr< FEMContext > c
processor_id_type processor_id() const
dof_id_type dof_number(const unsigned int s, const unsigned int var, const unsigned int comp) const
unsigned int add_variable(const std::string &var, const FEType &type, const std::set< subdomain_id_type > *const active_subdomains=nullptr)
Adds the variable var to the list of variables for this system.
std::unique_ptr< UnstructuredMesh > mesh
libMesh::Parallel::Communicator * TestCommWorld
A Point defines a location in LIBMESH_DIM dimensional Real space.
std::unique_ptr< NumericVector< Number > > solution
Data structure to hold solution values.
virtual void set(const numeric_index_type i, const T value)=0
Sets v(i) = value.
ParsedFEMFunction provides support for FParser-based parsed functions in FEMSystem.
This is the base class from which all geometric element types are derived.
const Node & node_ref(const unsigned int i) const
virtual void update()
Update the local values to reflect the solution on neighboring processors.