SMESH_MEDMesh_i Class Reference

#include <SMESH_MEDMesh_i.hxx>

Inheritance diagram for SMESH_MEDMesh_i:

Inheritance graph

Public Member Functions

 SMESH_MEDMesh_i ()
 SMESH_MEDMesh_i (SMESH_Mesh_i *m)
 ~SMESH_MEDMesh_i ()
void setProtocol (SALOME::TypeOfCommunication typ)
void release ()
SALOME::SenderDouble_ptr getSenderForCoordinates (SALOME_MED::medModeSwitch)
SALOME::SenderInt_ptr getSenderForConnectivity (SALOME_MED::medModeSwitch, SALOME_MED::medConnectivity, SALOME_MED::medEntityMesh, SALOME_MED::medGeometryElement)
SALOME::SenderInt_ptr getSenderForPolygonsConnectivity (SALOME_MED::medConnectivity, SALOME_MED::medEntityMesh)
SALOME::SenderInt_ptr getSenderForPolygonsConnectivityIndex (SALOME_MED::medConnectivity, SALOME_MED::medEntityMesh)
SALOME::SenderInt_ptr getSenderForPolyhedronConnectivity (SALOME_MED::medConnectivity)
SALOME::SenderInt_ptr getSenderForPolyhedronIndex (SALOME_MED::medConnectivity)
SALOME::SenderInt_ptr getSenderForPolyhedronFacesIndex ()
char * getName () throw (SALOME::SALOME_Exception)
CORBA::Long getSpaceDimension () throw (SALOME::SALOME_Exception)
CORBA::Long getMeshDimension () throw (SALOME::SALOME_Exception)
CORBA::Boolean getIsAGrid () throw (SALOME::SALOME_Exception)
CORBA::Boolean existConnectivity (SALOME_MED::medConnectivity connectivityType, SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
char * getCoordinatesSystem () throw (SALOME::SALOME_Exception)
CORBA::Double getCoordinate (CORBA::Long Number, CORBA::Long Axis) throw (SALOME::SALOME_Exception)
SALOME_MED::double_arraygetCoordinates (SALOME_MED::medModeSwitch typeSwitch) throw (SALOME::SALOME_Exception)
SALOME_MED::string_arraygetCoordinatesNames () throw (SALOME::SALOME_Exception)
SALOME_MED::string_arraygetCoordinatesUnits () throw (SALOME::SALOME_Exception)
CORBA::Long getNumberOfNodes () throw (SALOME::SALOME_Exception)
CORBA::Long getNumberOfTypes (SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
SALOME_MED::medGeometryElement_array * getTypes (SALOME_MED::medEntityMesh entity) throw (SALOME:: SALOME_Exception)
SALOME_MED::medGeometryElement getElementType (SALOME_MED::medEntityMesh entity, CORBA::Long number) throw (SALOME::SALOME_Exception)
CORBA::Long getNumberOfElements (SALOME_MED::medEntityMesh entity, SALOME_MED::medGeometryElement geomElement) throw (SALOME::SALOME_Exception)
SALOME_MED::long_arraygetConnectivity (SALOME_MED::medModeSwitch typeSwitch, SALOME_MED::medConnectivity mode, SALOME_MED::medEntityMesh entity, SALOME_MED::medGeometryElement geomElement) throw (SALOME::SALOME_Exception)
SALOME_MED::long_arraygetConnectivityIndex (SALOME_MED::medConnectivity mode, SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
SALOME_MED::long_arraygetGlobalNumberingIndex (SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
CORBA::Long getElementNumber (SALOME_MED::medConnectivity mode, SALOME_MED::medEntityMesh entity, SALOME_MED::medGeometryElement type, const SALOME_MED::long_array &connectivity) throw (SALOME::SALOME_Exception)
SALOME_MED::long_arraygetReverseConnectivity (SALOME_MED::medConnectivity mode) throw (SALOME::SALOME_Exception)
SALOME_MED::long_arraygetReverseConnectivityIndex (SALOME_MED::medConnectivity mode) throw (SALOME::SALOME_Exception)
CORBA::Long getNumberOfFamilies (SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
CORBA::Long getNumberOfGroups (SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
SALOME_MED::Family_array * getFamilies (SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
SALOME_MED::FAMILY_ptr getFamily (SALOME_MED::medEntityMesh entity, CORBA::Long i) throw (SALOME::SALOME_Exception)
SALOME_MED::Group_array * getGroups (SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
SALOME_MED::GROUP_ptr getGroup (SALOME_MED::medEntityMesh entity, CORBA::Long i) throw (SALOME::SALOME_Exception)
SALOME_MED::SUPPORT_ptr getBoundaryElements (SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
SALOME_MED::SUPPORT_ptr getSkin (SALOME_MED::SUPPORT_ptr mySupport3D) throw (SALOME::SALOME_Exception)
SALOME_MED::FIELD_ptr getVolume (SALOME_MED::SUPPORT_ptr mySupport) throw (SALOME::SALOME_Exception)
SALOME_MED::FIELD_ptr getArea (SALOME_MED::SUPPORT_ptr mySupport) throw (SALOME::SALOME_Exception)
SALOME_MED::FIELD_ptr getLength (SALOME_MED::SUPPORT_ptr mySupport) throw (SALOME::SALOME_Exception)
SALOME_MED::FIELD_ptr getNormal (SALOME_MED::SUPPORT_ptr mySupport) throw (SALOME::SALOME_Exception)
SALOME_MED::FIELD_ptr getBarycenter (SALOME_MED::SUPPORT_ptr mySupport) throw (SALOME::SALOME_Exception)
SALOME_MED::FIELD_ptr getNeighbourhood (SALOME_MED::SUPPORT_ptr mySupport) throw (SALOME::SALOME_Exception)
void addInStudy (SALOMEDS::Study_ptr myStudy, SALOME_MED::MESH_ptr myIor) throw (SALOME::SALOME_Exception)
CORBA::Long addDriver (SALOME_MED::medDriverTypes driverType, const char *fileName, const char *meshName) throw (SALOME::SALOME_Exception)
void rmDriver (CORBA::Long i) throw (SALOME::SALOME_Exception)
void read (CORBA::Long i) throw (SALOME::SALOME_Exception)
void write (CORBA::Long i, const char *driverMeshName) throw (SALOME::SALOME_Exception)
CORBA::Long getCorbaIndex () throw (SALOME::SALOME_Exception)
SALOME_MED::MESH::meshInfos * getMeshGlobal () throw (SALOME::SALOME_Exception)
bool areEquals (SALOME_MED::MESH_ptr other)
SALOME_MED::MESH::coordinateInfos * getCoordGlobal () throw (SALOME::SALOME_Exception)
SALOME_MED::MESH::connectivityInfos * getConnectGlobal (SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
void calculeNbElts () throw (SALOME::SALOME_Exception)
void createFamilies () throw (SALOME::SALOME_Exception)

Protected Attributes

::SMESH_Mesh_i_mesh_i
SMESHDS_Mesh_meshDS
string _meshId
bool _compte
bool _creeFamily
int _indexElts
int _indexEnts
int _famIdent
map< SALOME_MED::medGeometryElement,
int
_mapIndToSeqElts
SALOME_MED::long_array_var _seq_elemId [MED_NBR_GEOMETRIE_MAILLE]
map< SALOME_MED::medEntityMesh,
int
_mapNbTypes
map< SALOME_MED::medEntityMesh,
int
_mapIndToVectTypes
vector< SALOME_MED::medGeometryElement > _TypesId [MED_NBR_GEOMETRIE_MAILLE]
vector< SALOME_MED::FAMILY_ptr > _families

Constructor & Destructor Documentation

SMESH_MEDMesh_i::SMESH_MEDMesh_i  ) 
 

Default constructor

SMESH_MEDMesh_i.SMESH_MEDMesh_i SMESH_Mesh_i m  ) 
 

SMESH_MEDMesh_i::~SMESH_MEDMesh_i  ) 
 

Destructor


Member Function Documentation

void SMESH_MEDMesh_i.setProtocol SALOME::TypeOfCommunication  typ  ) 
 

void SMESH_MEDMesh_i.release  ) 
 

SALOME::SenderDouble_ptr SMESH_MEDMesh_i.getSenderForCoordinates SALOME_MED::medModeSwitch   ) 
 

SALOME::SenderInt_ptr SMESH_MEDMesh_i.getSenderForConnectivity SALOME_MED::medModeSwitch  ,
SALOME_MED::medConnectivity  ,
SALOME_MED::medEntityMesh  ,
SALOME_MED::medGeometryElement 
 

SALOME::SenderInt_ptr SMESH_MEDMesh_i.getSenderForPolygonsConnectivity SALOME_MED::medConnectivity  ,
SALOME_MED::medEntityMesh 
 

SALOME::SenderInt_ptr SMESH_MEDMesh_i.getSenderForPolygonsConnectivityIndex SALOME_MED::medConnectivity  ,
SALOME_MED::medEntityMesh 
 

SALOME::SenderInt_ptr SMESH_MEDMesh_i.getSenderForPolyhedronConnectivity SALOME_MED::medConnectivity   ) 
 

SALOME::SenderInt_ptr SMESH_MEDMesh_i.getSenderForPolyhedronIndex SALOME_MED::medConnectivity   ) 
 

SALOME::SenderInt_ptr SMESH_MEDMesh_i.getSenderForPolyhedronFacesIndex  ) 
 

char * SMESH_MEDMesh_i::getName  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Name

CORBA::Long SMESH_MEDMesh_i::getSpaceDimension  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Space Dimension

CORBA::Long SMESH_MEDMesh_i::getMeshDimension  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Mesh Dimension

CORBA::Boolean SMESH_MEDMesh_i::getIsAGrid  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for the boolean _isAGrid

CORBA::Boolean SMESH_MEDMesh_i::existConnectivity SALOME_MED::medConnectivity  connectivityType,
SALOME_MED::medEntityMesh  entity
throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for the connectivities, to see if they exist

char * SMESH_MEDMesh_i::getCoordinatesSystem  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Coordinates System

CORBA::Double SMESH_MEDMesh_i::getCoordinate CORBA::Long  Number,
CORBA::Long  Axis
throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Coordinate

SALOME_MED::double_array * SMESH_MEDMesh_i::getCoordinates SALOME_MED::medModeSwitch  typeSwitch  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Coordinates

SALOME_MED::string_array * SMESH_MEDMesh_i::getCoordinatesNames  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Coordinates Names

SALOME_MED::string_array * SMESH_MEDMesh_i::getCoordinatesUnits  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Coordinates Units

CORBA::Long SMESH_MEDMesh_i::getNumberOfNodes  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Number of Nodes

CORBA::Long SMESH_MEDMesh_i::getNumberOfTypes SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for number of Types

SALOME_MED::medGeometryElement_array * SMESH_MEDMesh_i::getTypes SALOME_MED::medEntityMesh  entity  )  throw (SALOME:: SALOME_Exception)
 

