Public Member Functions | |
| MeshType () | |
| MeshType (Playa::Handleable< MeshTypeBase > *rawPtr) | |
| MeshType (const RCP< MeshTypeBase > &smartPtr) | |
| Mesh | createEmptyMesh (int dim, const MPIComm &comm) const |
Class MeshType is a user-level object for specification of which internal mesh representation is to be used when building or reading a mesh. An example of using a MeshType to control the creation of a mesh with a TriangleMeshReader is as follows:
MeshType meshType = new BasicSimplicialMeshType(); MeshSource meshSrc = new TriangleMeshReader("meshFile", meshType, MPIComm::world());
The internal representation of the mesh will be as a BasicSimplicialMesh object.
Definition at line 64 of file SundanceMeshType.hpp.
Construct an empty mesh type object
Definition at line 52 of file SundanceMeshType.cpp.
| MeshType::MeshType | ( | Playa::Handleable< MeshTypeBase > * | rawPtr | ) |
Construct from a raw pointer to a mesh type subtype
Definition at line 56 of file SundanceMeshType.cpp.
| MeshType::MeshType | ( | const RCP< MeshTypeBase > & | smartPtr | ) |
Construct from a smart pointer to a mesh type subtype
Definition at line 61 of file SundanceMeshType.cpp.
| Mesh MeshType::createEmptyMesh | ( | int | dim, |
| const MPIComm & | comm | ||
| ) | const |
Create a mesh of the given dimension
Definition at line 65 of file SundanceMeshType.cpp.
References Playa::Handle< MeshTypeBase >::ptr(), and SUNDANCE_TRACE.
Referenced by Sundance::MeshTransformationBase::createMesh(), Sundance::MeshSourceBase::createMesh(), Sundance::SerialPartitionerBase::makeMeshParts(), and Sundance::UniformRefinementPair::refineTriMesh().