#include <AbstractMeshReader.hpp>
Public Member Functions | |
virtual unsigned | GetNumElements () const =0 |
virtual unsigned | GetNumNodes () const =0 |
virtual unsigned | GetNumFaces () const =0 |
virtual unsigned | GetNumElementAttributes () const |
virtual unsigned | GetNumFaceAttributes () const |
virtual unsigned | GetNumEdges () const =0 |
virtual std::vector< double > | GetNextNode ()=0 |
virtual void | Reset ()=0 |
virtual ElementData | GetNextElementData ()=0 |
virtual ElementData | GetNextFaceData ()=0 |
ElementData | GetNextEdge () |
virtual std::string | GetMeshFileBaseName () |
A derived class TrianglesMeshReader exists for reading meshes generated by Triangles (in 2-d) and TetGen (in 3-d).
A derived class MemfemMeshReader reads 3D data from the Tulane University code
A derived class FemlabMeshReader reads 2D data from Femlab or Matlab PDEToolbox
Definition at line 59 of file AbstractMeshReader.hpp.
virtual unsigned AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumElements | ( | ) | const [pure virtual] |
Returns the number of elements in the mesh
Implemented in AbstractCachedMeshReader< ELEMENT_DIM, SPACE_DIM >, and TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Referenced by TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::MetisLibraryNodePartitioning(), and AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMeshReader().
virtual unsigned AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumNodes | ( | ) | const [pure virtual] |
Returns the number of nodes in the mesh
Implemented in AbstractCachedMeshReader< ELEMENT_DIM, SPACE_DIM >, and TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Referenced by TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::MetisLibraryNodePartitioning(), and AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMeshReader().
virtual unsigned AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumFaces | ( | ) | const [pure virtual] |
Returns the number of faces in the mesh (synonym of GetNumEdges())
Implemented in AbstractCachedMeshReader< ELEMENT_DIM, SPACE_DIM >, and TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Referenced by TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), and AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMeshReader().
unsigned AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumElementAttributes | ( | ) | const [inline, virtual] |
Returns the number of element attributes in the mesh
Reimplemented in TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 36 of file AbstractMeshReader.cpp.
Referenced by TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), and ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader().
unsigned AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumFaceAttributes | ( | ) | const [inline, virtual] |
Returns the number of face attributes in the mesh
Reimplemented in TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 44 of file AbstractMeshReader.cpp.
Referenced by TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), and ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader().
virtual unsigned AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumEdges | ( | ) | const [pure virtual] |
Returns the number of edges in the mesh (synonym of GetNumFaces())
Implemented in AbstractCachedMeshReader< ELEMENT_DIM, SPACE_DIM >, and TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
virtual std::vector<double> AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextNode | ( | ) | [pure virtual] |
Returns a vector of the coordinates of each node in turn
Implemented in AbstractCachedMeshReader< ELEMENT_DIM, SPACE_DIM >, and TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Referenced by TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), and AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMeshReader().
virtual void AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::Reset | ( | ) | [pure virtual] |
Resets pointers to beginning
Implemented in AbstractCachedMeshReader< ELEMENT_DIM, SPACE_DIM >, and TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Referenced by ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ComputeMeshPartitioning(), TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::MetisBinaryNodePartitioning(), and ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::MetisLibraryNodePartitioning().
virtual ElementData AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextElementData | ( | ) | [pure virtual] |
Returns a vector of the nodes of each element (and any attribute infomation, if there is any) in turn
Implemented in AbstractCachedMeshReader< ELEMENT_DIM, SPACE_DIM >, and TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Referenced by ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ComputeMeshPartitioning(), TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::MetisBinaryNodePartitioning(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::MetisLibraryNodePartitioning(), and AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMeshReader().
virtual ElementData AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextFaceData | ( | ) | [pure virtual] |
Returns a vector of the nodes of each face in turn (synonym of GetNextEdgeData())
Implemented in AbstractCachedMeshReader< ELEMENT_DIM, SPACE_DIM >, and TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Referenced by TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextEdge(), and AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMeshReader().
ElementData AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextEdge | ( | ) | [inline] |
Returns a vector of the nodes of each edge in turn (synonym of GetNextFaceData())
Definition at line 52 of file AbstractMeshReader.cpp.
References AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextFaceData().
std::string AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >::GetMeshFileBaseName | ( | ) | [inline, virtual] |
Get method for mMeshFileBaseName.
Reimplemented in TrianglesMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 58 of file AbstractMeshReader.cpp.
Referenced by TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader(), and ParallelTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructFromMeshReader().