|
libMesh
|
The orientation tests on a cube of elem_type elements.
More...
Public Member Functions | |
| void | build_mesh () override |
| Builds the mesh the tests run on, before it is skewed. | |
| void | setUp () |
| void | tearDown () |
| Entity | node_entity (const Elem &elem, const unsigned int n) |
The entity of elem that owns the degrees of freedom sitting on node n. | |
| unsigned int | entity_orientation (const Elem &elem, const Entity &entity) |
The orientation index that the shape functions of entity follow. | |
| void | test_orientation_determines_shapes () |
| void | test_conformity_across_sides () |
Protected Attributes | |
| std::unique_ptr< Mesh > | _mesh |
| std::string | libmesh_suite_name |
Private Member Functions | |
| unsigned int | n_rounds () const |
| Rounds of permutation, which vary the relative numbering of shared sides. | |
| std::vector< Real > | shapes (const FEType &fe_type, const Elem &elem, const unsigned int first, const unsigned int n_dofs, const std::vector< Point > &points) |
The values of shape functions first through first + n_dofs - 1 at points. | |
| void | record (std::map< unsigned int, std::vector< Real > > &seen, const unsigned int orientation, const std::vector< Real > &values, unsigned int &n_compared) |
Record values for orientation, or check them against those already recorded. | |
Static Private Attributes | |
| static constexpr Real | map_tolerance = TOLERANCE * TOLERANCE |
| The tolerance for inverse_map() | |
The orientation tests on a cube of elem_type elements.
Definition at line 269 of file fe_orientation_test.C.
|
inlineoverridevirtual |
Builds the mesh the tests run on, before it is skewed.
Implements FEOrientationTestBase< order, family >.
Definition at line 272 of file fe_orientation_test.C.
References FEOrientationTestBase< order, family >::_mesh, libMesh::MeshTools::Generation::build_cube(), dim, and libMesh::Elem::type_to_dim_map.
|
inlineinherited |
The orientation index that the shape functions of entity follow.
Definition at line 76 of file fe_orientation_test.C.
References EDGE, FACE, libMesh::Elem::face_orientation(), and libMesh::Elem::positive_edge_orientation().
Referenced by FEOrientationTestBase< order, family >::test_orientation_determines_shapes().
|
inlineprivateinherited |
Rounds of permutation, which vary the relative numbering of shared sides.
Definition at line 221 of file fe_orientation_test.C.
References FEOrientationTestBase< order, family >::_mesh.
Referenced by FEOrientationTestBase< order, family >::test_conformity_across_sides().
|
inlineinherited |
The entity of elem that owns the degrees of freedom sitting on node n.
Definition at line 57 of file fe_orientation_test.C.
References EDGE, FACE, INTERIOR, libMesh::Elem::is_edge(), libMesh::Elem::is_face(), libMesh::Elem::is_node_on_edge(), libMesh::Elem::is_node_on_side(), libMesh::Elem::is_vertex(), libMesh::make_range(), libMesh::Elem::n_edges(), libMesh::Elem::n_faces(), and VERTEX.
Referenced by FEOrientationTestBase< order, family >::test_orientation_determines_shapes().
|
inlineprivateinherited |
Record values for orientation, or check them against those already recorded.
Definition at line 247 of file fe_orientation_test.C.
References libMesh::index_range(), and libMesh::TOLERANCE.
Referenced by FEOrientationTestBase< order, family >::test_orientation_determines_shapes().
|
inlineinherited |
Definition at line 39 of file fe_orientation_test.C.
References FEOrientationTestBase< order, family >::_mesh, FEOrientationTestBase< order, family >::build_mesh(), libMesh::MeshTools::Modification::redistribute(), and TestCommWorld.
|
inlineprivateinherited |
The values of shape functions first through first + n_dofs - 1 at points.
Definition at line 231 of file fe_orientation_test.C.
References libMesh::make_range(), and libMesh::FEInterface::shape().
Referenced by FEOrientationTestBase< order, family >::test_orientation_determines_shapes().
|
inlineinherited |
Definition at line 51 of file fe_orientation_test.C.
References FEOrientationTestBase< order, family >::_mesh.
|
inlineinherited |
Definition at line 141 of file fe_orientation_test.C.
References FEOrientationTestBase< order, family >::_mesh, libMesh::EquationSystems::add_system(), libMesh::System::add_variable(), libMesh::Elem::dim(), libMesh::DofMap::dof_indices(), libMesh::System::get_dof_map(), libMesh::QBase::get_points(), libMesh::index_range(), libMesh::EquationSystems::init(), libMesh::QBase::init(), libMesh::FEMap::inverse_map(), libMesh::make_range(), libMesh::FEMap::map(), FEOrientationTestBase< order, family >::map_tolerance, FEOrientationTestBase< order, family >::n_rounds(), libMesh::Elem::neighbor_ptr(), libMesh::remote_elem, libMesh::FEInterface::shape(), and libMesh::TOLERANCE.
|
inlineinherited |
Definition at line 89 of file fe_orientation_test.C.
References FEOrientationTestBase< order, family >::_mesh, FEOrientationTestBase< order, family >::entity_orientation(), libMesh::QBase::get_points(), libMesh::QBase::init(), INTERIOR, libMesh::make_range(), libMesh::FEInterface::n_dofs_at_node(), libMesh::FEInterface::n_dofs_per_elem(), FEOrientationTestBase< order, family >::node_entity(), FEOrientationTestBase< order, family >::record(), and FEOrientationTestBase< order, family >::shapes().
|
protectedinherited |
Definition at line 35 of file fe_orientation_test.C.
Referenced by FEOrientationTest< elem_type, order, family >::build_mesh(), FEHybridOrientationTest< order, family >::build_mesh(), FEOrientationTestBase< order, family >::n_rounds(), FEOrientationTestBase< order, family >::setUp(), FEOrientationTestBase< order, family >::tearDown(), FEOrientationTestBase< order, family >::test_conformity_across_sides(), and FEOrientationTestBase< order, family >::test_orientation_determines_shapes().
|
protectedinherited |
Definition at line 36 of file fe_orientation_test.C.
|
staticconstexprprivateinherited |
The tolerance for inverse_map()
Definition at line 218 of file fe_orientation_test.C.
Referenced by FEOrientationTestBase< order, family >::test_conformity_across_sides().