HDF5Exporter Class Reference
#include <HDF5Exporter.h>
List of all members.
Public Member Functions |
| HDF5Exporter (const std::string &file_name) |
| ~HDF5Exporter (void) |
bool | Init () |
bool | Init (const std::string &name) |
void | Free () |
void | WriteVerticesCount (const int noVerts) |
void | WriteVertex (const double coords[], const uTind type) |
void | WriteEdgesCount (const int noEdges) |
void | WriteEdge (const uTind verts[], const uTind type) |
void | WriteFacesCount (const int noFaces) |
void | WriteFace (const uTind edges[], const uTind type, const int8_t bc, const uTind neigh[]) |
void | WriteElementCount (const int noElems) |
void | WriteElement (const uTind faces[], const uTind neighbours[], const uTind type, const uTind father, const int8_t ref, const int8_t material) |
Protected Attributes |
H5File | file |
ArrayType | coords_t |
ArrayType | sons3_t |
ArrayType | sonsFace_t |
CompType | hObj_t |
CompType | vertex_t |
CompType | edge_t |
CompType | side4_t |
CompType | elemT4_t |
CompType | elemPrism_t |
Static Protected Attributes |
static const hsize_t | dims [25] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24} |
Constructor & Destructor Documentation
HDF5Exporter::HDF5Exporter |
( |
const std::string & |
file_name |
) |
|
HDF5Exporter::~HDF5Exporter |
( |
void |
|
) |
[inline] |
Member Function Documentation
void HDF5Exporter::Free |
( |
|
) |
[virtual] |
bool HDF5Exporter::Init |
( |
const std::string & |
name |
) |
[inline, virtual] |
bool HDF5Exporter::Init |
( |
|
) |
[virtual] |
Initializes exporter. After this function call exporter should be ready for exporting the mesh. /return true if exporter initializes correctly, otherwise false. If this function doesn't succeeded exporting process is gently stopped and error is thrown.
Implements MeshWrite::IMeshWriter.
void HDF5Exporter::WriteEdge |
( |
const uTind |
verts[], |
|
|
const uTind |
type | |
|
) |
| | [virtual] |
void HDF5Exporter::WriteEdgesCount |
( |
const int |
noEdges |
) |
[virtual] |
void HDF5Exporter::WriteElement |
( |
const uTind |
faces[], |
|
|
const uTind |
neighbours[], |
|
|
const uTind |
type, |
|
|
const uTind |
father, |
|
|
const int8_t |
ref, |
|
|
const int8_t |
material | |
|
) |
| | [virtual] |
/param vertices array of indexes of vertices making this element /param neighbours array of indexes of neighbour elements
Implements MeshWrite::IMeshWriter.
void HDF5Exporter::WriteElementCount |
( |
const int |
noElems |
) |
[virtual] |
void HDF5Exporter::WriteFace |
( |
const uTind |
edges[], |
|
|
const uTind |
type, |
|
|
const int8_t |
bc, |
|
|
const uTind |
neigh[] | |
|
) |
| | [virtual] |
void HDF5Exporter::WriteFacesCount |
( |
const int |
noFaces |
) |
[virtual] |
void HDF5Exporter::WriteVertex |
( |
const double |
coords[], |
|
|
const uTind |
type | |
|
) |
| | [virtual] |
void HDF5Exporter::WriteVerticesCount |
( |
const int |
noVerts |
) |
[virtual] |
Member Data Documentation
const hsize_t HDF5Exporter::dims = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24} [static, protected] |
The documentation for this class was generated from the following files: