Version: 6.3.1
Public Member Functions | Static Public Attributes | Protected Attributes

MEDMEM.MED_MESH_DRIVER Class Reference

#include <MEDMEM_MedMeshDriver.hxx>

Inheritance diagram for MEDMEM.MED_MESH_DRIVER:
Inheritance graph

Public Member Functions

 MED_MESH_DRIVER ()
 MED_MESH_DRIVER (const std::string &fileName, GMESH *ptrMesh, MED_EN::med_mode_acces accessMode)
 MED_MESH_DRIVER (const MED_MESH_DRIVER &driver)
virtual ~MED_MESH_DRIVER ()
virtual void open ()
virtual void close ()
virtual void write (void) const =0
virtual void read (void)=0
virtual void setMeshName (const std::string &meshName)
virtual std::string getMeshName () const
virtual GENDRIVERcopy (void) const =0

Static Public Attributes

static const
med_2_3::med_geometry_type 
all_cell_type [MED_N_CELL_GEO_FIXED_CON]
static const char *const all_cell_type_tab [MED_N_CELL_GEO_FIXED_CON]

Protected Attributes

GMESH_ptrMesh
std::string _meshName
med_2_3::med_idt _medIdt

Constructor & Destructor Documentation

MED_MESH_DRIVER::MED_MESH_DRIVER ( )

Constructor.

MED_MESH_DRIVER::MED_MESH_DRIVER ( const std::string &  fileName,
GMESH ptrMesh,
MED_EN::med_mode_acces  accessMode 
)

Constructor.

MED_MESH_DRIVER::MED_MESH_DRIVER ( const MED_MESH_DRIVER driver)

Copy constructor.

MED_MESH_DRIVER::~MED_MESH_DRIVER ( ) [virtual]

Destructor.

References MESSAGE_MED.


Member Function Documentation

void MED_MESH_DRIVER::open ( void  ) [virtual]
void MED_MESH_DRIVER::close ( void  ) [virtual]
virtual void MEDMEM.MED_MESH_DRIVER.write ( void  ) const [pure virtual]
virtual void MEDMEM.MED_MESH_DRIVER.read ( void  ) [pure virtual]
void MED_MESH_DRIVER::setMeshName ( const std::string &  meshName) [virtual]

Set the name of the MESH asked in file.

It could be different than the name of the MESH object.

Reimplemented from MEDMEM.GENDRIVER.

References MEDMEM.MED_MESH_DRIVER._meshName, and Med_Gen_test.meshName.

string MED_MESH_DRIVER::getMeshName ( ) const [virtual]

Get the name of the MESH asked in file.

Reimplemented from MEDMEM.GENDRIVER.

References MEDMEM.MED_MESH_DRIVER._meshName.

virtual GENDRIVER* MEDMEM.MED_MESH_DRIVER.copy ( void  ) const [pure virtual]

Field Documentation

std::string MEDMEM.MED_MESH_DRIVER._meshName [mutable, protected]
med_2_3::med_idt MEDMEM.MED_MESH_DRIVER._medIdt [protected]
const med_2_3::med_geometry_type MED_MESH_DRIVER::all_cell_type [static]
const char *const MED_MESH_DRIVER::all_cell_type_tab [static]
Initial value:
  { "MED_POINT1","MED_SEG2","MED_SEG3","MEDMEM_SEG4","MED_TRIA3","MED_QUAD4","MED_TRIA6","MEDMEM_TRIA7","MED_QUAD8","MEDMEM_QUAD9",
    "MED_TETRA4","MED_PYRA5","MED_PENTA6","MED_HEXA8","MED_TETRA10","MEDMEM_OCTA12","MED_PYRA13",
    "MED_PENTA15","MED_HEXA20","MEDMEM_HEXA27"}
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS