Go to the documentation of this file. 1 #include <libmesh/libmesh.h>
2 #include <libmesh/replicated_mesh.h>
3 #include <libmesh/elem.h>
4 #include <libmesh/mesh_generation.h>
5 #include <libmesh/mesh_modification.h>
26 CPPUNIT_TEST( testAllTriTri );
27 CPPUNIT_TEST( testAllTriQuad );
28 CPPUNIT_TEST( testAllTriQuad8 );
29 CPPUNIT_TEST( testAllTriQuad9 );
34 CPPUNIT_TEST( testAllTriPrism6 );
35 CPPUNIT_TEST( testAllTriPrism18 );
38 CPPUNIT_TEST_SUITE_END();
44 std::size_t n_boundary_conds_expected)
59 CPPUNIT_ASSERT_EQUAL(n_elem_expected,
mesh.
n_elem());
68 std::size_t n_boundary_conds_expected)
84 CPPUNIT_ASSERT_EQUAL(n_elem_expected,
mesh.
n_elem());
const BoundaryInfo & get_boundary_info() const
The information about boundary ids on the mesh.
std::size_t n_boundary_conds() const
virtual dof_id_type n_elem() const =0
The libMesh namespace provides an interface to certain functionality in the library.
void test_helper_3D(ElemType elem_type, dof_id_type n_elem_expected, std::size_t n_boundary_conds_expected)
void test_helper_2D(ElemType elem_type, dof_id_type n_elem_expected, std::size_t n_boundary_conds_expected)
The ReplicatedMesh class is derived from the MeshBase class, and is used to store identical copies of...
libMesh::Parallel::Communicator * TestCommWorld
CPPUNIT_TEST_SUITE_REGISTRATION(AllTriTest)
ElemType
Defines an enum for geometric element types.