-// Copyright (C) 2007-2012 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
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
#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_MPI2)
-#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
//CPPUNIT_TEST( deleteTestMeshes );
CPPUNIT_TEST_SUITE_END();
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_MPI2)
+
+#if defined(HAVE_MPI)
void testMpirunSmallSize();
void testMpirunMedianSize();
void testMpirunHugeSize();
#endif
+
+ void testCreateBoundaryFaces2D();
};
#endif