Version: 5.1.6

SALOME_MED.MESH Interface Reference

import "MED.idl";

Inheritance diagram for SALOME_MED.MESH:
Inheritance graph

Data Structures

struct  connectivityInfos
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)
boolean existConnectivity (in medConnectivity mode, in medEntityMesh entity) raises (SALOME::SALOME_Exception)
string getCoordinatesSystem () raises (SALOME::SALOME_Exception)
long getNumberOfNodes () raises (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfDouble getCoordinates (in medModeSwitch typeSwitch) raises (SALOME::SALOME_Exception)
SALOME::SenderDouble getSenderForCoordinates (in medModeSwitch typeSwitch) raises (SALOME::SALOME_Exception)
double getCoordinate (in long Number, in long Axis) 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)
SALOME_TYPES::ListOfLong getGlobalNumberingIndex (in medEntityMesh entity)
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)
SALOME_TYPES::ListOfLong getConnectivity (in medModeSwitch typeSwitch, in medConnectivity mode, in medEntityMesh entity, in medGeometryElement geomElement) raises (SALOME::SALOME_Exception)
SALOME::SenderInt getSenderForConnectivity (in medModeSwitch typeSwitch, in medConnectivity mode, in medEntityMesh entity, in medGeometryElement geomElement) raises (SALOME::SALOME_Exception)
SALOME::SenderInt getSenderForPolygonsConnectivity (in medConnectivity mode, in medEntityMesh entity) raises (SALOME::SALOME_Exception)
SALOME::SenderInt getSenderForPolygonsConnectivityIndex (in medConnectivity mode, in medEntityMesh entity) raises (SALOME::SALOME_Exception)
SALOME::SenderInt getSenderForPolyhedronConnectivity (in medConnectivity mode) raises (SALOME::SALOME_Exception)
SALOME::SenderInt getSenderForPolyhedronIndex (in medConnectivity mode) raises (SALOME::SALOME_Exception)
SALOME::SenderInt getSenderForPolyhedronFacesIndex () raises (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfLong getConnectivityIndex (in medConnectivity mode, in medEntityMesh entity) raises (SALOME::SALOME_Exception)
long getElementNumber (in medConnectivity mode, in medEntityMesh entity, in medGeometryElement type, in SALOME_TYPES::ListOfLong connectivity) raises (SALOME::SALOME_Exception)
medGeometryElement getElementType (in medEntityMesh entity, in long number) raises (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfLong getReverseConnectivity (in medConnectivity mode) raises (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfLong getReverseConnectivityIndex (in medConnectivity mode) raises (SALOME::SALOME_Exception)
connectivityInfos getConnectGlobal (in medEntityMesh entity) 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 MESH 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 MESH other)

Member Function Documentation

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

Returns the name of the mesh .

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

Returns space dimension.

long SALOME_MED.MESH.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.MESH.getIsAGrid (  )  raises (SALOME::SALOME_Exception)

Pour Alliances

boolean SALOME_MED.MESH.existConnectivity ( in medConnectivity  mode,
in medEntityMesh  entity 
) raises (SALOME::SALOME_Exception)

Pour Alliances

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

Returns coordinate system :

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

Returns the number of nodes defined in the mesh.

SALOME_TYPES::ListOfDouble SALOME_MED.MESH.getCoordinates ( in medModeSwitch  typeSwitch  )  raises (SALOME::SALOME_Exception)

Returns an array of coordinates stored in any type

SALOME::SenderDouble SALOME_MED.MESH.getSenderForCoordinates ( in medModeSwitch  typeSwitch  )  raises (SALOME::SALOME_Exception)

Returns an array (Sender) of coordinates stored in any type.
It could be used in a Client code using the MED Client classes.

double SALOME_MED.MESH.getCoordinate ( in long  Number,
in long  Axis 
) raises (SALOME::SALOME_Exception)

Returns coordinate n° Number on axis n° Axis

SALOME_TYPES::ListOfString SALOME_MED.MESH.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.MESH.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.MESH.getBoundaryElements ( in medEntityMesh  Entity  )  raises (SALOME::SALOME_Exception)

Returns the SUPPORT containing the boundary elements of the mesh.

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

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

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

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

SALOME_TYPES::ListOfLong SALOME_MED.MESH.getGlobalNumberingIndex ( in medEntityMesh  entity  ) 
coordinateInfos SALOME_MED.MESH.getCoordGlobal (  )  raises (SALOME::SALOME_Exception)
long SALOME_MED.MESH.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.MESH.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.MESH.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
SALOME_TYPES::ListOfLong SALOME_MED.MESH.getConnectivity ( in medModeSwitch  typeSwitch,
in medConnectivity  mode,
in medEntityMesh  entity,
in medGeometryElement  geomElement 
) raises (SALOME::SALOME_Exception)

Give, in full or no interlace mode (for nodal connectivity), descending or nodal connectivity.

You must give a medEntityMesh (ie:MED_EDGE) and a medGeometryElement (ie:MED_SEG3).

SALOME::SenderInt SALOME_MED.MESH.getSenderForConnectivity ( in medModeSwitch  typeSwitch,
in medConnectivity  mode,
in medEntityMesh  entity,
in medGeometryElement  geomElement 
) raises (SALOME::SALOME_Exception)

Idem getConnectivity but return a Sender.
It could be used in a Client code using the MED Client classes.

SALOME::SenderInt SALOME_MED.MESH.getSenderForPolygonsConnectivity ( in medConnectivity  mode,
in medEntityMesh  entity 
) raises (SALOME::SALOME_Exception)

Idem getConnectivity but return a Sender.
It could be used in a Client code using the MED Client classes.

SALOME::SenderInt SALOME_MED.MESH.getSenderForPolygonsConnectivityIndex ( in medConnectivity  mode,
in medEntityMesh  entity 
) raises (SALOME::SALOME_Exception)

Idem getConnectivityIndex but return a Sender.
It could be used in a Client code using the MED Client classes.

SALOME::SenderInt SALOME_MED.MESH.getSenderForPolyhedronConnectivity ( in medConnectivity  mode  )  raises (SALOME::SALOME_Exception)

Idem getConnectivity but return a Sender.
It could be used in a Client code using the MED Client classes.

SALOME::SenderInt SALOME_MED.MESH.getSenderForPolyhedronIndex ( in medConnectivity  mode  )  raises (SALOME::SALOME_Exception)

Idem getConnectivityIndex but return a Sender.
It could be used in a Client code using the MED Client classes.

SALOME::SenderInt SALOME_MED.MESH.getSenderForPolyhedronFacesIndex (  )  raises (SALOME::SALOME_Exception)

Idem getConnectivityIndex but return a Sender.
It could be used in a Client code using the MED Client classes.

SALOME_TYPES::ListOfLong SALOME_MED.MESH.getConnectivityIndex ( in medConnectivity  mode,
in medEntityMesh  entity 
) raises (SALOME::SALOME_Exception)

Give morse index array to use with getConnectivity(MED_FULL_INTERLACE,mode,entity,MED_ALL_ELEMENTS).

Each value give start index for corresponding entity in connectivity array.

Example : i-th element, j-th node of it :

  • In C mode : Connectivity[ConnectivityIndex[i]-1+j-1]
  • In fortran mode : Connectivity[ConnectivityIndex[i]+j]
long SALOME_MED.MESH.getElementNumber ( in medConnectivity  mode,
in medEntityMesh  entity,
in medGeometryElement  type,
in SALOME_TYPES::ListOfLong  connectivity 
) raises (SALOME::SALOME_Exception)

Gets a global number of the element which have the same connectivity as the connectivity argument.

medGeometryElement SALOME_MED.MESH.getElementType ( in medEntityMesh  entity,
in long  number 
) raises (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfLong SALOME_MED.MESH.getReverseConnectivity ( in medConnectivity  mode  )  raises (SALOME::SALOME_Exception)

Returns a reverse connectivity to MED_CELL.

If mode=MED_NODAL, the array contains, for each node, all cells arround it.

If mode=MED_DESCENDING, the array contains, for each face (or edge), the 2 cells of each side. First is cell which face normal is outgoing.

SALOME_TYPES::ListOfLong SALOME_MED.MESH.getReverseConnectivityIndex ( in medConnectivity  mode  )  raises (SALOME::SALOME_Exception)

Give index array to use with getReverseConnectivity(MED_NODAL).

This method is not used with MED_DESCENDING mode, because we have allways two cells.

See getConnectivityIndex for details.

connectivityInfos SALOME_MED.MESH.getConnectGlobal ( in medEntityMesh  entity  )  raises (SALOME::SALOME_Exception)
long SALOME_MED.MESH.getNumberOfFamilies ( in medEntityMesh  entity  )  raises (SALOME::SALOME_Exception)

Returns the number of all families.

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

Returns the number of all groups.

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

Returns an array of all families.

FAMILY SALOME_MED.MESH.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.MESH.getGroups ( in medEntityMesh  entity  )  raises (SALOME::SALOME_Exception)

Returns an array of all groups.

GROUP SALOME_MED.MESH.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.MESH.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.MESH.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.MESH.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.MESH.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.MESH.getBarycenter ( in SUPPORT  mySupport  )  raises (SALOME::SALOME_Exception)

Returns a field on mySupport containing barycenter.

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

Adds the Mesh in the StudyManager.

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

Internal Corba method.

meshInfos SALOME_MED.MESH.getMeshGlobal (  )  raises (SALOME::SALOME_Exception)
boolean SALOME_MED.MESH.areEquals ( in MESH  other  )