Version: 6.3.1
Public Member Functions | Private Member Functions | Private Attributes

MEDMEM.GMESHClient Class Reference

#include <GMESHClient.hxx>

Inheritance diagram for MEDMEM.GMESHClient:
Inheritance graph

Public Member Functions

 GMESHClient (const SALOME_MED::GMESH_ptr m)
virtual bool operator== (const GMESH &other) const
void blankCopy ()
void fillCopy ()
virtual void write (int index=0) const
virtual void write (const GENDRIVER &genDriver, MED_EN::med_mode_acces medMode=MED_EN::WRONLY) const
virtual void write (driverTypes driverType, const std::string &filename, const std::string &meshname="", MED_EN::med_mode_acces medMode=MED_EN::WRONLY) const
virtual void printMySelf (ostream &os) const
 fillCopy() and then print myself to a stream
virtual bool isEmpty () const
virtual bool deepCompare (const GMESH &) const
virtual int getMeshDimension () const
virtual bool getIsAGrid () const
virtual std::string getCoordinatesSystem () const
virtual const std::string * getCoordinatesNames () const
virtual const std::string * getCoordinatesUnits () const
virtual int getNumberOfNodes () const
virtual int getNumberOfTypes (MED_EN::medEntityMesh) const
virtual int getNumberOfElements (MED_EN::medEntityMesh, MED_EN::medGeometryElement) const
virtual const
MED_EN::medGeometryElement
getTypes (MED_EN::medEntityMesh) const
virtual MED_EN::medGeometryElement getElementType (MED_EN::medEntityMesh, int) const
virtual const MESHconvertInMESH () const
virtual SUPPORTgetBoundaryElements (MED_EN::medEntityMesh) const throw (MEDEXCEPTION)
virtual SUPPORTgetSkin (const SUPPORT *) throw (MEDEXCEPTION)
virtual SUPPORTbuildSupportOnNodeFromElementList (const std::list< int > &, MED_EN::medEntityMesh) const throw (MEDEXCEPTION)
virtual void fillSupportOnNodeFromElementList (const std::list< int > &, SUPPORT *) const throw (MEDEXCEPTION)
virtual FIELD< double > * getVolume (const SUPPORT *, bool) const throw (MEDEXCEPTION)
virtual FIELD< double > * getArea (const SUPPORT *) const throw (MEDEXCEPTION)
virtual FIELD< double > * getLength (const SUPPORT *) const throw (MEDEXCEPTION)
virtual FIELD< double > * getNormal (const SUPPORT *) const throw (MEDEXCEPTION)
virtual FIELD< double > * getBarycenter (const SUPPORT *) const throw (MEDEXCEPTION)
virtual std::vector
< std::vector< double > > 
getBoundingBox () const

Private Member Functions

virtual ~GMESHClient ()

Private Attributes

const SALOME_MED::GMESH_var IOR_Mesh
bool _complete
MESHClient_uMesh

Constructor & Destructor Documentation

GMESHClient::GMESHClient ( const SALOME_MED::GMESH_ptr  m)

Constructeur

References ASSERT, and MEDMEM.GMESHClient.blankCopy().

GMESHClient::~GMESHClient ( ) [private, virtual]

Member Function Documentation

bool GMESHClient::operator== ( const GMESH other) const [virtual]

Test equality between 2 GMESHClients.

Reimplemented from MEDMEM.GMESH.

References MEDMEM.GMESHClient.IOR_Mesh.

void GMESHClient::blankCopy ( )
void GMESHClient::fillCopy ( )
void GMESHClient::write ( int  index = 0) const [virtual]

Write all the content of the GMESH using driver referenced by the integer handler index

Reimplemented from MEDMEM.GMESH.

References MEDMEM.GMESH._drivers, MEDMEM.GMESHClient._uMesh, MEDMEM.GMESHClient.fillCopy(), medClient_test.index, LOCALIZED, MED_EXCEPTION, and MEDMEM.MESHClient.write().

void GMESHClient::write ( const GENDRIVER genDriver,
MED_EN::med_mode_acces  medMode = MED_EN::WRONLY 
) const [virtual]

Write all the content of the GMESH using genDriver

Reimplemented from MEDMEM.GMESH.

References MEDMEM.GMESHClient._uMesh, MEDMEM.GMESHClient.fillCopy(), and MEDMEM.MESHClient.write().

