MESH Constructors

Functions

 MEDMEM::MESH::MESH (MESH &m)
 MEDMEM::MESH::MESH (driverTypes driverType, const string &fileName="", const string &meshName="") throw (MEDEXCEPTION)

Detailed Description

The MESH class provides only two constructors : a copy constructor and a constructor enabling creation from file reading. The creation of a user-defined mesh implies the use of the MESHING class.


Function Documentation

MESH::MESH ( MESH m  )  [inherited]
MESH::MESH ( driverTypes  driverType,
const string &  fileName = "",
const string &  driverName = "" 
) throw (MEDEXCEPTION) [inherited]

Creates a MESH object using a MESH driver of type driverTypes (MED_DRIVER, GIBI_DRIVER, ...) associated with file fileName. As several meshes can coexist in the same file (notably in MED files) , the constructor takes a third argument that specifies the name of the mesh. The constructor will throw an exception if the file does not exist, has no reading permissions or if the mesh does not exist in the file.

Generated on Tue Jul 27 21:55:03 2010 for Med Memory Users' Guide by  doxygen 1.6.3