#include <KazFileImporter.h>
Public Member Functions | |
KazFileImporter (const std::string &fileName) | |
KazFileImporter () | |
~KazFileImporter () | |
bool | Init () |
bool | doRead (hHybridMesh *mesh) |
int | GetVerticesCount () |
bool | GetNextVertex (double coords[]) |
void | GetElementCount (int type_count[]) |
bool | GetNextElement (Tind vertices[], Tind neighbours[], Tind faces[], Tind &element_type, Tind &father, int8_t &material, int8_t &ref) |
int | GetCoordinatesDimension () const |
bool | GetBoundaryConditions (double **, int &) |
int | GetEdgesCount () |
void | GetFacesCount (int type_count[]) |
bool | GetNextFace (Tind edges[], Tind &face_type, int8_t &bc, Tind neigh[]) |
bool | GetNextEdge (Tind vertices[], Tind &edge_type) |
Protected Attributes | |
int | _face_count |
int | _face_readed |
int | _edge_count |
int | _edge_readed |
KazFileImporter::KazFileImporter | ( | const std::string & | fileName | ) |
KazFileImporter::KazFileImporter | ( | ) |
KazFileImporter::~KazFileImporter | ( | ) |
bool KazFileImporter::doRead | ( | hHybridMesh * | mesh | ) | [virtual] |
switch(element_type)
Implements MeshRead::MeshFileImporter.
bool MeshRead::KazFileImporter::GetBoundaryConditions | ( | double ** | bc, | |
int & | bcCount | |||
) | [inline, 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::KazFileImporter::GetCoordinatesDimension | ( | ) | const [inline, 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 KazFileImporter::GetEdgesCount | ( | ) | [virtual] |
Reimplemented from MeshRead::IMeshReader.
void KazFileImporter::GetElementCount | ( | int | type_count[] | ) | [virtual] |
/return no. of elements in inintial mesh
Reimplemented from MeshRead::MeshFileImporter.
void KazFileImporter::GetFacesCount | ( | int | type_count[] | ) | [virtual] |
/param edge_type OUT type of edge (no. of vertices) /param vertices OUT
Reimplemented from MeshRead::IMeshReader.
bool KazFileImporter::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 KazFileImporter::GetNextFace | ( | Tind | edges[], | |
Tind & | face_type, | |||
int8_t & | bc, | |||
Tind | neigh[] | |||
) | [virtual] |
Reimplemented from MeshRead::IMeshReader.
bool KazFileImporter::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 KazFileImporter::GetVerticesCount | ( | ) | [virtual] |
/return no. of vertices in initial mesh.
Reimplemented from MeshRead::MeshFileImporter.
bool KazFileImporter::Init | ( | ) | [virtual] |
/return true if MeshBuilder initialized successfully, otherwise returns false.
Reimplemented from MeshRead::MeshFileImporter.
int MeshRead::KazFileImporter::_edge_count [protected] |
int MeshRead::KazFileImporter::_edge_readed [protected] |
int MeshRead::KazFileImporter::_face_count [protected] |
int MeshRead::KazFileImporter::_face_readed [protected] |