MeshWrite::MileninExporter Class Reference

#include <MileninExporter.h>

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

List of all members.

Public Member Functions

 MileninExporter ()
 MileninExporter (const std::string &file_name)
virtual ~MileninExporter ()
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

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

Member Function Documentation

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

Reimplemented from MeshWrite::MeshFileWriter.

Here is the call graph for this function:

void MileninExporter::Free (  )  [virtual]

Frees all resources allocated by class during mesh export.

Reimplemented from MeshWrite::MeshFileWriter.

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

Reimplemented from MeshWrite::MeshFileWriter.

Here is the call graph for this function:

bool MileninExporter::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 MileninExporter::WriteEdge ( const ID  verts[],
const uTind  type 
)

/param coords array of vertex coordinates

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

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

Implements MeshWrite::IMeshWriter.

void MileninExporter::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 MileninExporter::WriteElementCount ( const int  noElems  )  [virtual]

/param noElems Number of all elements in mesh.

Implements MeshWrite::IMeshWriter.

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

/param coords array of vertex coordinates

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

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

Implements MeshWrite::IMeshWriter.

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

/param coords array of vertex coordinates

Implements MeshWrite::IMeshWriter.

void MileninExporter::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