MeshWrite::DmpFileExporter Class Reference

#include <DmpFileExporter.h>

Inheritance diagram for MeshWrite::DmpFileExporter:
Inheritance graph
[legend]
Collaboration diagram for MeshWrite::DmpFileExporter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DmpFileExporter ()
 DmpFileExporter (const std::string &file_name)
virtual ~DmpFileExporter ()
bool Init ()
bool Init (const std::string &file_name)
void Free ()
bool doWrite (const hHybridMesh *mesh)
void WriteVerticesCount (const int noVerts)
void WriteVertex (const double coords[], const uTind type)
void WriteEdgesCount (const int noEdges)
void WriteEdge (const ID verts[], const uTind type)
void WriteFacesCount (const int noFaces)
void WriteFace (const ID edges[], const uTind type, const int8_t bc, const ID neigh[])
void WriteElementCount (const int noElems)
void WriteElement (const ID faces[], const ID neighbours[], const uTind type, const ID father, const int8_t ref, const int8_t material)

Constructor & Destructor Documentation

DmpFileExporter::DmpFileExporter (  ) 
DmpFileExporter::DmpFileExporter ( const std::string &  file_name  ) 
DmpFileExporter::~DmpFileExporter (  )  [virtual]

Member Function Documentation

bool DmpFileExporter::doWrite ( const hHybridMesh mesh  )  [virtual]

Reimplemented from MeshWrite::MeshFileWriter.

Here is the call graph for this function:

void DmpFileExporter::Free (  )  [virtual]

Frees all resources allocated by class during mesh export.

Reimplemented from MeshWrite::MeshFileWriter.

bool DmpFileExporter::Init ( const std::string &  file_name  )  [virtual]

Reimplemented from MeshWrite::MeshFileWriter.

Here is the call graph for this function:

bool DmpFileExporter::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.

Reimplemented from MeshWrite::MeshFileWriter.

void DmpFileExporter::WriteEdge ( const ID  verts[],
const uTind  type 
)

/param coords array of vertex coordinates

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

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

Implements MeshWrite::IMeshWriter.

void DmpFileExporter::WriteElement ( const ID  faces[],
const ID  neighbours[],
const uTind  type,
const ID  father,
const int8_t  ref,
const int8_t  material 
)

/param vertices array of indexes of vertices making this element /param neighbours array of indexes of neighbour elements

void DmpFileExporter::WriteElementCount ( const int  noElems  )  [virtual]

/param noElems Number of all elements in mesh.

Implements MeshWrite::IMeshWriter.

void DmpFileExporter::WriteFace ( const ID  edges[],
const uTind  type,
const int8_t  bc,
const ID  neigh[] 
)

/param coords array of vertex coordinates

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

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

Implements MeshWrite::IMeshWriter.

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

/param coords array of vertex coordinates

Implements MeshWrite::IMeshWriter.

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

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

Implements MeshWrite::IMeshWriter.


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