-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2019 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <iostream>
#include "MEDCouplingUMesh.hxx"
-#include "MEDCouplingExtrudedMesh.hxx"
+#include "MEDCouplingMappedExtrudedMesh.hxx"
#include "MEDCouplingFieldDouble.hxx"
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
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();
void launchMedpartitionerOnTestMeshes();
void launchMedpartitionerOnHugeTestMeshes();
void deleteTestMeshes();
-
+
//for CPPUNIT_TEST
void setUp();
void tearDown();
void testMeshCollectionComplexPartitionScotch();
void testScotchSmallSize();
#endif
-
+
#if defined(HAVE_MPI)
void testMpirunSmallSize();
void testMpirunMedianSize();