HDF5Exporter Class Reference

#include <HDF5Exporter.h>

Inheritance diagram for HDF5Exporter:
Inheritance graph
[legend]
Collaboration diagram for HDF5Exporter:
Collaboration graph
[legend]

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]

Frees all resources allocated by class during mesh export.

Implements MeshWrite::IMeshWriter.

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]

/param coords array of vertex coordinates

Implements MeshWrite::IMeshWriter.

void HDF5Exporter::WriteEdgesCount ( const int  noEdges  )  [virtual]

/param noVert Number of all vertices (global) in mesh.

Implements MeshWrite::IMeshWriter.

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]

/param noElems Number of all elements in mesh.

Implements MeshWrite::IMeshWriter.

void HDF5Exporter::WriteFace ( const uTind  edges[],
const uTind  type,
const int8_t  bc,
const uTind  neigh[] 
) [virtual]

/param coords array of vertex coordinates

Implements MeshWrite::IMeshWriter.

void HDF5Exporter::WriteFacesCount ( const int  noFaces  )  [virtual]

/param noVert Number of all vertices (global) in mesh.

Implements MeshWrite::IMeshWriter.

void HDF5Exporter::WriteVertex ( const double  coords[],
const uTind  type 
) [virtual]

/param coords array of vertex coordinates

Implements MeshWrite::IMeshWriter.

void HDF5Exporter::WriteVerticesCount ( const int  noVerts  )  [virtual]

/param noVert Number of all vertices (global) in mesh.

Implements MeshWrite::IMeshWriter.


Member Data Documentation

ArrayType HDF5Exporter::coords_t [protected]
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]
CompType HDF5Exporter::edge_t [protected]
CompType HDF5Exporter::elemPrism_t [protected]
CompType HDF5Exporter::elemT4_t [protected]
H5File HDF5Exporter::file [protected]
CompType HDF5Exporter::hObj_t [protected]
CompType HDF5Exporter::side4_t [protected]
ArrayType HDF5Exporter::sons3_t [protected]
ArrayType HDF5Exporter::sonsFace_t [protected]
CompType HDF5Exporter::vertex_t [protected]

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