void GMESHClient::write ( driverTypes  driverType,
const std::string &  filename,
const std::string &  meshname = "",
MED_EN::med_mode_acces  medMode = MED_EN::WRONLY 
) const [virtual]

Write all the content of the GMESH

Reimplemented from MEDMEM.GMESH.

References MEDMEM.GMESHClient._uMesh, MEDMEM.GMESHClient.fillCopy(), and MEDMEM.MESHClient.write().

void GMESHClient::printMySelf ( ostream &  os) const [virtual]
bool GMESHClient::isEmpty ( ) const [virtual]
bool GMESHClient::deepCompare ( const GMESH other) const [virtual]
int GMESHClient::getMeshDimension ( ) const [virtual]

Implements MEDMEM.GMESH.

References MEDMEM.GMESHClient.IOR_Mesh.

bool GMESHClient::getIsAGrid ( ) const [virtual]

Implements MEDMEM.GMESH.

References MEDMEM.GMESHClient.IOR_Mesh.

std::string GMESHClient::getCoordinatesSystem ( ) const [virtual]
const std::string * GMESHClient::getCoordinatesNames ( ) const [virtual]
const std::string * GMESHClient::getCoordinatesUnits ( ) const [virtual]
int GMESHClient::getNumberOfNodes ( ) const [virtual]

Implements MEDMEM.GMESH.

References MEDMEM.GMESHClient.IOR_Mesh.

int GMESHClient::getNumberOfTypes ( MED_EN::medEntityMesh  entity) const [virtual]

Implements MEDMEM.GMESH.

References MEDMEM.GMESHClient.IOR_Mesh.

int GMESHClient::getNumberOfElements ( MED_EN::medEntityMesh  entity,
MED_EN::medGeometryElement  type 
) const [virtual]

Implements MEDMEM.GMESH.

References MEDMEM.GMESHClient.IOR_Mesh.

const MED_EN::medGeometryElement * GMESHClient::getTypes ( MED_EN::medEntityMesh  entity) const [virtual]
MED_EN::medGeometryElement GMESHClient::getElementType ( MED_EN::medEntityMesh  entity,
int  i 
) const [virtual]

Implements MEDMEM.GMESH.

References MEDMEM.GMESHClient.IOR_Mesh.

const MESH * GMESHClient::convertInMESH ( ) const [virtual]
SUPPORT * GMESHClient::getBoundaryElements ( MED_EN::medEntityMesh  entity) const throw (MEDEXCEPTION) [virtual]

Implements MEDMEM.GMESH.

References med_opsupp_test.entity, and TestMedCorba7.s.

SUPPORT * GMESHClient::getSkin ( const SUPPORT sup) throw (MEDEXCEPTION) [virtual]

Implements MEDMEM.GMESH.

SUPPORT * GMESHClient::buildSupportOnNodeFromElementList ( const std::list< int > &  elems,
MED_EN::medEntityMesh  entity 
) const throw (MEDEXCEPTION) [virtual]

Implements MEDMEM.GMESH.

References med_opsupp_test.entity.

void GMESHClient::fillSupportOnNodeFromElementList ( const std::list< int > &  elems,
SUPPORT sup 
) const throw (MEDEXCEPTION) [virtual]

Implements MEDMEM.GMESH.

FIELD< double > * GMESHClient::getVolume ( const SUPPORT sup,
bool  isAbs 
) const throw (MEDEXCEPTION) [virtual]
FIELD< double > * GMESHClient::getArea ( const SUPPORT sup) const throw (MEDEXCEPTION) [virtual]
FIELD< double > * GMESHClient::getLength ( const SUPPORT sup) const throw (MEDEXCEPTION) [virtual]
FIELD< double > * GMESHClient::getNormal ( const SUPPORT sup) const throw (MEDEXCEPTION) [virtual]
FIELD< double > * GMESHClient::getBarycenter ( const SUPPORT sup) const throw (MEDEXCEPTION) [virtual]
std::vector< std::vector< double > > GMESHClient::getBoundingBox ( ) const [virtual]

Field Documentation

const SALOME_MED::GMESH_var MEDMEM.GMESHClient.IOR_Mesh [private]
bool MEDMEM.GMESHClient._complete [mutable, private]
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