Version: 6.3.1
Data Structures | Public Member Functions

SALOME_MED.MESH Interface Reference

import "MED.idl";

Inheritance diagram for SALOME_MED.MESH:
Inheritance graph

Data Structures

struct  connectivityInfos

Public Member Functions

boolean existConnectivity (in medConnectivity mode, in medEntityMesh entity) 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::ListOfLong getGlobalNumberingIndex (in medEntityMesh entity)
SALOME_TYPES::ListOfLong getConnectivity (in medConnectivity mode, in medEntityMesh entity, in medGeometryElement geomElement) raises (SALOME::SALOME_Exception)
SALOME::SenderInt getSenderForConnectivity (in medConnectivity mode, in medEntityMesh entity, in medGeometryElement geomElement) raises (SALOME::SALOME_Exception)
SALOME_TYPES::ListOfLong getConnectivityIndex (in medConnectivity mode, in medEntityMesh entity) raises (SALOME::SALOME_Exception)
SALOME::SenderInt getSenderForConnectivityIndex (in medConnectivity mode, in medEntityMesh entity, in medGeometryElement geomElement) raises (SALOME::SALOME_Exception)
long getElementNumber (in medConnectivity mode, in medEntityMesh entity, in medGeometryElement type, in SALOME_TYPES::ListOfLong connectivity) 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)

Member Function Documentation

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

Pour Alliances

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::ListOfLong SALOME_MED.MESH.getGlobalNumberingIndex ( in medEntityMesh  entity)

Returns the SUPPORT containing the boundary elements of the mesh.

const int * MEDMEM.CONNECTIVITY::getConnectivity ( 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).

Give descending or nodal connectivity.

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

References med_test1.Connectivity, MEDMEM.MEDSKYLINEARRAY.getI(), MEDMEM.MEDSKYLINEARRAY.getValue(), LOCALIZED, MED_EN.MED_ALL_ELEMENTS, and MED_EN.MED_NODAL.

SALOME::SenderInt SALOME_MED.MESH.getSenderForConnectivity ( 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_TYPES::ListOfLong SALOME_MED.MESH.getConnectivityIndex ( in medConnectivity  mode,
in medEntityMesh  entity 
) raises (SALOME::SALOME_Exception)

Give morse index array to use with getConnectivity(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]
SALOME::SenderInt SALOME_MED.MESH.getSenderForConnectivityIndex ( in medConnectivity  mode,
in medEntityMesh  entity,
in medGeometryElement  geomElement 
) raises (SALOME::SALOME_Exception)

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

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.

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)
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