2 #include <libmesh/distributed_mesh.h> 3 #include <libmesh/elem.h> 4 #include <libmesh/mesh.h> 5 #include <libmesh/mesh_generation.h> 6 #include <libmesh/mesh_refinement.h> 7 #include <libmesh/mesh_tools.h> 8 #include <libmesh/replicated_mesh.h> 25 CPPUNIT_TEST( testDistributedMeshVerifyIsPrepared );
26 CPPUNIT_TEST( testMeshVerifyIsPrepared );
27 CPPUNIT_TEST( testReplicatedMeshVerifyIsPrepared );
30 CPPUNIT_TEST_SUITE_END();
78 testMeshBaseVerifyIsPrepared(
mesh);
84 testMeshBaseVerifyIsPrepared(
mesh);
90 testMeshBaseVerifyIsPrepared(
mesh);
CPPUNIT_TEST_SUITE_REGISTRATION(MeshBaseTest)
The ReplicatedMesh class is derived from the MeshBase class, and is used to store identical copies of...
const unsigned int invalid_uint
A number which is used quite often to represent an invalid or uninitialized value for an unsigned int...
void testMeshBaseVerifyIsPrepared(UnstructuredMesh &mesh)
IntRange< unsigned short > side_index_range() const
libMesh::Parallel::Communicator * TestCommWorld
This is the base class from which all geometric element types are derived.
The libMesh namespace provides an interface to certain functionality in the library.
The UnstructuredMesh class is derived from the MeshBase class.
unsigned int which_neighbor_am_i(const Elem *e) const
This function tells you which neighbor e is.
void set_neighbor(const unsigned int i, Elem *n)
Assigns n as the neighbor.
The DistributedMesh class is derived from the MeshBase class, and is intended to provide identical fu...
void testMeshVerifyIsPrepared()
const Elem * neighbor_ptr(unsigned int i) const
void testReplicatedMeshVerifyIsPrepared()
virtual const Elem * query_elem_ptr(const dof_id_type i) const =0
void testDistributedMeshVerifyIsPrepared()
The Mesh class is a thin wrapper, around the ReplicatedMesh class by default.