Back to index

salome-med  6.5.0
Classes | Public Member Functions
SALOME_MED::GMESH Interface Reference

import "MED.idl";

Inheritance diagram for SALOME_MED::GMESH:
Inheritance graph
[legend]

List of all members.

Classes

struct  coordinateInfos
struct  meshInfos

Public Member Functions

string getName () raises (SALOME::SALOME_Exception)
 Returns the name of the mesh .
long getSpaceDimension () raises (SALOME::SALOME_Exception)
 Returns space dimension.
long getMeshDimension () raises (SALOME::SALOME_Exception)
 Returns mesh dimension.
boolean getIsAGrid () raises (SALOME::SALOME_Exception)
 Pour Alliances.
string getCoordinatesSystem () raises (SALOME::SALOME_Exception)
 Returns coordinate system :
long getNumberOfNodes () raises (SALOME::SALOME_Exception)
 Returns the number of nodes defined in the mesh.
SALOME_TYPES::ListOfString getCoordinatesNames () raises (SALOME::SALOME_Exception)
 Returns an array containing the names of coordinates.
SALOME_TYPES::ListOfString getCoordinatesUnits () raises (SALOME::SALOME_Exception)
 Returns an array containing the units of coordinates (cm, m, mm, ...)
SUPPORT getBoundaryElements (in medEntityMesh Entity) raises (SALOME::SALOME_Exception)
 Returns the SUPPORT containing the boundary elements of the mesh.
SUPPORT getSupportOnAll (in medEntityMesh Entity) raises (SALOME::SALOME_Exception)
 Returns the SUPPORT defined on all the element of an Entity.
SUPPORT getSkin (in SUPPORT mySupport3D) raises (SALOME::SALOME_Exception)
 Returns the SUPPORT containing the boundary elements of the support mySupport3D.
