Version: 5.1.6

MEDMEM.GIBI_MESH_WRONLY_DRIVER Class Reference

#include <MEDMEM_GibiMeshDriver.hxx>

Inheritance diagram for MEDMEM.GIBI_MESH_WRONLY_DRIVER:
Inheritance graph

Data Structures

struct  supportData
struct  typeData

Public Member Functions

 GIBI_MESH_WRONLY_DRIVER ()
 GIBI_MESH_WRONLY_DRIVER (const string &fileName, MESH *ptrMesh)
 GIBI_MESH_WRONLY_DRIVER (const GIBI_MESH_WRONLY_DRIVER &driver)
virtual ~GIBI_MESH_WRONLY_DRIVER ()
void write (void) const throw (MEDEXCEPTION)
void read (void) throw (MEDEXCEPTION)
void open ()
void close ()
bool addSupport (const SUPPORT *support)
int getSubMeshIdAndSize (const SUPPORT *support, list< pair< int, int > > &idsAndSizes) const
void writeSupportsAndMesh (list< nameGIBItoMED > &listGIBItoMED_mail)
void writeMEDNames (const list< nameGIBItoMED > &listGIBItoMED_mail, const list< nameGIBItoMED > &listGIBItoMED_cham, const list< nameGIBItoMED > &listGIBItoMED_comp)
void writeLastRecord ()
void writeNames (map< string, int > &nameMap)
void writeElements (MED_EN::medGeometryElement geomType, list< typeData > &typeDataList, const int *nodalConnect, const int *nodalConnectIndex)
GENDRIVERcopy (void) const

Static Public Member Functions

static void addName (map< string, int > &nameMap, map< string, int > &namePrefixesMap, string &name, int index)

Data Fields

fstream _gibi
map< const SUPPORT *, supportData_supports

Detailed Description

Driver Med for MESH : Write only.

Implement write method.


Constructor & Destructor Documentation

GIBI_MESH_WRONLY_DRIVER::GIBI_MESH_WRONLY_DRIVER (  ) 

Constructor.

GIBI_MESH_WRONLY_DRIVER::GIBI_MESH_WRONLY_DRIVER ( const string &  fileName,
MESH ptrMesh 
)

Constructor.

References MESSAGE_MED.

GIBI_MESH_WRONLY_DRIVER::GIBI_MESH_WRONLY_DRIVER ( const GIBI_MESH_WRONLY_DRIVER driver  ) 

Copy constructor.

GIBI_MESH_WRONLY_DRIVER::~GIBI_MESH_WRONLY_DRIVER (  )  [virtual]

Destructor.


Member Function Documentation

void GIBI_MESH_WRONLY_DRIVER::write ( void   )  const throw (MEDEXCEPTION) [virtual]
void GIBI_MESH_WRONLY_DRIVER::read ( void   )  throw (MEDEXCEPTION) [virtual]

Return a MEDEXCEPTION : it is the write-only driver.

Implements MEDMEM.GIBI_MESH_DRIVER.

Reimplemented in MEDMEM.GIBI_MESH_RDWR_DRIVER.

void GIBI_MESH_WRONLY_DRIVER::open ( void   )  [virtual]
void GIBI_MESH_WRONLY_DRIVER::close ( void   )  [virtual]
bool GIBI_MESH_WRONLY_DRIVER::addSupport ( const SUPPORT support  ) 
int GIBI_MESH_WRONLY_DRIVER::getSubMeshIdAndSize ( const SUPPORT support,
list< pair< int, int > > &  idsAndSizes 
) const
void GIBI_MESH_WRONLY_DRIVER::writeSupportsAndMesh ( list< nameGIBItoMED > &  listGIBItoMED_mail  ) 

Write MESH and _supports.

References MEDMEM.GIBI_MESH_WRONLY_DRIVER.supportData._cleanName, MEDMEM.GENDRIVER._fileName, MEDMEM.GIBI_MESH_WRONLY_DRIVER.supportData._id, MEDMEM.GIBI_MESH_DRIVER._ptrMesh, MEDMEM.GENDRIVER._status, MEDMEM.GIBI_MESH_WRONLY_DRIVER._supports, MEDMEM.GIBI_MESH_WRONLY_DRIVER.supportData._types, MEDMEM.GIBI_MESH_WRONLY_DRIVER.addName(), MEDMEM.GIBI_MESH_WRONLY_DRIVER.addSupport(), MEDMEM.GIBI_MESH_WRONLY_DRIVER.supportData.addTypeData(), BEGIN_OF_MED, coords, END_OF_MED, med_opsupp_test.entity, MEDMEM.MESH.existConnectivity(), MEDMEM.MESH.getConnectivity(), MEDMEM.MESH.getConnectivityIndex(), MEDMEM.MESH.getConnectivityptr(), MEDMEM.MESH.getCoordinates(), MEDMEM.CONNECTIVITY.getEntity(), MEDMEM.MESH.getGlobalNumberingIndex(), MEDMEM.MESH.getGroup(), MEDMEM.GIBI_MESH_WRONLY_DRIVER.supportData.getNumberObjects(), MEDMEM.MESH.getNumberOfElements(), MEDMEM.MESH.getNumberOfGroups(), MEDMEM.MESH.getNumberOfNodes(), MEDMEM.GIBI_MESH_WRONLY_DRIVER.supportData.getNumberOfTypes(), MEDMEM.MESH.getNumberOfTypes(), MEDMEM.MESH.getSpaceDimension(), MEDMEM.MESH.getTypes(), MEDMEM.nameGIBItoMED.gibi_id, MEDMEM.nameGIBItoMED.gibi_pile, TFieldCounter.init(), MEDMEM.SUPPORT.isOnAllElements(), LOCALIZED, MED_EN.MED_ALL_ELEMENTS, MED_EN.MED_ALL_ENTITIES, MED_EN.MED_CELL, MED_EN.MED_FULL_INTERLACE, MED_EN.MED_HEXA20, MEDMEM.nameGIBItoMED.med_name, MED_EN.MED_NODAL, MED_EN.MED_NODE, MED_EN.MED_OPENED, MESSAGE_MED, batchmode_medcorba_test.nbNodes, PILE_SOUS_MAILLAGE, TFieldCounter.stop(), medClient_test.support, medClient_test.types, MEDMEM.GIBI_MESH_WRONLY_DRIVER.writeElements(), and MEDMEM.GIBI_MESH_WRONLY_DRIVER.writeNames().

void GIBI_MESH_WRONLY_DRIVER::writeMEDNames ( const list< nameGIBItoMED > &  listGIBItoMED_mail,
const list< nameGIBItoMED > &  listGIBItoMED_cham,
const list< nameGIBItoMED > &  listGIBItoMED_comp 
)

Store MED names of supports and fields. All MED names are written in STRINGS PILE, and the correspondence between GIBI and MED names is written as TABLE "noms_med"

References TFieldCounter.stop().

void GIBI_MESH_WRONLY_DRIVER::writeLastRecord (  ) 

Write the record closing file

void GIBI_MESH_WRONLY_DRIVER::addName ( map< string, int > &  nameMap,
map< string, int > &  namePrefixesMap,
string &  name,
int  index 
) [static]
void GIBI_MESH_WRONLY_DRIVER::writeNames ( map< string, int > &  nameMap  ) 
void MEDMEM.GIBI_MESH_WRONLY_DRIVER.writeElements ( MED_EN::medGeometryElement  geomType,
list< typeData > &  typeDataList,
const int nodalConnect,
const int nodalConnectIndex 
)
GENDRIVER * GIBI_MESH_WRONLY_DRIVER::copy ( void   )  const [virtual]

Field Documentation