GrdMeshBuilder3D Class Reference

#include <GrdMeshBuilder3D.h>

Inheritance diagram for GrdMeshBuilder3D:
Inheritance graph
[legend]
Collaboration diagram for GrdMeshBuilder3D:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GrdMeshBuilder3D (const char grdFileName[])
 ~GrdMeshBuilder3D (void)
bool Init ()
virtual void Free ()
int GetCoordinatesDimension () const
int GetVerticesCount ()
bool GetNextVertex (double coords[])
int GetElementCount ()
bool GetNextElement (int vertices[], int neighbours[])
bool GetBoundaryConditions (double **bc, int &bcCount)

Protected Member Functions

int getDim (const int n) const

Protected Attributes

std::ifstream grid_file
std::string fileName
int dimension
int verticesCount
int readedVertices
int elementsCount
int readedElements

Constructor & Destructor Documentation

GrdMeshBuilder3D::GrdMeshBuilder3D ( const char  grdFileName[]  ) 
GrdMeshBuilder3D::~GrdMeshBuilder3D ( void   ) 

Here is the call graph for this function:


Member Function Documentation

void GrdMeshBuilder3D::Free (  )  [virtual]

Frees resources used by builder.

Implements MeshRead::IMeshReader.

Here is the caller graph for this function:

bool GrdMeshBuilder3D::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 from MeshRead::IMeshReader.

int GrdMeshBuilder3D::GetCoordinatesDimension (  )  const [virtual]

/return returns number of mesh dimensions: 1D/2D/3D

Reimplemented from MeshRead::IMeshReader.

int GrdMeshBuilder3D::getDim ( const int  n  )  const [protected]

Here is the caller graph for this function:

int GrdMeshBuilder3D::GetElementCount (  ) 

/return no. of elements in inintial mesh.

bool GrdMeshBuilder3D::GetNextElement ( int  vertices[],
int  neighbours[] 
)

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

bool GrdMeshBuilder3D::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 from MeshRead::IMeshReader.

Here is the call graph for this function:

int GrdMeshBuilder3D::GetVerticesCount (  )  [virtual]

/return no. of vertices in initial mesh.

Reimplemented from MeshRead::IMeshReader.

bool GrdMeshBuilder3D::Init (  )  [virtual]

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

Implements MeshRead::IMeshReader.

Here is the call graph for this function:


Member Data Documentation

int GrdMeshBuilder3D::dimension [protected]
std::string GrdMeshBuilder3D::fileName [protected]
std::ifstream GrdMeshBuilder3D::grid_file [protected]

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