MEDMEM.MESH_i Class Reference

#include <MEDMEM_Mesh_i.hxx>

Inheritance diagram for MEDMEM.MESH_i:

Inheritance graph

Public Member Functions

 MESH_i ()
 MESH_i (::MEDMEM::MESH *const m)
 MESH_i (MESH_i &m)
 ~MESH_i ()
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)
SALOME_MED::double_arraygetCoordinates (SALOME_MED::medModeSwitch typeSwitch) throw (SALOME::SALOME_Exception)
SALOME::SenderDouble_ptr getSenderForCoordinates (SALOME_MED::medModeSwitch typeSwitch) throw (SALOME::SALOME_Exception)
CORBA::Double getCoordinate (CORBA::Long Number, CORBA::Long Axis) 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_arraygetTypes (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::SenderInt_ptr getSenderForConnectivity (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)
SALOME::SenderInt_ptr getSenderForPolygonsConnectivity (SALOME_MED::medConnectivity mode, SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
SALOME::SenderInt_ptr getSenderForPolygonsConnectivityIndex (SALOME_MED::medConnectivity mode, SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
SALOME::SenderInt_ptr getSenderForPolyhedronConnectivity (SALOME_MED::medConnectivity mode) throw (SALOME::SALOME_Exception)
SALOME::SenderInt_ptr getSenderForPolyhedronIndex (SALOME_MED::medConnectivity mode) throw (SALOME::SALOME_Exception)
SALOME::SenderInt_ptr getSenderForPolyhedronFacesIndex () 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_arraygetFamilies (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_arraygetGroups (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, SALOMEDS::StudyBuilder::LockProtection)
void addInStudy (SALOMEDS::Study_ptr myStudy, SALOME_MED::MESH_ptr myIor, const std::string &fileName) throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)
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)
::MEDMEM::MESHconstructConstMesh () const
SALOME_MED::MESH::meshInfosgetMeshGlobal () throw (SALOME::SALOME_Exception)
SALOME_MED::MESH::coordinateInfosgetCoordGlobal () throw (SALOME::SALOME_Exception)
SALOME_MED::MESH::connectivityInfosgetConnectGlobal (SALOME_MED::medEntityMesh entity) throw (SALOME::SALOME_Exception)
CORBA::Boolean areEquals (SALOME_MED::MESH_ptr other)

Static Public Attributes

static std::map< int,::MEDMEM::MESH * > meshMap

Protected Attributes

::MEDMEM::MESH *const _mesh
const int _corbaIndex
std::string _meshId

Static Private Attributes

static int meshIndex = 0

Constructor & Destructor Documentation

MESH_i::MESH_i  ) 
 

Default constructor

MESH_i::MESH_i ::MEDMEM::MESH *const   m  ) 
 

Constructor

MESH_i::MESH_i MESH_i m  ) 
 

Copy Constructor

MESH_i::~MESH_i  ) 
 

Destructor


Member Function Documentation

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

CORBA: Accessor for Name

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

CORBA: Accessor for Space Dimension

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

CORBA: Accessor for Mesh Dimension

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

CORBA: boolean indicating if mesh is a Grid

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

CORBA: boolean indicating if connectivity exists

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

CORBA: Accessor for Coordinates System

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

CORBA: Accessor for Coordinates

SALOME::SenderDouble_ptr MESH_i::getSenderForCoordinates SALOME_MED::medModeSwitch  typeSwitch  )  throw (SALOME::SALOME_Exception)
 

CORBA: 2nd Accessor for Coordinates

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

CORBA: Accessor for a specific coordinate

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

CORBA: Accessor for Coordinates Names

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

CORBA: Accessor for Coordinates Units

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

CORBA: Accessor for Number of Nodes

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

CORBA: Accessor for number of Types

SALOME_MED::medGeometryElement_array * MESH_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 MESH_i::getElementType SALOME_MED::medEntityMesh  entity,
CORBA::Long  number
throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for existing geometry element types

