MeshRead::NasFileImporter Class Reference
#include <NasFileImporter.h>
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] |
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] |
void MeshRead::NasFileImporter::GetElementCount |
( |
int |
type_count[] |
) |
[virtual] |
void MeshRead::NasFileImporter::GetFacesCount |
( |
int |
type_count[] |
) |
[virtual] |
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] |
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] |
bool MeshRead::NasFileImporter::Init |
( |
|
) |
[virtual] |
bool MeshRead::NasFileImporter::Init |
( |
const std::string & |
file_name |
) |
[virtual] |
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: