MeshRead::NasFileImporter Class Reference

#include <NasFileImporter.h>

Inheritance diagram for MeshRead::NasFileImporter:
Inheritance graph
[legend]
Collaboration diagram for MeshRead::NasFileImporter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NasFileImporter ()
 NasFileImporter (const std::string &file_name)
bool Init (const std::string &file_name)
bool Init ()
bool doRead (hHybridMesh *mesh)
int GetCoordinatesDimension () const
int GetVerticesCount ()
bool GetNextVertex (double coords[])
void GetElementCount (int element_type[])
bool GetNextElement (Tind vertices[], Tind neighbours[], Tind faces[], Tind &element_type, Tind &father, int8_t &material, int8_t &ref)
bool GetBoundaryConditions (double **bc, int &bcCount)
bool LineParse (char const *str, std::vector< double > &v)
bool VertexLineParse (char const *str, std::vector< double > &v)
void GetFacesCount (int type_count[])
bool GetNextFace (Tind edges[], Tind &face_type, int8_t &bc, Tind neigh[])

Protected Attributes

int _face_count
int _face_readed
int _edge_count
int _edge_readed
int _quads
int _prisms

Constructor & Destructor Documentation

MeshRead::NasFileImporter::NasFileImporter (  ) 
MeshRead::NasFileImporter::NasFileImporter ( const std::string &  file_name  ) 

Member Function Documentation

bool MeshRead::NasFileImporter::doRead ( hHybridMesh mesh  )  [virtual]

Implements MeshRead::MeshFileImporter.

Here is the call graph for this function:

bool MeshRead::NasFileImporter::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::MeshFileImporter.

int MeshRead::NasFileImporter::GetCoordinatesDimension (  )  const [virtual]

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

Reimplemented from MeshRead::MeshFileImporter.

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

/return no. of elements in inintial mehs

/return no. of elements in inintial mesh

Reimplemented from MeshRead::MeshFileImporter.

void MeshRead::NasFileImporter::GetFacesCount ( int  type_count[]  )  [virtual]

Reimplemented from MeshRead::IMeshReader.

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

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

Reimplemented from MeshRead::MeshFileImporter.

bool MeshRead::NasFileImporter::GetNextFace ( Tind  edges[],
Tind face_type,
int8_t &  bc,
Tind  neigh[] 
) [virtual]

Reimplemented from MeshRead::IMeshReader.

bool MeshRead::NasFileImporter::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::MeshFileImporter.

int MeshRead::NasFileImporter::GetVerticesCount (  )  [virtual]

/return no. of vertices in initial mesh.

Reimplemented from MeshRead::MeshFileImporter.

bool MeshRead::NasFileImporter::Init (  )  [virtual]

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

Reimplemented from MeshRead::MeshFileImporter.

Here is the call graph for this function:

Here is the caller graph for this function:

bool MeshRead::NasFileImporter::Init ( const std::string &  file_name  )  [virtual]

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

Reimplemented from MeshRead::MeshFileImporter.

Here is the call graph for this function:

bool MeshRead::NasFileImporter::LineParse ( char const *  str,
std::vector< double > &  v 
)
bool MeshRead::NasFileImporter::VertexLineParse ( char const *  str,
std::vector< double > &  v 
)

Member Data Documentation


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