Salome HOME
Updated copyright comment
[tools/medcoupling.git] / src / MEDPartitioner / Test / MEDPARTITIONERTest.hxx
index a8facfc7699aab7c5e6036f2866fe9e520ddc997..dbec8117fcd52e41ae93cdf00029d6e3c36345e7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -38,7 +38,7 @@
 #include <iostream>
 
 #include "MEDCouplingUMesh.hxx"
-#include "MEDCouplingExtrudedMesh.hxx"
+#include "MEDCouplingMappedExtrudedMesh.hxx"
 #include "MEDCouplingFieldDouble.hxx"
 
 class MEDPARTITIONERTEST_EXPORT MEDPARTITIONERTest : public CppUnit::TestFixture
@@ -56,15 +56,17 @@ class MEDPARTITIONERTEST_EXPORT MEDPARTITIONERTest : public CppUnit::TestFixture
   CPPUNIT_TEST( testMeshCollectionComplexPartitionScotch );
   CPPUNIT_TEST( testScotchSmallSize );
 #endif
-  
-#if defined(HAVE_MPI)
-#if defined(MED_ENABLE_PARMETIS)
-  //test with mpi on system
-  CPPUNIT_TEST( testMpirunSmallSize );
-  CPPUNIT_TEST( testMpirunMedianSize );
-  CPPUNIT_TEST( testMpirunHugeSize );
-#endif
-#endif
+
+// [ABN] TO BE REVISED:
+
+//#if defined(HAVE_MPI)
+//#if defined(MED_ENABLE_PARMETIS)
+//  //test with mpi on system
+//  CPPUNIT_TEST( testMpirunSmallSize );
+//  CPPUNIT_TEST( testMpirunMedianSize );
+//  CPPUNIT_TEST( testMpirunHugeSize );
+//#endif
+//#endif
 
   CPPUNIT_TEST( testCreateBoundaryFaces2D ); // imp 0021756
 
@@ -85,18 +87,19 @@ public:
   int _nb_target_huge;
   std::string _mesh_name; //initial test mesh file med
   int _verbose;
-  
+
   //for utils
   void setSize(int ni, int nj, int nk);
   void setSmallSize();
   void setMedianSize();
   void setbigSize();
   std::string getPartitionerExe() const;
-  ParaMEDMEM::MEDCouplingUMesh * buildCUBE3DMesh();
-  ParaMEDMEM::MEDCouplingUMesh * buildFACE3DMesh();
-  ParaMEDMEM::MEDCouplingUMesh * buildCARRE3DMesh();
-  ParaMEDMEM::MEDCouplingFieldDouble * buildVecFieldOnCells(std::string myfileName);
-  ParaMEDMEM::MEDCouplingFieldDouble * buildVecFieldOnNodes();
+  std::string getPartitionerParaExe() const;
+  MEDCoupling::MEDCouplingUMesh * buildCUBE3DMesh();
+  MEDCoupling::MEDCouplingUMesh * buildFACE3DMesh();
+  MEDCoupling::MEDCouplingUMesh * buildCARRE3DMesh();
+  MEDCoupling::MEDCouplingFieldDouble * buildVecFieldOnCells(std::string myfileName);
+  MEDCoupling::MEDCouplingFieldDouble * buildVecFieldOnNodes();
   void createTestMeshWithoutField();
   void createTestMeshWithVecFieldOnCells();
   void createTestMeshWithVecFieldOnNodes();
@@ -113,7 +116,7 @@ public:
   void launchMedpartitionerOnTestMeshes();
   void launchMedpartitionerOnHugeTestMeshes();
   void deleteTestMeshes();
-  
+
   //for CPPUNIT_TEST
   void setUp();
   void tearDown();
@@ -129,7 +132,7 @@ public:
   void testMeshCollectionComplexPartitionScotch();
   void testScotchSmallSize();
 #endif
-  
+
 #if defined(HAVE_MPI)
   void testMpirunSmallSize();
   void testMpirunMedianSize();