MeshRead::IMeshReader Class Reference

#include <IMeshBuilder.h>

Inheritance diagram for MeshRead::IMeshReader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 IMeshReader ()
virtual ~IMeshReader ()
virtual bool doRead (hHybridMesh *mesh)=0
virtual bool Init ()=0
virtual bool Init (const std::string &name)=0
virtual std::string Name () const =0
virtual void Free ()=0
virtual int GetCoordinatesDimension () const
virtual int GetVerticesCount ()
virtual bool GetNextVertex (double coords[])
virtual void GetElementCount (int type_count[])
virtual bool GetNextElement (Tind vertices[], Tind neighbours[], Tind faces[], Tind &element_type, Tind &father, int8_t &material, int8_t &ref)
virtual bool GetBoundaryConditions (double **bc, int &bcCount)
virtual int GetEdgesCount ()
virtual bool GetNextEdge (Tind vertices[], Tind &edge_type)
virtual void GetFacesCount (int face_type[])
virtual bool GetNextFace (Tind edges[], Tind &face_type, int8_t &bc, Tind neigh[])
 IMeshReader ()
virtual ~IMeshReader ()
virtual bool doRead (hHybridMesh *mesh)=0
virtual bool Init ()=0
virtual bool Init (const std::string &name)=0
virtual std::string Name () const =0
virtual void Free ()=0
virtual int GetCoordinatesDimension () const =0
virtual int GetVerticesCount ()=0
virtual bool GetNextVertex (double coords[])=0
virtual void GetElementCount (int type_count[])=0
virtual bool GetNextElement (Tind vertices[], Tind neighbours[], Tind faces[], Tind &element_type, Tind &father, int8_t &material, int8_t &ref)=0
virtual bool GetBoundaryConditions (double **bc, int &bcCount)=0
virtual int GetEdgesCount ()
virtual bool GetNextEdge (Tind vertices[], Tind &edge_type)
virtual void GetFacesCount (int face_type[])
virtual bool GetNextFace (Tind edges[], Tind &face_type, int8_t &bc, Tind neigh[])
virtual bool needsSetup () const

Public Attributes

char * readSequence

Static Public Attributes

static const char V_COUNT = 'v'
static const char VERTICES = 'V'
static const char E_COUNT = 'e'
static const char EDGES = 'E'
static const char F_COUNT = 'f'
static const char FACES = 'F'
static const char EL_COUNT = 'l'
static const char ELEMENTS = 'L'
static const char AUX = 'a'
static const char END = 0

Constructor & Destructor Documentation

MeshRead::IMeshReader::IMeshReader (  )  [inline]
MeshRead::IMeshReader::~IMeshReader (  )  [inline, virtual]
MeshRead::IMeshReader::IMeshReader (  ) 
virtual MeshRead::IMeshReader::~IMeshReader (  )  [virtual]

Member Function Documentation

virtual bool MeshRead::IMeshReader::doRead ( hHybridMesh mesh  )  [pure virtual]
virtual bool MeshRead::IMeshReader::doRead ( hHybridMesh mesh  )  [pure virtual]
virtual void MeshRead::IMeshReader::Free (  )  [pure virtual]
virtual void MeshRead::IMeshReader::Free (  )  [pure virtual]

Frees resources used by builder.

Implemented in MeshRead::BinaryFileReader, GrdMeshBuilder3D, MeshRead::InFileImporter, MeshRead::MeshFileImporter, and MeshRead::MshFileImporter.

Here is the caller graph for this function:

virtual bool MeshRead::IMeshReader::GetBoundaryConditions ( double **  bc,
int &  bcCount 
) [pure virtual]

/param bc array for boundary condition parameters bc[0] - Dirichlet BC bc[1] - Neumann BC bc[2] - Cauchy BC par1 bc[3] - Cauchy BC par2