CORBA: Accessor for existing geometry element types Not implemented for MED_ALL_ENTITIES

SALOME_MED::medGeometryElement SMESH_MEDMesh_i::getElementType SALOME_MED::medEntityMesh  entity,
CORBA::Long  number
throw (SALOME::SALOME_Exception)
 

Gives the type of the element number of entity entity

CORBA::Long SMESH_MEDMesh_i::getNumberOfElements SALOME_MED::medEntityMesh  entity,
SALOME_MED::medGeometryElement  geomElement
throw (SALOME::SALOME_Exception)
 

CORBA: Returns number of elements of type medGeometryElement Not implemented for MED_ALL_ELEMENTS implemented for MED_ALL_ENTITIES

Dans cette implementation, il n est pas prevu de tenir compte du entity qui ne doit pas pouvoir avoir deux valeurs differentes pour un geomElement

SALOME_MED::long_array * SMESH_MEDMesh_i::getConnectivity SALOME_MED::medModeSwitch  typeSwitch,
SALOME_MED::medConnectivity  mode,
SALOME_MED::medEntityMesh  entity,
SALOME_MED::medGeometryElement  geomElement
throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for connectivities

SALOME_MED::long_array * SMESH_MEDMesh_i::getConnectivityIndex SALOME_MED::medConnectivity  mode,
SALOME_MED::medEntityMesh  entity
throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for connectivities

