Version: 6.3.1
Public Member Functions | Private Member Functions

MEDMEM.MED_MESH_WRONLY_DRIVER Class Reference

#include <MEDMEM_MedMeshDriver.hxx>

Inheritance diagram for MEDMEM.MED_MESH_WRONLY_DRIVER:
Inheritance graph

Public Member Functions

 MED_MESH_WRONLY_DRIVER ()
 MED_MESH_WRONLY_DRIVER (const std::string &fileName, GMESH *ptrMesh, MED_EN::med_mode_acces access=MED_EN::WRONLY)
 MED_MESH_WRONLY_DRIVER (const MED_MESH_WRONLY_DRIVER &driver)
virtual ~MED_MESH_WRONLY_DRIVER ()
void read (void)
void write (void) const

Private Member Functions

int writeCoordinates () const
int writeConnectivities (MED_EN::medEntityMesh entity) const
void groupFamilyConverter (const std::vector< GROUP * > &groups, std::vector< FAMILY * > &families) const
int writeFamilyNumbers () const
int writeFamilies (std::vector< FAMILY * > &families) const
int writeGRID () const
GENDRIVERcopy (void) const

Detailed Description

Driver Med for MESH : Write only.

Implement write method.


Constructor & Destructor Documentation

MED_MESH_WRONLY_DRIVER::MED_MESH_WRONLY_DRIVER ( )

Constructor.

References MEDMEM.GENDRIVER._accessMode, and MED_EN.WRONLY.

MED_MESH_WRONLY_DRIVER::MED_MESH_WRONLY_DRIVER ( const std::string &  fileName,
GMESH ptrMesh,
MED_EN::med_mode_acces  access = MED_EN::WRONLY 
)

Constructor.

References MESSAGE_MED.

MED_MESH_WRONLY_DRIVER::MED_MESH_WRONLY_DRIVER ( const MED_MESH_WRONLY_DRIVER driver)

Copy constructor.

MED_MESH_WRONLY_DRIVER::~MED_MESH_WRONLY_DRIVER ( ) [virtual]

Destructor.


Member Function Documentation

void MED_MESH_WRONLY_DRIVER::read ( void  ) [virtual]

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

Implements MEDMEM.MED_MESH_DRIVER.

Reimplemented in MEDMEM.MED_MESH_RDWR_DRIVER.

void MED_MESH_WRONLY_DRIVER::write ( void  ) const [virtual]
int MED_MESH_WRONLY_DRIVER::writeCoordinates ( ) const [private]
int MED_MESH_WRONLY_DRIVER::writeConnectivities ( MED_EN::medEntityMesh  entity) const [private]
void MED_MESH_WRONLY_DRIVER::groupFamilyConverter ( const std::vector< GROUP * > &  groups,
std::vector< FAMILY * > &  families 
) const [private]

creates a vector of families from a vector of groups

Parameters:
myGroupsinput : vector of groups
myFamiliesoutput vector of families

Routine is meant to be called to reconstruct families from existing groups typically for writing meshes created by MEDMEM.MESHING containing overlapping groups

if the groups do not overlap, the vector of families will have the same size as the vector of groups otherwise, the size of the family vector will be larger

References MEDMEM.MED_MESH_DRIVER._ptrMesh, BEGIN_OF_MED, MEDMEM.GMESH.buildSupportOnElementsFromElementList(), END_OF_MED, med_opsupp_test.entity, MEDMEM.SUPPORT.fillFromNodeList(), MEDMEM.SUPPORT.getMesh(), MEDMEM.healName(), MED_EN.MAX_NB_GROUP, MED_EN.MED_ALL_ELEMENTS, MED_EN.MED_CELL, MED_EN.MED_EDGE, MED_EN.MED_FACE, MED_EN.MED_NODE, MED_test2.mesh, MEDMEM.RCBASE.removeReference(), MEDMEM.FAMILY.setGroupsNames(), MEDMEM.FAMILY.setIdentifier(), MEDMEM.SUPPORT.setMesh(), MEDMEM.SUPPORT.setName(), MEDMEM.FAMILY.setNumberOfGroups(), test_NonCoincidentDEC.size, and medClient_test.support.

int MED_MESH_WRONLY_DRIVER::writeFamilyNumbers ( ) const [private]
int MED_MESH_WRONLY_DRIVER::writeFamilies ( std::vector< FAMILY * > &  families) const [private]
int MED_MESH_WRONLY_DRIVER::writeGRID ( ) const [private]
GENDRIVER * MED_MESH_WRONLY_DRIVER::copy ( void  ) const [private, virtual]
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