Implemented in MeshRead::AdinaDatImporter, MeshRead::BinaryFileReader, MeshRead::DmpFileImporter, GrdMeshBuilder3D, MeshRead::KazFileImporter, MeshRead::MeshFileImporter, MeshRead::NasFileImporter, and MeshRead::SimplePointReader.

virtual bool MeshRead::IMeshReader::GetBoundaryConditions ( double **  bc,
int &  bcCount 
) [virtual]

/param bc array for boundary condition parameters bc[0] - Dirichlet BC bc[1] - Neumann BC bc[2] - Cauchy BC par1 bc[3] - Cauchy BC par2

Reimplemented in MeshRead::AdinaDatImporter, MeshRead::BinaryFileReader, MeshRead::DmpFileImporter, GrdMeshBuilder3D, MeshRead::KazFileImporter, MeshRead::MeshFileImporter, MeshRead::NasFileImporter, and MeshRead::SimplePointReader.

virtual int MeshRead::IMeshReader::GetCoordinatesDimension (  )  const [pure virtual]
virtual int MeshRead::IMeshReader::GetCoordinatesDimension (  )  const [virtual]
virtual int MeshRead::IMeshReader::GetEdgesCount (  )  [inline, virtual]
virtual int MeshRead::IMeshReader::GetEdgesCount (  )  [inline, virtual]
virtual void MeshRead::IMeshReader::GetElementCount ( int  type_count[]  )  [pure virtual]

/param element_type no.of vertices in element /return no. of elements in inintial mesh

Implemented in MeshRead::DmpFileImporter, MeshRead::KazFileImporter, MeshRead::MeshFileImporter, MeshRead::NasFileImporter, and MeshRead::SimplePointReader.

virtual void MeshRead::IMeshReader::GetElementCount ( int  type_count[]  )  [virtual]

/param element_type no.of vertices in element /return no. of elements in inintial mesh

Reimplemented in MeshRead::DmpFileImporter, MeshRead::KazFileImporter, MeshRead::MeshFileImporter, MeshRead::NasFileImporter, and MeshRead::SimplePointReader.

virtual void MeshRead::IMeshReader::GetFacesCount ( int  face_type[]  )  [inline, virtual]
virtual void MeshRead::IMeshReader::GetFacesCount ( int  face_type[]  )  [inline, virtual]
virtual bool MeshRead::IMeshReader::GetNextEdge ( Tind  vertices[],
Tind edge_type 
) [inline, virtual]

/param edge_type OUT type of edge (no. of vertices) /param vertices OUT

Reimplemented in MeshRead::DmpFileImporter, and MeshRead::KazFileImporter.

virtual bool MeshRead::IMeshReader::GetNextEdge ( Tind  vertices[],
Tind edge_type 
) [inline, virtual]

/param edge_type OUT type of edge (no. of vertices) /param vertices OUT

Reimplemented in MeshRead::DmpFileImporter, and MeshRead::KazFileImporter.

virtual bool MeshRead::IMeshReader::GetNextElement ( Tind  vertices[],
Tind  neighbours[],
Tind  faces[],
Tind element_type,
Tind father,
int8_t &  material,
int8_t &  ref 
) [pure virtual]

/param vertices OUT array for current element vertices numbers /param neighbours OUT array for current element neighoubrs(other elements) numbers. /param element_type OUT type of element (no. of vertices) /return true if there is next element and false if this is last element.

Implemented in MeshRead::DmpFileImporter, MeshRead::KazFileImporter, MeshRead::MeshFileImporter, MeshRead::NasFileImporter, and MeshRead::SimplePointReader.

virtual bool MeshRead::IMeshReader::GetNextElement ( Tind  vertices[],
Tind  neighbours[],
Tind  faces[],
Tind element_type,
Tind father,
int8_t &  material,
int8_t &  ref 
) [virtual]

/param vertices OUT array for current element vertices numbers /param neighbours OUT array for current element neighoubrs(other elements) numbers. /param element_type OUT type of element (no. of vertices) /return true if there is next element and false if this is last element.

