MeshLoader Class Reference
[Mesh loaders]

Abstract class for mesh loaders. More...

#include <meshloader.h>

Inherited by ExodusIIReader, HDF5Reader, and Mesh3DReader.

List of all members.

Public Member Functions

virtual ~MeshLoader ()
virtual bool load (const char *file_name, Mesh *mesg)=0
 Loads the mesh from a file. Aborts the program on error.
virtual bool save (const char *file_name, Mesh *mesh)=0
 Saves the mesh, including all refinements, to a file. Caution: never overwrite hand-created meshes with this function -- all comments in the original file will be lost.

Detailed Description

Abstract class for mesh loaders.


Constructor & Destructor Documentation

virtual MeshLoader::~MeshLoader (  )  [inline, virtual]

Member Function Documentation

virtual bool MeshLoader::load ( const char *  file_name,
Mesh mesg 
) [pure virtual]

Loads the mesh from a file. Aborts the program on error.

Parameters:
filename [in] The name of the file.
mesh [out] The mesh.

Implemented in ExodusIIReader, HDF5Reader, and Mesh3DReader.

virtual bool MeshLoader::save ( const char *  file_name,
Mesh mesh 
) [pure virtual]

Saves the mesh, including all refinements, to a file. Caution: never overwrite hand-created meshes with this function -- all comments in the original file will be lost.

Parameters:
filename [in] The name of the file.
mesh [out] The mesh.

Implemented in ExodusIIReader, HDF5Reader, and Mesh3DReader.


The documentation for this class was generated from the following file:
Generated on Fri Sep 3 09:22:20 2010 for Hermes3D Library: Real Version by  doxygen 1.6.3