#include <GenericMeshReader.hpp>
Public Member Functions | |
GenericMeshReader (std::string pathBaseName) | |
~GenericMeshReader () | |
unsigned | GetNumNodes () const |
unsigned | GetNumElements () const |
unsigned | GetNumFaces () const |
unsigned | GetNumElementAttributes () const |
unsigned | GetNumFaceAttributes () const |
void | Reset () |
std::vector< double > | GetNextNode () |
ElementData | GetNextElementData () |
ElementData | GetNextFaceData () |
std::string | GetMeshFileBaseName () |
Private Attributes | |
AbstractMeshReader < ELEMENT_DIM, SPACE_DIM > * | mpMeshReader |
Probing is done during construction.
Thereafter all public methods use the public methods of the delegated class and exceptions are passed back to the caller without being caught locally
Definition at line 51 of file GenericMeshReader.hpp.
GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GenericMeshReader | ( | std::string | pathBaseName | ) | [inline] |
Constructor.
pathBaseName | the base name of the files from which to read the mesh data (either absolute, or relative to the current directory) |
Definition at line 65 of file GenericMeshReader.hpp.
References EXCEPTION, Exception::GetShortMessage(), and GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::~GenericMeshReader | ( | ) | [inline] |
Destructor
Definition at line 107 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
unsigned GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumNodes | ( | ) | const [inline, virtual] |
Method uses the public method of the delegated mesh reader
Implements AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 116 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
unsigned GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumElements | ( | ) | const [inline, virtual] |
Method uses the public method of the delegated mesh reader
Implements AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 124 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
unsigned GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumFaces | ( | ) | const [inline, virtual] |
Method uses the public method of the delegated mesh reader
Implements AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 132 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
unsigned GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumElementAttributes | ( | ) | const [inline, virtual] |
Method uses the public method of the delegated mesh reader
Reimplemented from AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 139 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
unsigned GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumFaceAttributes | ( | ) | const [inline, virtual] |
Method uses the public method of the delegated mesh reader
Reimplemented from AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 147 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
void GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::Reset | ( | ) | [inline, virtual] |
Method uses the public method of the delegated mesh reader
Implements AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 155 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
std::vector<double> GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextNode | ( | ) | [inline, virtual] |
Method uses the public method of the delegated mesh reader
Implements AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 163 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
ElementData GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextElementData | ( | ) | [inline, virtual] |
Method uses the public method of the delegated mesh reader
Implements AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 171 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
ElementData GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextFaceData | ( | ) | [inline, virtual] |
Method uses the public method of the delegated mesh reader
Implements AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 178 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
std::string GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetMeshFileBaseName | ( | ) | [inline, virtual] |
Get the base name (less any extension) for mesh files. Only implemented for some mesh types. Method uses the public method of the delegated mesh reader
Reimplemented from AbstractMeshReader< ELEMENT_DIM, SPACE_DIM >.
Definition at line 187 of file GenericMeshReader.hpp.
References GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader.
AbstractMeshReader<ELEMENT_DIM, SPACE_DIM>* GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::mpMeshReader [private] |
Delegated mesh reader. Used to probe various types of mesh reader
Definition at line 57 of file GenericMeshReader.hpp.
Referenced by GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GenericMeshReader(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetMeshFileBaseName(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextElementData(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextFaceData(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNextNode(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumElementAttributes(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumElements(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumFaceAttributes(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumFaces(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::Reset(), and GenericMeshReader< ELEMENT_DIM, SPACE_DIM >::~GenericMeshReader().