Reimplemented in MeshRead::DmpFileImporter, MeshRead::KazFileImporter, MeshRead::MeshFileImporter, MeshRead::NasFileImporter, and MeshRead::SimplePointReader.

virtual bool MeshRead::IMeshReader::GetNextFace ( Tind  edges[],
Tind face_type,
int8_t &  bc,
Tind  neigh[] 
) [inline, virtual]
virtual bool MeshRead::IMeshReader::GetNextFace ( Tind  edges[],
Tind face_type,
int8_t &  bc,
Tind  neigh[] 
) [inline, virtual]
virtual bool MeshRead::IMeshReader::GetNextVertex ( double  coords[]  )  [pure virtual]

/param coords array for coordinates of vertex /return true if there is next vertex and false if there isn't.

Implemented in MeshRead::AdinaDatImporter, MeshRead::DmpFileImporter, GrdMeshBuilder3D, MeshRead::KazFileImporter, MeshRead::MeshFileImporter, MeshRead::NasFileImporter, and MeshRead::SimplePointReader.

virtual bool MeshRead::IMeshReader::GetNextVertex ( double  coords[]  )  [virtual]

/param coords array for coordinates of vertex /return true if there is next vertex and false if there isn't.

Reimplemented in MeshRead::AdinaDatImporter, MeshRead::DmpFileImporter, GrdMeshBuilder3D, MeshRead::KazFileImporter, MeshRead::MeshFileImporter, MeshRead::NasFileImporter, and MeshRead::SimplePointReader.

Here is the caller graph for this function:

virtual int MeshRead::IMeshReader::GetVerticesCount (  )  [pure virtual]
virtual int MeshRead::IMeshReader::GetVerticesCount (  )  [virtual]
virtual bool MeshRead::IMeshReader::Init ( const std::string &  name  )  [pure virtual]
virtual bool MeshRead::IMeshReader::Init (  )  [pure virtual]
virtual bool MeshRead::IMeshReader::Init ( const std::string &  name  )  [pure virtual]
virtual bool MeshRead::IMeshReader::Init (  )  [pure virtual]

/return true if MeshBuilder initialized successfully, otherwise returns false.

Implemented in MeshRead::BinaryFileReader, MeshRead::DmpFileImporter, GrdMeshBuilder3D, MeshRead::InFileImporter, MeshRead::KazFileImporter, MeshRead::MeshFileImporter, MeshRead::MshFileImporter, MeshRead::NasFileImporter, and MeshRead::SimplePointReader.

Here is the caller graph for this function:

virtual std::string MeshRead::IMeshReader::Name (  )  const [pure virtual]
virtual std::string MeshRead::IMeshReader::Name (  )  const [pure virtual]

Implemented in MeshRead::BinaryFileReader, and MeshRead::MeshFileImporter.

Here is the caller graph for this function:

virtual bool MeshRead::IMeshReader::needsSetup (  )  const [inline, virtual]

Reimplemented in MeshRead::BinaryFileReader.


Member Data Documentation

static const char MeshRead::IMeshReader::AUX = 'a' [static]
static const char MeshRead::IMeshReader::E_COUNT = 'e' [static]
static const char MeshRead::IMeshReader::EDGES = 'E' [static]
static const char MeshRead::IMeshReader::EL_COUNT = 'l' [static]
static const char MeshRead::IMeshReader::ELEMENTS = 'L' [static]
static const char MeshRead::IMeshReader::END = 0 [static]
static const char MeshRead::IMeshReader::F_COUNT = 'f' [static]
static const char MeshRead::IMeshReader::FACES = 'F' [static]

In readSequence is stored sequendce of actions used to correctly read input.

static const char MeshRead::IMeshReader::V_COUNT = 'v' [static]
static const char MeshRead::IMeshReader::VERTICES = 'V' [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1