CORBA::Long MESH_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

SALOME_MED::long_array * MESH_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::SenderInt_ptr MESH_i::getSenderForConnectivity SALOME_MED::medModeSwitch  typeSwitch,
SALOME_MED::medConnectivity  mode,
SALOME_MED::medEntityMesh  entity,
SALOME_MED::medGeometryElement  geomElement
throw (SALOME::SALOME_Exception)
 

CORBA: 2nd Accessor for connectivities

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

CORBA: Accessor for connectivities

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

CORBA: Accessor for connectivities

SALOME::SenderInt_ptr MESH_i::getSenderForPolygonsConnectivity SALOME_MED::medConnectivity  mode,
SALOME_MED::medEntityMesh  entity
throw (SALOME::SALOME_Exception)
 

SALOME::SenderInt_ptr MESH_i::getSenderForPolygonsConnectivityIndex SALOME_MED::medConnectivity  mode,
SALOME_MED::medEntityMesh  entity
throw (SALOME::SALOME_Exception)
 

SALOME::SenderInt_ptr MESH_i::getSenderForPolyhedronConnectivity SALOME_MED::medConnectivity  mode  )  throw (SALOME::SALOME_Exception)
 

SALOME::SenderInt_ptr MESH_i::getSenderForPolyhedronIndex SALOME_MED::medConnectivity  mode  )  throw (SALOME::SALOME_Exception)
 

SALOME::SenderInt_ptr MESH_i::getSenderForPolyhedronFacesIndex  )  throw (SALOME::SALOME_Exception)
 

CORBA::Long MESH_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: get global element number in connectivity array not implemented for MED_NODE and MED_ALL_ENTITIES, MED_NONE and MED_ALL_ELEMENTS.

SALOME_MED::long_array * MESH_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 * MESH_i::getReverseConnectivityIndex SALOME_MED::medConnectivity  mode  )  throw (SALOME::SALOME_Exception)
 

CORBA: Accessor for connectivities

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

CORBA: Returns number of families within the mesh

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

CORBA: Returns number of groups within the mesh

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

CORBA: Returns references for families within the mesh

SALOME_MED::FAMILY_ptr MESH_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 * MESH_i::getGroups SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

SALOME_MED::GROUP_ptr MESH_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 MESH_i::getBoundaryElements SALOME_MED::medEntityMesh  entity  )  throw (SALOME::SALOME_Exception)
 

CORBA:

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

CORBA:

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

CORBA:

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

CORBA:

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

CORBA:

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

CORBA:

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

CORBA:

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

CORBA:

void MESH_i::addInStudy SALOMEDS::Study_ptr  myStudy,
SALOME_MED::MESH_ptr  myIor
throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)
 

CORBA: add the Mesh in the StudyManager

void MEDMEM.MESH_i.addInStudy SALOMEDS::Study_ptr  myStudy,
SALOME_MED::MESH_ptr  myIor,
const std::string &  fileName
throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)
 

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

CORBA : attach driver

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

CORBA : release driver

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

CORBA: read mesh in a med file

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

CORBA: write mesh in a med file

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

CORBA: Accessor for corbaindex cuisine interne

MESH * MESH_i::constructConstMesh  )  const
 

Internal Method in order to have a const ptr

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

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

CORBA: Returns Coordinates global informations

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

CORBA: Returns connectivity global informations

CORBA::Boolean MESH_i::areEquals SALOME_MED::MESH_ptr  other  ) 
 

CORBA : Test if this and other aggregate the same MESH using the MESH.operator==


Field Documentation

map< int,::MESH * > MESH_i::meshMap [static]
 

int MESH_i::meshIndex = 0 [static, private]
 

::MEDMEM::MESH* const MEDMEM.MESH_i._mesh [protected]
 

const int MEDMEM.MESH_i._corbaIndex [protected]
 

std::string MEDMEM.MESH_i._meshId [protected]