SALOME_MED::long_array * SMESH_MEDMesh_i::getGlobalNumberingIndex SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

CORBA: Returns references for the global numbering index

CORBA::Long SMESH_MEDMesh_i::getElementNumber SALOME_MED::medConnectivity  mode,
SALOME_MED::medEntityMesh  entity,
SALOME_MED::medGeometryElement  type,
const SALOME_MED::long_array connectivity
throw (SALOME::SALOME_Exception)
 

CORBA: Find an element corresponding to the given connectivity

SALOME_MED::long_array * SMESH_MEDMesh_i::getReverseConnectivity SALOME_MED::medConnectivity  mode  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for Ascendant connectivities not implemented for MED_ALL_ENTITIES and MED_MAILLE

SALOME_MED::long_array * SMESH_MEDMesh_i::getReverseConnectivityIndex SALOME_MED::medConnectivity  mode  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for connectivities

CORBA::Long SMESH_MEDMesh_i::getNumberOfFamilies SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

CORBA: Returns number of families within the mesh

CORBA::Long SMESH_MEDMesh_i::getNumberOfGroups SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

CORBA: Returns number of groups within the mesh

SALOME_MED::Family_array * SMESH_MEDMesh_i::getFamilies SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

CORBA: Returns references for families within the mesh

SALOME_MED::FAMILY_ptr SMESH_MEDMesh_i::getFamily SALOME_MED::medEntityMesh  entity,
CORBA::Long  i
throw (SALOME::SALOME_Exception)
 

