Version: 6.3.1
Data Structures | Public Member Functions

SALOME_MED.GMESH Interface Reference

import "MED.idl";

Inheritance diagram for SALOME_MED.GMESH:
Inheritance graph

Data Structures

struct  coordinateInfos
struct  meshInfos

Public Member Functions

string getName () raises (SALOME::SALOME_Exception)
long getSpaceDimension () raises (SALOME::SALOME_Exception)
long getMeshDimension () raises (SALOME::SALOME_Exception)
boolean getIsAGrid () raises (SALOME::SALOME_Exception)
string getCoordinatesSystem () raises (SALOME::SALOME_Exception)
long getNumberOfNodes () raises (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfString getCoordinatesNames () raises (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfString getCoordinatesUnits () raises (SALOME::SALOME_Exception)
SUPPORT getBoundaryElements (in medEntityMesh Entity) raises (SALOME::SALOME_Exception)
SUPPORT getSupportOnAll (in medEntityMesh Entity) raises (SALOME::SALOME_Exception)
SUPPORT getSkin (in SUPPORT mySupport3D) raises (SALOME::SALOME_Exception)
coordinateInfos getCoordGlobal () raises (SALOME::SALOME_Exception)
long getNumberOfTypes (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
medGeometryElement_array getTypes (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
long getNumberOfElements (in medEntityMesh entity, in medGeometryElement geomElement) raises (SALOME::SALOME_Exception)
medGeometryElement getElementType (in medEntityMesh entity, in long number) raises (SALOME::SALOME_Exception)
long getNumberOfFamilies (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
long getNumberOfGroups (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
Family_array getFamilies (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
FAMILY getFamily (in medEntityMesh entity, in long familyNumber) raises (SALOME::SALOME_Exception)
Group_array getGroups (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
GROUP getGroup (in medEntityMesh entity, in long groupNumber) raises (SALOME::SALOME_Exception)
FIELD getVolume (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
FIELD getArea (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
FIELD getLength (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
FIELD getNormal (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
FIELD getBarycenter (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
void addInStudy (in SALOMEDS::Study myStudy, in GMESH myIor) raises (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)
long addDriver (in medDriverTypes driverType, in string fileName, in string meshName) raises (SALOME::SALOME_Exception)
void rmDriver (in long i) raises (SALOME::SALOME_Exception)
void read (in long i) raises (SALOME::SALOME_Exception)
void write (in long i, in string driverMeshName) raises (SALOME::SALOME_Exception)
long getCorbaIndex () raises (SALOME::SALOME_Exception)
meshInfos getMeshGlobal () raises (SALOME::SALOME_Exception)
boolean areEquals (in GMESH other)
MESH convertInMESH ()

Member Function Documentation

string SALOME_MED.GMESH.getName ( ) raises (SALOME::SALOME_Exception)

Returns the name of the mesh .

long SALOME_MED.GMESH.getSpaceDimension ( ) raises (SALOME::SALOME_Exception)

Returns space dimension.

long SALOME_MED.GMESH.getMeshDimension ( ) raises (SALOME::SALOME_Exception)

Returns mesh dimension.

Example :

  • we have only MED_TETRA4 in MED_CELL : MeshDimension = 3D
  • we have only MED_QUAD4 in MED_CELL : MeshDimension = 2D
  • we have both MED_SEG2 and MED_TRIA3 in MED_CELL : MeshDimension = 2D
boolean SALOME_MED.GMESH.getIsAGrid ( ) raises (SALOME::SALOME_Exception)

Pour Alliances

string SALOME_MED.GMESH.getCoordinatesSystem ( ) raises (SALOME::SALOME_Exception)

Returns coordinate system :

  • "CARTESIAN"
  • "CYLINDRICAL"
  • "SPHERICAL"
long SALOME_MED.GMESH.getNumberOfNodes ( ) raises (SALOME::SALOME_Exception)

Returns the number of nodes defined in the mesh.

SALOME_TYPES::ListOfString SALOME_MED.GMESH.getCoordinatesNames ( ) raises (SALOME::SALOME_Exception)

Returns an array containing the names of coordinates.

Example :

  • x,y,z
  • r,teta,phi
  • ...

It could be empty.

SALOME_TYPES::ListOfString SALOME_MED.GMESH.getCoordinatesUnits ( ) raises (SALOME::SALOME_Exception)

Returns an array containing the units of coordinates (cm, m, mm, ...)

It could be empty. By defult IS is used (meter).

SUPPORT SALOME_MED.GMESH.getBoundaryElements ( in medEntityMesh  Entity) raises (SALOME::SALOME_Exception)

Returns the SUPPORT containing the boundary elements of the mesh.

SUPPORT SALOME_MED.GMESH.getSupportOnAll ( in medEntityMesh  Entity) raises (SALOME::SALOME_Exception)

Returns the SUPPORT defined on all the element of an Entity.

SUPPORT SALOME_MED.GMESH.getSkin ( in SUPPORT  mySupport3D) raises (SALOME::SALOME_Exception)

Returns the SUPPORT containing the boundary elements of the support mySupport3D.

coordinateInfos SALOME_MED.GMESH.getCoordGlobal ( ) raises (SALOME::SALOME_Exception)
long SALOME_MED.GMESH.getNumberOfTypes ( in medEntityMesh  entity) raises (SALOME::SALOME_Exception)

Returns the number of defferent medGeometryElement types existing in the specified entity.

Note:
Not implemented for MED_ALL_ENTITIES.
medGeometryElement_array SALOME_MED.GMESH.getTypes ( in medEntityMesh  entity) raises (SALOME::SALOME_Exception)

Returns an array of all medGeometryElement types existing in the mesh.

Note:
Not implemented for MED_ALL_ENTITIES.
long SALOME_MED.GMESH.getNumberOfElements ( in medEntityMesh  entity,
in medGeometryElement  geomElement 
) raises (SALOME::SALOME_Exception)

Returns the number of elements of type medGeometryElement.

Note :

  • Implemented for MED_ALL_ELEMENTS
  • Not implemented for MED_ALL_ENTITIES
medGeometryElement SALOME_MED.GMESH.getElementType ( in medEntityMesh  entity,
in long  number 
) raises (SALOME::SALOME_Exception)
long SALOME_MED.GMESH.getNumberOfFamilies ( in medEntityMesh  entity) raises (SALOME::SALOME_Exception)

Returns the number of all families.

long SALOME_MED.GMESH.getNumberOfGroups ( in medEntityMesh  entity) raises (SALOME::SALOME_Exception)

Returns the number of all groups.

Family_array SALOME_MED.GMESH.getFamilies ( in medEntityMesh  entity) raises (SALOME::SALOME_Exception)

Returns an array of all families.

FAMILY SALOME_MED.GMESH.getFamily ( in medEntityMesh  entity,
in long  familyNumber 
) raises (SALOME::SALOME_Exception)

Returns the reference to i-th family.

Note:
i is bounded by 1 and NumberOfFamilies.
Group_array SALOME_MED.GMESH.getGroups ( in medEntityMesh  entity) raises (SALOME::SALOME_Exception)

Returns an array of all groups.

GROUP SALOME_MED.GMESH.getGroup ( in medEntityMesh  entity,
in long  groupNumber 
) raises (SALOME::SALOME_Exception)

Returns the reference to i-th group.

Note:
i is bounded by 1 and NumberOfGroups.
FIELD SALOME_MED.GMESH.getVolume ( in SUPPORT  mySupport) raises (SALOME::SALOME_Exception)

Returns a field on mySupport containing volume.

Note:
mySupport must be on MED_CELL entity and MeshDimension must be 3D.
FIELD SALOME_MED.GMESH.getArea ( in SUPPORT  mySupport) raises (SALOME::SALOME_Exception)

Returns a field on mySupport containing area.

Note:
mySupport must be on MED_FACE entity.
FIELD SALOME_MED.GMESH.getLength ( in SUPPORT  mySupport) raises (SALOME::SALOME_Exception)

Returns a field on mySupport containing length.

Note:
mySupport must be on MED_EDGE entity.
FIELD SALOME_MED.GMESH.getNormal ( in SUPPORT  mySupport) raises (SALOME::SALOME_Exception)

Returns a field on mySupport containing normal.

Note:
mySupport must be on MED_FACE entity if MeshDimension and SpaceDimension=3D and on MED_EDGE if MeshDimension and SpaceDimension=2D.
FIELD SALOME_MED.GMESH.getBarycenter ( in SUPPORT  mySupport) raises (SALOME::SALOME_Exception)

Returns a field on mySupport containing barycenter.

void SALOME_MED.GMESH.addInStudy ( in SALOMEDS::Study  myStudy,
in GMESH  myIor 
) raises (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)

Adds the Mesh in the StudyManager.

long SALOME_MED.GMESH.addDriver ( in medDriverTypes  driverType,
in string  fileName,
in string  meshName 
) raises (SALOME::SALOME_Exception)
void SALOME_MED.GMESH.rmDriver ( in long  i) raises (SALOME::SALOME_Exception)
void SALOME_MED.GMESH.read ( in long  i) raises (SALOME::SALOME_Exception)
void SALOME_MED.GMESH.write ( in long  i,
in string  driverMeshName 
) raises (SALOME::SALOME_Exception)
long SALOME_MED.GMESH.getCorbaIndex ( ) raises (SALOME::SALOME_Exception)

Internal Corba method.

meshInfos SALOME_MED.GMESH.getMeshGlobal ( ) raises (SALOME::SALOME_Exception)
boolean SALOME_MED.GMESH.areEquals ( in GMESH  other)
MESH SALOME_MED.GMESH.convertInMESH ( )
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