Salome HOME
Add structured image grid meshes into MEDCoupling.
[modules/med.git] / src / MEDCouplingCorba / Test / MEDCouplingMeshFieldFactoryComponentServ.cxx
index 9324c0fa9d0a89f22db76858f95f02522a055778..64e7fc5643aaa3c1616440d7669ed20440a5bf22 100644 (file)
@@ -29,6 +29,7 @@
 #include "MEDCoupling1SGTUMeshServant.hxx"
 #include "MEDCoupling1DGTUMeshServant.hxx"
 #include "MEDCouplingCMeshServant.hxx"
+#include "MEDCouplingIMeshServant.hxx"
 #include "MEDCouplingUMeshServant.hxx"
 #include "DataArrayDoubleServant.hxx"
 #include "DataArrayIntServant.hxx"
@@ -41,6 +42,7 @@
 #include "MEDCoupling1GTUMesh.hxx"
 #include "MEDCouplingUMesh.hxx"
 #include "MEDCouplingCMesh.hxx"
+#include "MEDCouplingIMesh.hxx"
 
 namespace SALOME_TEST
 {
@@ -133,6 +135,15 @@ namespace SALOME_TEST
     SALOME_MED::MEDCouplingCMeshCorbaInterface_ptr ret=m->_this();
     return ret;
   }
+  
+  SALOME_MED::MEDCouplingIMeshCorbaInterface_ptr MEDCouplingMeshFieldFactoryComponent::getIMesh()
+  {
+    ParaMEDMEM::MEDCouplingIMesh *m1=MEDCouplingCorbaServBasicsTest::buildIMesh();
+    ParaMEDMEM::MEDCouplingIMeshServant *m=new ParaMEDMEM::MEDCouplingIMeshServant(m1);
+    m1->decrRef();
+    SALOME_MED::MEDCouplingIMeshCorbaInterface_ptr ret=m->_this();
+    return ret;
+  }
 
   SALOME_MED::MEDCouplingCurveLinearMeshCorbaInterface_ptr MEDCouplingMeshFieldFactoryComponent::getCLMesh()
   {