* CORBA: Accessor for attributes identifiers
*/
//=============================================================================
-Engines::long_array* SMESH_MEDFamily_i::getAttributesIdentifiers()
+SALOME_MED::long_array* SMESH_MEDFamily_i::getAttributesIdentifiers()
throw (SALOME::SALOME_Exception)
{
if (_subMeshDS==NULL)
,SALOME::BAD_PARAM);
};
- Engines::long_array_var myseq= new Engines::long_array;
+ SALOME_MED::long_array_var myseq= new SALOME_MED::long_array;
myseq->length(_numberOfAttribute);
for (int i=0;i<_numberOfAttribute;i++)
{
* CORBA: Accessor for attributes values
*/
//=============================================================================
-Engines::long_array* SMESH_MEDFamily_i::getAttributesValues()
+SALOME_MED::long_array* SMESH_MEDFamily_i::getAttributesValues()
throw (SALOME::SALOME_Exception)
{
if (_subMeshDS==NULL)
,SALOME::BAD_PARAM);
};
- Engines::long_array_var myseq= new Engines::long_array;
+ SALOME_MED::long_array_var myseq= new SALOME_MED::long_array;
myseq->length(_numberOfAttribute);
for (int i=0;i<_numberOfAttribute;i++)
{
* CORBA: Accessor for attributes desriptions
*/
//=============================================================================
-Engines::string_array * SMESH_MEDFamily_i::getAttributesDescriptions()
+SALOME_MED::string_array * SMESH_MEDFamily_i::getAttributesDescriptions()
throw (SALOME::SALOME_Exception)
{
if (_subMeshDS==NULL)
THROW_SALOME_CORBA_EXCEPTION("No attributes"\
,SALOME::BAD_PARAM);
}
- Engines::string_array_var myseq = new Engines::string_array;
+ SALOME_MED::string_array_var myseq = new SALOME_MED::string_array;
for (int i=0;i<_numberOfAttribute;i++)
{
myseq[i]=CORBA::string_dup(_attributeDescription[i].c_str());
throw (SALOME::SALOME_Exception);
CORBA::Long getNumberOfAttributes()
throw (SALOME::SALOME_Exception);
- Engines::long_array* getAttributesIdentifiers()
+// Engines::long_array* getAttributesIdentifiers()
+ SALOME_MED::long_array* getAttributesIdentifiers()
throw (SALOME::SALOME_Exception);
CORBA::Long getAttributeIdentifier(CORBA::Long i)
throw (SALOME::SALOME_Exception);
- Engines::long_array* getAttributesValues()
+ SALOME_MED::long_array* getAttributesValues()
throw (SALOME::SALOME_Exception);
CORBA::Long getAttributeValue(CORBA::Long i)
throw (SALOME::SALOME_Exception);
- Engines::string_array* getAttributesDescriptions()
+ SALOME_MED::string_array* getAttributesDescriptions()
throw (SALOME::SALOME_Exception);
char* getAttributeDescription( CORBA::Long i)
throw (SALOME::SALOME_Exception);
-
+ CORBA::Long getNumberOfGroups()
+ throw (SALOME::SALOME_Exception);
+ char * getGroupName( CORBA::Long i)
+ throw (SALOME::SALOME_Exception);
+ SALOME_MED::string_array* getGroupsNames()
+ throw (SALOME::SALOME_Exception);
};
#endif /* MED_FAMILY_I_HXX_ */
* CORBA: Accessor for Coordinates System
*/
//=============================================================================
-char *SMESH_MEDMesh_i::getCoordinateSystem() throw(SALOME::SALOME_Exception)
+char *SMESH_MEDMesh_i::getCoordinatesSystem() throw(SALOME::SALOME_Exception)
{
if (_mesh_i == 0)
THROW_SALOME_CORBA_EXCEPTION("No associated Mesh",
* CORBA: Accessor for Coordinates
*/
//=============================================================================
-Engines::double_array * SMESH_MEDMesh_i::getCoordinates(
+SALOME_MED::double_array * SMESH_MEDMesh_i::getCoordinates(
SALOME_MED::medModeSwitch typeSwitch) throw(SALOME::SALOME_Exception)
{
if (_mesh_i == 0)
THROW_SALOME_CORBA_EXCEPTION("No associated Mesh",
SALOME::INTERNAL_ERROR);
- Engines::double_array_var myseq = new Engines::double_array;
+ SALOME_MED::double_array_var myseq = new SALOME_MED::double_array;
try
{
// PN : En dur
* CORBA: Accessor for Coordinates Names
*/
//=============================================================================
-Engines::string_array *
+SALOME_MED::string_array *
SMESH_MEDMesh_i::getCoordinatesNames()throw(SALOME::SALOME_Exception)
{
if (_mesh_i == 0)
THROW_SALOME_CORBA_EXCEPTION("No associated Mesh",
SALOME::INTERNAL_ERROR);
- Engines::string_array_var myseq = new Engines::string_array;
+ SALOME_MED::string_array_var myseq = new SALOME_MED::string_array;
try
{
// PN : en dur
* CORBA: Accessor for Coordinates Units
*/
//=============================================================================
-Engines::string_array *
+SALOME_MED::string_array *
SMESH_MEDMesh_i::getCoordinatesUnits()throw(SALOME::SALOME_Exception)
{
if (_mesh_i == 0)
THROW_SALOME_CORBA_EXCEPTION("No associated Mesh",
SALOME::INTERNAL_ERROR);
- Engines::string_array_var myseq = new Engines::string_array;
+ SALOME_MED::string_array_var myseq = new SALOME_MED::string_array;
try
{
// PN : en dur
* CORBA: Accessor for connectivities
*/
//=============================================================================
-Engines::long_array *
+SALOME_MED::long_array *
SMESH_MEDMesh_i::getConnectivity(SALOME_MED::medModeSwitch typeSwitch,
SALOME_MED::medConnectivity mode, SALOME_MED::medEntityMesh entity,
SALOME_MED::medGeometryElement geomElement) throw(SALOME::SALOME_Exception)
* CORBA: Accessor for connectivities
*/
//=============================================================================
-Engines::long_array *
+SALOME_MED::long_array *
SMESH_MEDMesh_i::getConnectivityIndex(SALOME_MED::medConnectivity mode,
SALOME_MED::medEntityMesh entity) throw(SALOME::SALOME_Exception)
{
CORBA::Long SMESH_MEDMesh_i::getElementNumber(SALOME_MED::medConnectivity mode,
SALOME_MED::medEntityMesh entity,
SALOME_MED::medGeometryElement type,
- const Engines::long_array & connectivity)throw(SALOME::SALOME_Exception)
+ const SALOME_MED::long_array & connectivity)throw(SALOME::SALOME_Exception)
{
const char *LOC = "getElementNumber ";
MESSAGE(LOC << "Pas Implemente dans SMESH");
* not implemented for MED_ALL_ENTITIES and MED_MAILLE
*/
//=============================================================================
-Engines::long_array *
+SALOME_MED::long_array *
SMESH_MEDMesh_i::getReverseConnectivity(SALOME_MED::
medConnectivity mode) throw(SALOME::SALOME_Exception)
{
* CORBA: Accessor for connectivities
*/
//=============================================================================
-Engines::long_array *
+SALOME_MED::long_array *
SMESH_MEDMesh_i::getReverseConnectivityIndex(SALOME_MED::
medConnectivity mode) throw(SALOME::SALOME_Exception)
{
int _famIdent;
map < SALOME_MED::medGeometryElement, int >_mapIndToSeqElts;
- Engines::long_array_var _seq_elemId[MED_NBR_GEOMETRIE_MAILLE];
+ SALOME_MED::long_array_var _seq_elemId[MED_NBR_GEOMETRIE_MAILLE];
map < SALOME_MED::medEntityMesh, int >_mapNbTypes;
map < SALOME_MED::medEntityMesh, int >_mapIndToVectTypes;
// IDL Methods
char *getName() throw(SALOME::SALOME_Exception);
CORBA::Long getSpaceDimension() throw(SALOME::SALOME_Exception);
+
CORBA::Long getMeshDimension() throw(SALOME::SALOME_Exception);
- char *getCoordinateSystem() throw(SALOME::SALOME_Exception);
- Engines::double_array * getCoordinates(SALOME_MED::medModeSwitch typeSwitch)
+ CORBA::Boolean getIsAGrid() throw (SALOME::SALOME_Exception);
+
+ CORBA::Boolean
+ existConnectivity(SALOME_MED::medConnectivity connectivityType,
+ SALOME_MED::medEntityMesh entity)
+ throw (SALOME::SALOME_Exception);
+
+ char *getCoordinatesSystem() throw(SALOME::SALOME_Exception);
+ SALOME_MED::double_array * getCoordinates(SALOME_MED::medModeSwitch typeSwitch)
throw(SALOME::SALOME_Exception);
- Engines::string_array * getCoordinatesNames()
+
+ double getCoordinate(CORBA::Long Number, CORBA::Long Axis)
+ throw (SALOME::SALOME_Exception);
+
+ SALOME_MED::string_array * getCoordinatesNames()
throw(SALOME::SALOME_Exception);
- Engines::string_array * getCoordinatesUnits()
+
+ SALOME_MED::string_array * 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);
- Engines::long_array * getConnectivity(SALOME_MED::medModeSwitch typeSwitch,
- SALOME_MED::medConnectivity mode,
- SALOME_MED::medEntityMesh entity,
- SALOME_MED::medGeometryElement geomElement)
- throw(SALOME::SALOME_Exception);
- Engines::long_array * getConnectivityIndex(SALOME_MED::medConnectivity mode,
- SALOME_MED::medEntityMesh entity) throw(SALOME::SALOME_Exception);
+
+ SALOME_MED::long_array *
+ getConnectivity(SALOME_MED::medModeSwitch typeSwitch,
+ SALOME_MED::medConnectivity mode,
+ SALOME_MED::medEntityMesh entity,
+ SALOME_MED::medGeometryElement geomElement)
+ throw(SALOME::SALOME_Exception);
+
+ SALOME_MED::long_array *
+ getConnectivityIndex(SALOME_MED::medConnectivity mode,
+ SALOME_MED::medEntityMesh entity)
+ throw(SALOME::SALOME_Exception);
+
+ SALOME_MED::long_array*
+ getGlobalNumberingIndex(SALOME_MED::medEntityMesh entity)
+ throw (SALOME::SALOME_Exception);
CORBA::Long getElementNumber(SALOME_MED::medConnectivity mode,
SALOME_MED::medEntityMesh entity,
SALOME_MED::medGeometryElement type,
- const Engines::long_array & connectivity)
+ const SALOME_MED::long_array & connectivity)
throw(SALOME::SALOME_Exception);
- Engines::long_array *
+ SALOME_MED::long_array *
getReverseConnectivity(SALOME_MED::medConnectivity mode) throw(SALOME::
SALOME_Exception);
- Engines::long_array *
+
+ SALOME_MED::long_array *
getReverseConnectivityIndex(SALOME_MED::
medConnectivity mode) throw(SALOME::SALOME_Exception);
// Family and Group
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::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 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);
// Cuisine interne
CORBA::Long getCorbaIndex() throw(SALOME::SALOME_Exception);
+ SALOME_MED::MESH::meshInfos * getMeshGlobal()
+ throw (SALOME::SALOME_Exception);
+
+ SALOME_MED::MESH::coordinateInfos * getCoordGlobal()
+ throw (SALOME::SALOME_Exception);
+
+ SALOME_MED::MESH::connectivityInfos *
+ getConnectGlobal(SALOME_MED::medEntityMesh entity)
+ throw (SALOME::SALOME_Exception);
+
//
void calculeNbElts() throw(SALOME::SALOME_Exception);
void createFamilies() throw(SALOME::SALOME_Exception);
*/
//=============================================================================
-Engines::long_array * SMESH_MEDSupport_i::getNumber(
+SALOME_MED::long_array * SMESH_MEDSupport_i::getNumber(
SALOME_MED::medGeometryElement geomElement) throw(SALOME::SALOME_Exception)
{
if (_subMeshDS==NULL)
if (geomElement != SALOME_MED::MED_NONE)
THROW_SALOME_CORBA_EXCEPTION("Not implemented", SALOME::BAD_PARAM);
- Engines::long_array_var myseq = new Engines::long_array;
+ SALOME_MED::long_array_var myseq = new SALOME_MED::long_array;
int i = 0;
myseq->length(_subMeshDS->NbNodes());
*/
//=============================================================================
-Engines::long_array *
+SALOME_MED::long_array *
SMESH_MEDSupport_i::getNumberIndex()throw(SALOME::SALOME_Exception)
{
MESSAGE("Not implemented for SMESH_i");
*/
//=============================================================================
-CORBA::Long SMESH_MEDSupport_i::getNumberOfGaussPoints(SALOME_MED::
+CORBA::Long SMESH_MEDSupport_i::getNumberOfGaussPoint(SALOME_MED::
medGeometryElement geomElement) throw(SALOME::SALOME_Exception)
{
MESSAGE("Not implemented for SMESH_i");
SALOME_MED::medEntityMesh getEntity() throw(SALOME::SALOME_Exception);
CORBA::Long getNumberOfElements(SALOME_MED::medGeometryElement geomElement)
throw(SALOME::SALOME_Exception);
- Engines::long_array * getNumber(SALOME_MED::medGeometryElement geomElement)
- throw(SALOME::SALOME_Exception);
- Engines::long_array * getNumberIndex() throw(SALOME::SALOME_Exception);
- CORBA::Long getNumberOfGaussPoints(SALOME_MED::
+ CORBA::Long getNumberOfTypes() throw (SALOME::SALOME_Exception);
+ SALOME_MED::long_array *
+ getNumber(SALOME_MED::medGeometryElement geomElement)
+ throw(SALOME::SALOME_Exception);
+
+ SALOME_MED::long_array * getNumberIndex()
+ throw(SALOME::SALOME_Exception);
+
+ CORBA::Long getNumberOfGaussPoint(SALOME_MED::
medGeometryElement geomElement) throw(SALOME::SALOME_Exception);
+ SALOME_MED::long_array* getNumbersOfGaussPoint()
+ throw (SALOME::SALOME_Exception);
+
SALOME_MED::medGeometryElement_array *
getTypes() throw(SALOME::SALOME_Exception);
+
+ void getBoundaryElements() throw (SALOME::SALOME_Exception);
+
CORBA::Long getCorbaIndex() throw(SALOME::SALOME_Exception);
+ SALOME_MED::SUPPORT::supportInfos * getSupportGlobal()
+ throw (SALOME::SALOME_Exception);
void createSeq() throw(SALOME::SALOME_Exception);
public: //public field