CORBA: Returns references for family i within the mesh

SALOME_MED::Group_array * SMESH_MEDMesh_i::getGroups SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

CORBA: Returns references for groups within the mesh

SALOME_MED::GROUP_ptr SMESH_MEDMesh_i::getGroup SALOME_MED::medEntityMesh  entity,
CORBA::Long  i
throw (SALOME::SALOME_Exception)
 

CORBA: Returns references for group i within the mesh

SALOME_MED::SUPPORT_ptr SMESH_MEDMesh_i::getBoundaryElements SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

CORBA: Returns references for the support of boundary elements of type entity

SALOME_MED::SUPPORT_ptr SMESH_MEDMesh_i::getSkin SALOME_MED::SUPPORT_ptr  mySupport3D  )  throw (SALOME::SALOME_Exception)
 

CORBA: Returns references for the support of the skin of the support mySupport3D

SALOME_MED::FIELD_ptr SMESH_MEDMesh_i::getVolume SALOME_MED::SUPPORT_ptr  mySupport  )  throw (SALOME::SALOME_Exception)
 

CORBA:

SALOME_MED::FIELD_ptr SMESH_MEDMesh_i::getArea SALOME_MED::SUPPORT_ptr  mySupport  )  throw (SALOME::SALOME_Exception)
 

CORBA:

SALOME_MED::FIELD_ptr SMESH_MEDMesh_i::getLength SALOME_MED::SUPPORT_ptr  mySupport  )  throw (SALOME::SALOME_Exception)
 

CORBA:

SALOME_MED::FIELD_ptr SMESH_MEDMesh_i::getNormal SALOME_MED::SUPPORT_ptr  mySupport  )  throw (SALOME::SALOME_Exception)
 

CORBA:

