Public Member Functions
Sundance::MeshType Class Reference
Inheritance diagram for Sundance::MeshType:
Playa::Handle< MeshTypeBase >

List of all members.

Public Member Functions

 MeshType ()
 MeshType (Playa::Handleable< MeshTypeBase > *rawPtr)
 MeshType (const RCP< MeshTypeBase > &smartPtr)
Mesh createEmptyMesh (int dim, const MPIComm &comm) const

Detailed Description

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.


Constructor & Destructor Documentation

Construct an empty mesh type object

Definition at line 52 of file SundanceMeshType.cpp.

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.


Member Function Documentation

Mesh MeshType::createEmptyMesh ( int  dim,
const MPIComm comm 
) const

Site Contact