libMesh
|
Public Member Functions | |
LIBMESH_CPPUNIT_TEST_SUITE (ExtraIntegersTest) | |
The goal of this test is to verify the ability to add extra integer storage to a Mesh object, then set and query those extra integers in the objects within the mesh. More... | |
CPPUNIT_TEST (testExtraIntegersEdge2) | |
CPPUNIT_TEST (testExtraIntegersTri6) | |
CPPUNIT_TEST (testExtraIntegersExodusReading) | |
CPPUNIT_TEST (testBadExtraIntegersExodusReading) | |
CPPUNIT_TEST (testExtraIntegersCheckpointEdge3) | |
CPPUNIT_TEST (testExtraIntegersCheckpointHex8) | |
CPPUNIT_TEST_SUITE_END () | |
void | setUp () |
void | tearDown () |
void | testExtraIntegersEdge2 () |
void | testExtraIntegersTri6 () |
void | testExtraIntegersCheckpointEdge3 () |
void | testExtraIntegersCheckpointHex8 () |
void | testExtraIntegersExodusReading () |
void | testBadExtraIntegersExodusReading () |
Protected Member Functions | |
std::array< unsigned int, 6 > | build_mesh (Mesh &mesh, ElemType elem_type, unsigned int n_elem_per_side) |
void | test_and_set_initial_data (Mesh &mesh, std::array< unsigned int, 6 > ini) |
void | test_final_integers (Mesh &mesh, unsigned int i1) |
void | test_helper (ElemType elem_type, unsigned int n_elem_per_side) |
void | checkpoint_helper (ElemType elem_type, unsigned int n_elem_per_side, bool binary) |
Definition at line 17 of file extra_integers.C.
|
inlineprotected |
Definition at line 47 of file extra_integers.C.
References libMesh::MeshBase::add_elem_datum(), libMesh::MeshBase::add_elem_integer(), libMesh::MeshBase::add_node_datum(), libMesh::MeshBase::add_node_integer(), libMesh::Elem::build(), libMesh::MeshTools::Generation::build_cube(), mesh, and libMesh::Real.
|
inlineprotected |
Definition at line 197 of file extra_integers.C.
References libMesh::MeshBase::add_elem_integer(), libMesh::MeshBase::add_node_integer(), TIMPI::Communicator::barrier(), libMesh::MeshBase::has_elem_integer(), libMesh::MeshBase::has_node_integer(), libMesh::DofObject::invalid_id, mesh, libMesh::UnstructuredMesh::read(), libMesh::Real, TestCommWorld, and libMesh::MeshBase::write().
ExtraIntegersTest::CPPUNIT_TEST | ( | testExtraIntegersEdge2 | ) |
ExtraIntegersTest::CPPUNIT_TEST | ( | testExtraIntegersTri6 | ) |
ExtraIntegersTest::CPPUNIT_TEST | ( | testExtraIntegersExodusReading | ) |
ExtraIntegersTest::CPPUNIT_TEST | ( | testBadExtraIntegersExodusReading | ) |
ExtraIntegersTest::CPPUNIT_TEST | ( | testExtraIntegersCheckpointEdge3 | ) |
ExtraIntegersTest::CPPUNIT_TEST | ( | testExtraIntegersCheckpointHex8 | ) |
ExtraIntegersTest::CPPUNIT_TEST_SUITE_END | ( | ) |
ExtraIntegersTest::LIBMESH_CPPUNIT_TEST_SUITE | ( | ExtraIntegersTest | ) |
The goal of this test is to verify the ability to add extra integer storage to a Mesh object, then set and query those extra integers in the objects within the mesh.
|
inline |
Definition at line 297 of file extra_integers.C.
|
inline |
Definition at line 299 of file extra_integers.C.
|
inlineprotected |
Definition at line 76 of file extra_integers.C.
References libMesh::DofObject::invalid_id, mesh, and libMesh::Real.
Definition at line 110 of file extra_integers.C.
References mesh, libMesh::Elem::point(), libMesh::Real, and libMesh::Elem::top_parent().
|
inlineprotected |
Definition at line 138 of file extra_integers.C.
References libMesh::MeshBase::add_elem_integer(), libMesh::MeshBase::add_node_integer(), libMesh::MeshBase::all_first_order(), libMesh::MeshBase::all_second_order(), TIMPI::Communicator::barrier(), mesh, libMesh::MeshBase::partition(), libMesh::UnstructuredMesh::read(), TestCommWorld, libMesh::MeshRefinement::uniformly_refine(), and libMesh::MeshBase::write().
|
inline |
Definition at line 357 of file extra_integers.C.
References mesh, libMesh::ExodusII_IO::read(), libMesh::ExodusII_IO::set_extra_integer_vars(), and TestCommWorld.
|
inline |
Definition at line 305 of file extra_integers.C.
References libMesh::EDGE3.
|
inline |
Definition at line 307 of file extra_integers.C.
References libMesh::HEX8.
|
inline |
Definition at line 301 of file extra_integers.C.
References libMesh::EDGE2.
|
inline |
Definition at line 310 of file extra_integers.C.
References libMesh::MeshBase::allow_renumbering(), libMesh::MeshBase::get_elem_integer_index(), libMesh::ExodusII_IO::get_elem_num_map(), libMesh::DofObject::get_extra_integer(), libMesh::ExodusII_IO::get_node_num_map(), libMesh::MeshBase::has_elem_integer(), libMesh::DofObject::invalid_id, mesh, libMesh::MeshBase::query_elem_ptr(), libMesh::ExodusII_IO::read(), libMesh::ExodusII_IO::set_extra_integer_vars(), and TestCommWorld.
|
inline |
Definition at line 303 of file extra_integers.C.
References libMesh::TRI6.