#include <SimplePointReader.h>
Public Member Functions | |
SimplePointReader () | |
SimplePointReader (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) |
MeshRead::SimplePointReader::SimplePointReader | ( | ) |
MeshRead::SimplePointReader::SimplePointReader | ( | const std::string & | file_name | ) |
bool MeshRead::SimplePointReader::doRead | ( | hHybridMesh * | mesh | ) | [virtual] |
Implements MeshRead::MeshFileImporter.
bool MeshRead::SimplePointReader::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::SimplePointReader::GetCoordinatesDimension | ( | ) | const [virtual] |
returns number of mesh dimensions: 1D/2D/3D
Reimplemented from MeshRead::MeshFileImporter.
void MeshRead::SimplePointReader::GetElementCount | ( | int | element_type[] | ) | [virtual] |
/return no. of elements in inintial mehs
Reimplemented from MeshRead::MeshFileImporter.
bool MeshRead::SimplePointReader::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::SimplePointReader::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::SimplePointReader::GetVerticesCount | ( | ) | [virtual] |
/return no. of vertices in initial mesh.
Reimplemented from MeshRead::MeshFileImporter.
bool MeshRead::SimplePointReader::Init | ( | ) | [virtual] |
/return true if MeshBuilder initialized successfully, otherwise returns false.
Reimplemented from MeshRead::MeshFileImporter.
bool MeshRead::SimplePointReader::Init | ( | const std::string & | file_name | ) | [virtual] |
/return true if MeshBuilder initialized successfully, otherwise returns false.
Reimplemented from MeshRead::MeshFileImporter.