SALOME_MED::FIELD_ptr SMESH_MEDMesh_i::getBarycenter SALOME_MED::SUPPORT_ptr  mySupport  )  throw (SALOME::SALOME_Exception)
 

CORBA:

SALOME_MED::FIELD_ptr SMESH_MEDMesh_i::getNeighbourhood SALOME_MED::SUPPORT_ptr  mySupport  )  throw (SALOME::SALOME_Exception)
 

CORBA:

void SMESH_MEDMesh_i::addInStudy SALOMEDS::Study_ptr  myStudy,
SALOME_MED::MESH_ptr  myIor
throw (SALOME::SALOME_Exception)
 

CORBA: add the Mesh in the StudyManager PN Pas Implemente

CORBA::Long SMESH_MEDMesh_i::addDriver SALOME_MED::medDriverTypes  driverType,
const char *  fileName,
const char *  meshName
throw (SALOME::SALOME_Exception)
 

CORBA : attach driver

void SMESH_MEDMesh_i::rmDriver CORBA::Long  i  )  throw (SALOME::SALOME_Exception)
 

CORBA : release driver

void SMESH_MEDMesh_i::read CORBA::Long  i  )  throw (SALOME::SALOME_Exception)
 

CORBA: read mesh in a med file

void SMESH_MEDMesh_i::write CORBA::Long  i,
const char *  driverMeshName
throw (SALOME::SALOME_Exception)
 

CORBA: write mesh in a med file

CORBA::Long SMESH_MEDMesh_i::getCorbaIndex  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for corbaindex cuisine interne

SALOME_MED::MESH::meshInfos * SMESH_MEDMesh_i::getMeshGlobal  )  throw (SALOME::SALOME_Exception)
 

Gives informations of the considered mesh.

bool SMESH_MEDMesh_i.areEquals SALOME_MED::MESH_ptr  other  ) 
 

SALOME_MED::MESH::coordinateInfos * SMESH_MEDMesh_i::getCoordGlobal  )  throw (SALOME::SALOME_Exception)
 

Gives informations on coordinates of the considered mesh.

SALOME_MED::MESH::connectivityInfos * SMESH_MEDMesh_i::getConnectGlobal SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

Gives informations on connectivities of the considered mesh for the entity entity.

void SMESH_MEDMesh_i::calculeNbElts  )  throw (SALOME::SALOME_Exception)
 

Calcule le Nb d'elements par entite geometrique

void SMESH_MEDMesh_i::createFamilies  )  throw (SALOME::SALOME_Exception)
 

Creation des familles


Field Documentation

::SMESH_Mesh_i* SMESH_MEDMesh_i._mesh_i [protected]
 

SMESHDS_Mesh* SMESH_MEDMesh_i._meshDS [protected]
 

string SMESH_MEDMesh_i._meshId [protected]
 

bool SMESH_MEDMesh_i._compte [protected]
 

bool SMESH_MEDMesh_i._creeFamily [protected]
 

int SMESH_MEDMesh_i._indexElts [protected]
 

int SMESH_MEDMesh_i._indexEnts [protected]
 

int SMESH_MEDMesh_i._famIdent [protected]
 

map< SALOME_MED::medGeometryElement, int > SMESH_MEDMesh_i._mapIndToSeqElts [protected]
 

SALOME_MED::long_array_var SMESH_MEDMesh_i._seq_elemId[MED_NBR_GEOMETRIE_MAILLE] [protected]
 

map< SALOME_MED::medEntityMesh, int > SMESH_MEDMesh_i._mapNbTypes [protected]
 

map< SALOME_MED::medEntityMesh, int > SMESH_MEDMesh_i._mapIndToVectTypes [protected]
 

vector< SALOME_MED::medGeometryElement > SMESH_MEDMesh_i._TypesId[MED_NBR_GEOMETRIE_MAILLE] [protected]
 

vector< SALOME_MED::FAMILY_ptr > SMESH_MEDMesh_i._families [protected]