]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Porting to MED 3.0
authorinv <inv@opencascade.com>
Mon, 21 Mar 2011 09:40:25 +0000 (09:40 +0000)
committerinv <inv@opencascade.com>
Mon, 21 Mar 2011 09:40:25 +0000 (09:40 +0000)
src/SMESH_I/SMESH_MEDMesh_i.cxx
src/SMESH_I/SMESH_MEDMesh_i.hxx
src/SMESH_I/SMESH_subMesh_i.cxx

index 47047669516f3a7672c38eed9478cad4c237225a..ac16b41861673838c048cf0bd7631edde63e5e4d 100644 (file)
@@ -510,8 +510,7 @@ CORBA::Long SMESH_MEDMesh_i::getNumberOfElements(SALOME_MED::
  */
 //=============================================================================
 SALOME_TYPES::ListOfLong *
-SMESH_MEDMesh_i::getConnectivity(SALOME_MED::medModeSwitch typeSwitch,
-                                 SALOME_MED::medConnectivity mode,
+SMESH_MEDMesh_i::getConnectivity(SALOME_MED::medConnectivity mode,
                                  SALOME_MED::medEntityMesh entity,
                                  SALOME_MED::medGeometryElement geomElement)
   throw(SALOME::SALOME_Exception)
@@ -521,8 +520,8 @@ SMESH_MEDMesh_i::getConnectivity(SALOME_MED::medModeSwitch typeSwitch,
                                  SALOME::INTERNAL_ERROR);
   if (mode != SALOME_MED::MED_NODAL)
     THROW_SALOME_CORBA_EXCEPTION("Not Implemented", SALOME::BAD_PARAM);
-  if (typeSwitch == SALOME_MED::MED_NO_INTERLACE)
-    THROW_SALOME_CORBA_EXCEPTION("Not Yet Implemented", SALOME::BAD_PARAM);
+  /*if (typeSwitch == SALOME_MED::MED_NO_INTERLACE)
+    THROW_SALOME_CORBA_EXCEPTION("Not Yet Implemented", SALOME::BAD_PARAM);*/
   if (!_compte)
     calculeNbElts();
 
@@ -536,22 +535,6 @@ SMESH_MEDMesh_i::getConnectivity(SALOME_MED::medModeSwitch typeSwitch,
   return _seq_elemId[index]._retn();
 }
 
-//=============================================================================
-/*!
- * CORBA: Accessor for connectivities
- */
-//=============================================================================
-SALOME_TYPES::ListOfLong *
-SMESH_MEDMesh_i::getConnectivity(SALOME_MED::medConnectivity mode,
-                                 SALOME_MED::medEntityMesh entity,
-                                 SALOME_MED::medGeometryElement geomElement)
-  throw(SALOME::SALOME_Exception)
-{
-  MESSAGE("Pas Implemente dans SMESH");
-  THROW_SALOME_CORBA_EXCEPTION("Unimplemented Method", SALOME::BAD_PARAM);
-  return 0;
-}
-
 //=============================================================================
 /*!
  * CORBA: Accessor for connectivities
index 1811fe18bb693dfb8677e8fa324437d5357e7498..610438cef5baa7fc33efa85b76e06c14cdeac2d9 100644 (file)
@@ -144,13 +144,6 @@ public:
                                   SALOME_MED::medGeometryElement geomElement)
     throw(SALOME::SALOME_Exception);
   
-  SALOME_TYPES::ListOfLong *
-  getConnectivity(SALOME_MED::medModeSwitch typeSwitch,
-                  SALOME_MED::medConnectivity mode,
-                  SALOME_MED::medEntityMesh entity,
-                  SALOME_MED::medGeometryElement geomElement)
-    throw(SALOME::SALOME_Exception);
-  
   SALOME_TYPES::ListOfLong *
   getConnectivity(SALOME_MED::medConnectivity mode,
                   SALOME_MED::medEntityMesh entity,
index 7614f296a03914f103f5f191138ba058a07d04cd..45d4867334c685132298fa237d33fe6b865ae729 100644 (file)
@@ -482,7 +482,7 @@ SALOME_MED::FAMILY_ptr SMESH_subMesh_i::GetFamily()
   throw (SALOME::SALOME_Exception)
 {
   Unexpect aCatch(SALOME_SalomeException);
-  SALOME_MED::GMESH_var MEDMesh = GetFather()->GetMEDMesh();
+  SALOME_MED::MESH_var MEDMesh = GetFather()->GetMEDMesh();
 
   SALOME_MED::Family_array_var families = 
     MEDMesh->getFamilies(SALOME_MED::MED_NODE);