coordinateInfos getCoordGlobal () raises (SALOME::SALOME_Exception)
long getNumberOfTypes (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
 Returns the number of defferent medGeometryElement types existing in the specified entity.
medGeometryElement_array getTypes (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
 Returns an array of all medGeometryElement types existing in the mesh.
long getNumberOfElements (in medEntityMesh entity, in medGeometryElement geomElement) raises (SALOME::SALOME_Exception)
 Returns the number of elements of type medGeometryElement.
medGeometryElement getElementType (in medEntityMesh entity, in long number) raises (SALOME::SALOME_Exception)
long getNumberOfFamilies (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
 Returns the number of all families.
long getNumberOfGroups (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
 Returns the number of all groups.
Family_array getFamilies (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
 Returns an array of all families.
FAMILY getFamily (in medEntityMesh entity, in long familyNumber) raises (SALOME::SALOME_Exception)
 Returns the reference to i-th family.
Group_array getGroups (in medEntityMesh entity) raises (SALOME::SALOME_Exception)
 Returns an array of all groups.
GROUP getGroup (in medEntityMesh entity, in long groupNumber) raises (SALOME::SALOME_Exception)
 Returns the reference to i-th group.
FIELD getVolume (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
 Returns a field on mySupport containing volume.
FIELD getArea (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
 Returns a field on mySupport containing area.
FIELD getLength (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
 Returns a field on mySupport containing length.
FIELD getNormal (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
 Returns a field on mySupport containing normal.
FIELD getBarycenter (in SUPPORT mySupport) raises (SALOME::SALOME_Exception)
 Returns a field on mySupport containing barycenter.
void addInStudy (in SALOMEDS::Study myStudy, in GMESH myIor) raises (SALOME::SALOME_Exception, SALOMEDS::StudyBuilder::LockProtection)
 Adds the Mesh in the StudyManager.
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)
 Internal Corba method.
meshInfos getMeshGlobal () raises (SALOME::SALOME_Exception)
boolean areEquals (in GMESH other)
MESH convertInMESH ()

Detailed Description

Definition at line 147 of file MED.idl.


Class Documentation

struct SALOME_MED::GMESH::coordinateInfos

Definition at line 233 of file MED.idl.

Collaboration diagram for SALOME_MED::GMESH::coordinateInfos:
Class Members
ListOfString coordNames
string coordSystem
ListOfString coordUnits
struct SALOME_MED::GMESH::meshInfos

Definition at line 403 of file MED.idl.

Collaboration diagram for SALOME_MED::GMESH::meshInfos:
Class Members
Family_array famCell
Family_array famEdge
Family_array famFace
Family_array famNode
Group_array groupCell
Group_array groupEdge
Group_array groupFace
Group_array groupNode
boolean isAGrid
long meshDimension
string name
long numberOfNodes
long spaceDimension

Member Function Documentation

long SALOME_MED::GMESH::addDriver ( in medDriverTypes  driverType,
in string  fileName,
in string  meshName 
) raises (SALOME::SALOME_Exception)
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.

boolean SALOME_MED::GMESH::areEquals ( in GMESH  other)
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::getBarycenter ( in SUPPORT  mySupport) raises (SALOME::SALOME_Exception)

Returns a field on mySupport containing barycenter.

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

Returns the SUPPORT containing the boundary elements of the mesh.

coordinateInfos SALOME_MED::GMESH::getCoordGlobal ( ) raises (SALOME::SALOME_Exception)
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.

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

Returns coordinate system :

  • "CARTESIAN"
  • "CYLINDRICAL"
  • "SPHERICAL"
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).

long SALOME_MED::GMESH::getCorbaIndex ( ) raises (SALOME::SALOME_Exception)

Internal Corba method.

medGeometryElement SALOME_MED::GMESH::getElementType ( in medEntityMesh  entity,
in long  number 
) raises (SALOME::SALOME_Exception)

Here is the caller graph for this function:

const vector< MEDMEM::FAMILY * > GMESH::getFamilies ( in medEntityMesh  entity) raises (SALOME::SALOME_Exception)

Returns an array of all families.

Returns the families of type entity present in the mesh as a vector of pointers.

Definition at line 675 of file MEDMEM_GMesh.cxx.

{
  switch (entity) {
  case MED_EN::MED_NODE : return _familyNode;
  case MED_EN::MED_CELL : return _familyCell;
  case MED_EN::MED_FACE : return _familyFace;
  case MED_EN::MED_EDGE : return _familyEdge;
  default :
    throw MEDEXCEPTION("MESH::getFamilies : Unknown entity");
  }
}
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 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.
const vector< GROUP * > GMESH::getGroups ( in medEntityMesh  entity) raises (SALOME::SALOME_Exception)

Returns an array of all groups.

Returns the groups of type entity present in the mesh as a vector of pointers.

The GROUP class inheriting from the SUPPORT class, the methods that can be used on these groups are explained in the related section.

Definition at line 735 of file MEDMEM_GMesh.cxx.

{
  switch (entity) {
  case MED_EN::MED_NODE : return _groupNode;
  case MED_EN::MED_CELL : return _groupCell;
  case MED_EN::MED_FACE : return _groupFace;
  case MED_EN::MED_EDGE : return _groupEdge;
  default :
    throw MEDEXCEPTION("MESH::getGroups : Unknown entity");
  }
}
boolean SALOME_MED::GMESH::getIsAGrid ( ) raises (SALOME::SALOME_Exception)

Pour Alliances.

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.
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
meshInfos SALOME_MED::GMESH::getMeshGlobal ( ) raises (SALOME::SALOME_Exception)
string SALOME_MED::GMESH::getName ( ) raises (SALOME::SALOME_Exception)

Returns the name of the mesh .

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

Here is the caller graph for this function:

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.

long SALOME_MED::GMESH::getNumberOfNodes ( ) raises (SALOME::SALOME_Exception)

Returns the number of nodes defined in the mesh.

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.

Here is the caller graph for this function:

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

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

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

Returns space dimension.

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

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

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.

Here is the caller graph for this function:

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.
void SALOME_MED::GMESH::read ( in long  i) raises (SALOME::SALOME_Exception)
void SALOME_MED::GMESH::rmDriver ( in long  i) raises (SALOME::SALOME_Exception)
void SALOME_MED::GMESH::write ( in long  i,
in string  driverMeshName 
) raises (SALOME::SALOME_Exception)

The documentation for this interface was generated from the following files: