#include <MEDMEM_GMesh_i.hxx>

Public Member Functions | |
| GMESH_i () | |
| GMESH_i (::MEDMEM::GMESH *const m) | |
| GMESH_i (GMESH_i &m) | |
| ~GMESH_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) |
| char * | getCoordinatesSystem () throw (SALOME::SALOME_Exception) |
| SALOME_TYPES::ListOfString * | getCoordinatesNames () throw (SALOME::SALOME_Exception) |
| SALOME_TYPES::ListOfString * | getCoordinatesUnits () 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) |
| 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 | getSupportOnAll (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) |
| SALOME_MED::MESH_ptr | convertInMESH () throw (SALOME::SALOME_Exception) |
| Converts this GMESH into MESH. | |
| void | addInStudy (SALOMEDS::Study_ptr myStudy, SALOME_MED::GMESH_ptr myIor) throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection) |
| void | addInStudy (SALOMEDS::Study_ptr myStudy, SALOME_MED::GMESH_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::GMESH * | constructConstMesh () const |
| SALOME_MED::GMESH::meshInfos * | getMeshGlobal () throw (SALOME::SALOME_Exception) |
| SALOME_MED::GMESH::coordinateInfos * | getCoordGlobal () throw (SALOME::SALOME_Exception) |
| CORBA::Boolean | areEquals (SALOME_MED::GMESH_ptr other) |
Static Public Attributes | |
| static std::map< int,::MEDMEM::GMESH * > | meshMap |
Protected Attributes | |
| ::MEDMEM::GMESH *const | _mesh |
| const int | _corbaIndex |
| std::string | _meshId |
Static Private Attributes | |
| static int | meshIndex = 0 |
| GMESH_i::GMESH_i | ( | ) |
Default constructor
References MEDMEM.GMESH_i._corbaIndex, MEDMEM.GMESH_i._mesh, and MEDMEM.GMESH_i.meshMap.
| GMESH_i::GMESH_i | ( | ::MEDMEM::GMESH *const | m | ) |
Constructor
References MEDMEM.GMESH_i._corbaIndex, MEDMEM.GMESH_i._mesh, MEDMEM.RCBASE.addReference(), and MEDMEM.GMESH_i.meshMap.
| GMESH_i::GMESH_i | ( | GMESH_i & | m | ) |
Copy Constructor
References MEDMEM.GMESH_i._corbaIndex, MEDMEM.GMESH_i._mesh, MEDMEM.RCBASE.addReference(), and MEDMEM.GMESH_i.meshMap.
| GMESH_i::~GMESH_i | ( | ) |
Destructor
References MEDMEM.GMESH_i._mesh, and MEDMEM.RCBASE.removeReference().
| char * GMESH_i::getName | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for Name
References MEDMEM.GMESH_i._mesh, MEDMEM.GMESH.getName(), MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Long GMESH_i::getSpaceDimension | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for Space Dimension
References MEDMEM.GMESH_i._mesh, MEDMEM.GMESH.getSpaceDimension(), MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Long GMESH_i::getMeshDimension | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for Mesh Dimension
References MEDMEM.GMESH_i._mesh, MEDMEM.GMESH.getMeshDimension(), MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Boolean GMESH_i::getIsAGrid | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: boolean indicating if mesh is a Grid
References MEDMEM.GMESH_i._mesh, MEDMEM.GMESH.getIsAGrid(), MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| char * GMESH_i::getCoordinatesSystem | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for Coordinates System
References MEDMEM.GMESH_i._mesh, MEDMEM.GMESH.getCoordinatesSystem(), MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_TYPES::ListOfString * GMESH_i::getCoordinatesNames | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for Coordinates Names
References MEDMEM.GMESH_i._mesh, MEDMEM.GMESH.getCoordinatesNames(), MEDMEM.GMESH.getSpaceDimension(), MESSAGE, medClient_test.spaceDimension, and MEDMEM.MEDEXCEPTION.what().
| SALOME_TYPES::ListOfString * GMESH_i::getCoordinatesUnits | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for Coordinates Units
References MEDMEM.GMESH_i._mesh, MEDMEM.GMESH.getCoordinatesUnits(), MEDMEM.GMESH.getSpaceDimension(), MESSAGE, medClient_test.spaceDimension, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Long GMESH_i::getNumberOfNodes | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for Number of Nodes
References MEDMEM.GMESH_i._mesh, MEDMEM.GMESH.getNumberOfNodes(), MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Long GMESH_i::getNumberOfTypes | ( | SALOME_MED::medEntityMesh | entity | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for number of Types
References convertIdlEntToMedEnt(), med_opsupp_test.entity, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::medGeometryElement_array * GMESH_i::getTypes | ( | SALOME_MED::medEntityMesh | entity | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for existing geometry element types Not implemented for MED_ALL_ENTITIES
References convertIdlEntToMedEnt(), convertMedEltToIdlElt(), med_opsupp_test.entity, SALOME_MED.MED_ALL_ENTITIES, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::medGeometryElement GMESH_i::getElementType | ( | SALOME_MED::medEntityMesh | entity, |
| CORBA::Long | number | ||
| ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for existing geometry element types
References convertIdlEntToMedEnt(), med_opsupp_test.entity, MESSAGE, batchmode_medcorba_test.number, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Long GMESH_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
References convertIdlEltToMedElt(), convertIdlEntToMedEnt(), med_opsupp_test.entity, MESSAGE, verifieParam(), and MEDMEM.MEDEXCEPTION.what().
| CORBA::Long GMESH_i::getNumberOfFamilies | ( | SALOME_MED::medEntityMesh | entity | ) | throw (SALOME::SALOME_Exception) |
CORBA: Returns number of families within the mesh
References convertIdlEntToMedEnt(), med_opsupp_test.entity, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Long GMESH_i::getNumberOfGroups | ( | SALOME_MED::medEntityMesh | entity | ) | throw (SALOME::SALOME_Exception) |
CORBA: Returns number of groups within the mesh
References convertIdlEntToMedEnt(), med_opsupp_test.entity, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::Family_array * GMESH_i::getFamilies | ( | SALOME_MED::medEntityMesh | entity | ) | throw (SALOME::SALOME_Exception) |
CORBA: Returns references for families within the mesh
References convertIdlEntToMedEnt(), med_opsupp_test.entity, testDriverAscii.f1, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::FAMILY_ptr GMESH_i::getFamily | ( | SALOME_MED::medEntityMesh | entity, |
| CORBA::Long | i | ||
| ) | throw (SALOME::SALOME_Exception) |
CORBA: Returns references for family i within the mesh
References convertIdlEntToMedEnt(), med_opsupp_test.entity, testDriverAscii.f1, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::Group_array * GMESH_i::getGroups | ( | SALOME_MED::medEntityMesh | entity | ) | throw (SALOME::SALOME_Exception) |
References convertIdlEntToMedEnt(), med_opsupp_test.entity, testDriverAscii.f1, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::GROUP_ptr GMESH_i::getGroup | ( | SALOME_MED::medEntityMesh | entity, |
| CORBA::Long | i | ||
| ) | throw (SALOME::SALOME_Exception) |
CORBA: Returns references for group i within the mesh
References convertIdlEntToMedEnt(), med_opsupp_test.entity, testDriverAscii.f1, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::SUPPORT_ptr GMESH_i::getBoundaryElements | ( | SALOME_MED::medEntityMesh | entity | ) | throw (SALOME::SALOME_Exception) |
CORBA:
References convertIdlEntToMedEnt(), med_opsupp_test.entity, MEDMEM.SUPPORT.getBoundaryElements(), MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::SUPPORT_ptr GMESH_i::getSupportOnAll | ( | SALOME_MED::medEntityMesh | entity | ) | throw (SALOME::SALOME_Exception) |
CORBA:
References convertIdlEntToMedEnt(), med_opsupp_test.entity, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::SUPPORT_ptr GMESH_i::getSkin | ( | SALOME_MED::SUPPORT_ptr | mySupport3D | ) | throw (SALOME::SALOME_Exception) |
CORBA:
References ASSERT, med_test1.end, MESSAGE, MEDMEM.SUPPORT_i.supportMap, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::FIELD_ptr GMESH_i::getVolume | ( | SALOME_MED::SUPPORT_ptr | mySupport | ) | throw (SALOME::SALOME_Exception) |
CORBA:
References ASSERT, med_test1.end, MEDCouplingCorbaSwigTestClt.f, MESSAGE, MEDMEM.SUPPORT_i.supportMap, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::FIELD_ptr GMESH_i::getArea | ( | SALOME_MED::SUPPORT_ptr | mySupport | ) | throw (SALOME::SALOME_Exception) |
CORBA:
References ASSERT, med_test1.end, MEDCouplingCorbaSwigTestClt.f, MESSAGE, MEDMEM.SUPPORT_i.supportMap, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::FIELD_ptr GMESH_i::getLength | ( | SALOME_MED::SUPPORT_ptr | mySupport | ) | throw (SALOME::SALOME_Exception) |
CORBA:
References ASSERT, med_test1.end, MEDCouplingCorbaSwigTestClt.f, MESSAGE, MEDMEM.SUPPORT_i.supportMap, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::FIELD_ptr GMESH_i::getNormal | ( | SALOME_MED::SUPPORT_ptr | mySupport | ) | throw (SALOME::SALOME_Exception) |
CORBA:
References ASSERT, med_test1.end, MEDCouplingCorbaSwigTestClt.f, MESSAGE, MEDMEM.SUPPORT_i.supportMap, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::FIELD_ptr GMESH_i::getBarycenter | ( | SALOME_MED::SUPPORT_ptr | mySupport | ) | throw (SALOME::SALOME_Exception) |
CORBA:
References ASSERT, med_test1.end, MEDCouplingCorbaSwigTestClt.f, MESSAGE, MEDMEM.SUPPORT_i.supportMap, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::FIELD_ptr GMESH_i::getNeighbourhood | ( | SALOME_MED::SUPPORT_ptr | mySupport | ) | throw (SALOME::SALOME_Exception) |
CORBA:
References MESSAGE.
| SALOME_MED::MESH_ptr GMESH_i::convertInMESH | ( | ) | throw (SALOME::SALOME_Exception) |
Converts this GMESH into MESH.
References MEDMEM.GMESH_i._mesh, MEDMEM.GMESH.convertInMESH(), and MED_test2.mesh.
| void GMESH_i::addInStudy | ( | SALOMEDS::Study_ptr | myStudy, |
| SALOME_MED::GMESH_ptr | myIor | ||
| ) | throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection) |
CORBA: add the Mesh in the StudyManager
References ASSERT, init, MESSAGE, and TestMedCorba1.orb.
| void MEDMEM.GMESH_i.addInStudy | ( | SALOMEDS::Study_ptr | myStudy, |
| SALOME_MED::GMESH_ptr | myIor, | ||
| const std::string & | fileName | ||
| ) | throw (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection) |
| CORBA::Long GMESH_i::addDriver | ( | SALOME_MED::medDriverTypes | driverType, |
| const char * | fileName, | ||
| const char * | meshName | ||
| ) | throw (SALOME::SALOME_Exception) |
CORBA : attach driver
References convertIdlDriverToMedDriver(), Med_Gen_test.fileName, Med_Gen_test.meshName, MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| void GMESH_i::rmDriver | ( | CORBA::Long | i | ) | throw (SALOME::SALOME_Exception) |
CORBA : release driver
References MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| void GMESH_i::read | ( | CORBA::Long | i | ) | throw (SALOME::SALOME_Exception) |
CORBA: read mesh in a med file
References MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| void GMESH_i::write | ( | CORBA::Long | i, |
| const char * | driverMeshName | ||
| ) | throw (SALOME::SALOME_Exception) |
CORBA: write mesh in a med file
References MESSAGE, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Long GMESH_i::getCorbaIndex | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Accessor for corbaindex cuisine interne
References MEDMEM.GMESH_i._corbaIndex, and MEDMEM.GMESH_i._mesh.
| GMESH * GMESH_i::constructConstMesh | ( | ) | const |
Internal Method in order to have a const ptr
Reimplemented in MEDMEM.MESH_i.
| SALOME_MED::GMESH::meshInfos * GMESH_i::getMeshGlobal | ( | ) | throw (SALOME::SALOME_Exception) |
References MEDMEM.GMESH_i._mesh, testDriverAscii.f1, MEDMEM.GMESH.getFamilies(), MEDMEM.GMESH.getGroups(), MEDMEM.GMESH.getIsAGrid(), MEDMEM.GMESH.getMeshDimension(), MEDMEM.GMESH.getName(), MEDMEM.GMESH.getNumberOfFamilies(), MEDMEM.GMESH.getNumberOfGroups(), MEDMEM.GMESH.getNumberOfNodes(), MEDMEM.GMESH.getSpaceDimension(), MED_EN.MED_CELL, MED_EN.MED_EDGE, MED_EN.MED_FACE, MED_EN.MED_NODE, MESSAGE, SALOME_MED.GMESH.meshInfos.name, Med_Gen_test.nbFam, and MEDMEM.MEDEXCEPTION.what().
| SALOME_MED::GMESH::coordinateInfos * GMESH_i::getCoordGlobal | ( | ) | throw (SALOME::SALOME_Exception) |
CORBA: Returns Coordinates global informations
References MEDMEM.GMESH_i._mesh, SALOME_MED.GMESH.coordinateInfos.coordSystem, MEDMEM.GMESH.getCoordinatesNames(), MEDMEM.GMESH.getCoordinatesSystem(), MEDMEM.GMESH.getCoordinatesUnits(), MEDMEM.GMESH.getSpaceDimension(), MESSAGE, medClient_test.spaceDimension, and MEDMEM.MEDEXCEPTION.what().
| CORBA::Boolean GMESH_i::areEquals | ( | SALOME_MED::GMESH_ptr | other | ) |
CORBA : Test if this and other aggregate the same MESH using the MESH.operator==
References MEDMEM.GMESH_i._mesh.
map< int,::GMESH * > GMESH_i::meshMap [static] |
int GMESH_i::meshIndex = 0 [static, private] |
::MEDMEM::GMESH* const MEDMEM.GMESH_i._mesh [protected] |
const int MEDMEM.GMESH_i._corbaIndex [protected] |
std::string MEDMEM.GMESH_i._meshId [protected] |