AMVisualExporter Class Reference

#include <AMVisualExporter.h>

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

List of all members.

Public Member Functions

 AMVisualExporter (const std::string &file_name)
 ~AMVisualExporter (void)
bool Init ()
void Free ()
void WriteVerticesCount (const int noVert)
void WriteVertex (double coords[])
void WriteElementCount (const int noElems)
void WriteElement (int vertices[], int neighbours[])

Protected Attributes

std::string _file_name
std::fstream _file

Constructor & Destructor Documentation

AMVisualExporter::AMVisualExporter ( const std::string &  file_name  ) 
AMVisualExporter::~AMVisualExporter ( void   ) 

Here is the call graph for this function:


Member Function Documentation

void AMVisualExporter::Free (  )  [virtual]

Frees all resources allocated by class during mesh export.

Implements MeshWrite::IMeshWriter.

Here is the caller graph for this function:

bool AMVisualExporter::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 AMVisualExporter::WriteElement ( int  vertices[],
int  neighbours[] 
)

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

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

/param noElems Number of all elements in mesh.

Implements MeshWrite::IMeshWriter.

void AMVisualExporter::WriteVertex ( double  coords[]  ) 

/param coords array of vertex coordinates

void AMVisualExporter::WriteVerticesCount ( const int  noVert  )  [virtual]

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

Implements MeshWrite::IMeshWriter.


Member Data Documentation

std::fstream AMVisualExporter::_file [protected]
std::string AMVisualExporter::_file_name [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