MeshWrite::BinaryFileWriter Class Reference

#include <BinaryFileWriter.h>

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

List of all members.

Public Member Functions

 BinaryFileWriter ()
 BinaryFileWriter (const std::string &fileName)
 ~BinaryFileWriter ()
bool Init ()
bool Init (const std::string &fileName)
void Free ()
bool doWrite (const hHybridMesh *)
void WriteVerticesCount (const int noVerts)
void WriteVertex (const double coords[], const uTind type)
virtual 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)

Friends

template<typename T >
BinaryFileWriteroperator<< (BinaryFileWriter &w, const T &obj)
template<typename T >
BinaryFileWriteroperator<< (BinaryFileWriter &w, const T *obj)

Constructor & Destructor Documentation

MeshWrite::BinaryFileWriter::BinaryFileWriter (  ) 
MeshWrite::BinaryFileWriter::BinaryFileWriter ( const std::string &  fileName  ) 
MeshWrite::BinaryFileWriter::~BinaryFileWriter (  ) 

Here is the call graph for this function:


Member Function Documentation

bool MeshWrite::BinaryFileWriter::doWrite ( const hHybridMesh m  )  [virtual]
void MeshWrite::BinaryFileWriter::Free (  )  [virtual]

Frees all resources allocated by class during mesh export.

Implements MeshWrite::IMeshWriter.

Here is the caller graph for this function:

bool MeshWrite::BinaryFileWriter::Init ( const std::string &  fileName  )  [virtual]
bool MeshWrite::BinaryFileWriter::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 MeshWrite::BinaryFileWriter::WriteEdge ( const uTind  verts[],
const uTind  type 
) [virtual]

/param coords array of vertex coordinates

Implements MeshWrite::IMeshWriter.

void MeshWrite::BinaryFileWriter::WriteEdgesCount ( const int  noEdges  )  [virtual]

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

Implements MeshWrite::IMeshWriter.

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

/param noElems Number of all elements in mesh.

Implements MeshWrite::IMeshWriter.

void MeshWrite::BinaryFileWriter::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 MeshWrite::BinaryFileWriter::WriteFacesCount ( const int  noFaces  )  [virtual]

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

Implements MeshWrite::IMeshWriter.

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

/param coords array of vertex coordinates

Implements MeshWrite::IMeshWriter.

void MeshWrite::BinaryFileWriter::WriteVerticesCount ( const int  noVerts  )  [virtual]

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

Implements MeshWrite::IMeshWriter.


Friends And Related Function Documentation

template<typename T >
BinaryFileWriter& operator<< ( BinaryFileWriter w,
const T obj 
) [friend]
template<typename T >
BinaryFileWriter& operator<< ( BinaryFileWriter w,
const T obj 
) [friend]

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