X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParaMEDMEMTest%2FParaMEDMEMTest_OverlapDEC.cxx;h=f6b14cf496b72f11bb4d509fb395a1532e9bd77a;hb=0b187729ac99d3e9e9bb9d2be8cb8600a783be6c;hp=995c79c87a1b6d8d6d8061200050f339d16676e0;hpb=bbf8612da96d44148a83c01c0875e665dbf7902b;p=tools%2Fmedcoupling.git diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTest_OverlapDEC.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTest_OverlapDEC.cxx index 995c79c87..f6b14cf49 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTest_OverlapDEC.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTest_OverlapDEC.cxx @@ -335,7 +335,6 @@ void prepareData2_buildOneSquare(MEDCouplingUMesh* & meshS_0, MEDCouplingUMesh* meshT_0->insertNextCell(INTERP_KERNEL::NORM_TRI3,3,connT+3); meshT_0->insertNextCell(INTERP_KERNEL::NORM_TRI3,3,connT+6); meshT_0->insertNextCell(INTERP_KERNEL::NORM_TRI3,3,connT+9); - } /** @@ -491,6 +490,7 @@ void testOverlapDEC_generic(int workSharingAlgo, double bbAdj) dec.attachSourceLocalField(mcfieldS); dec.attachTargetLocalField(mcfieldT); dec.synchronize(); +// dec.debugPrintWorkSharing(std::cout); dec.sendRecvData(true); // MPI_Barrier(MPI_COMM_WORLD); @@ -527,13 +527,17 @@ void ParaMEDMEMTest::testOverlapDEC1() void ParaMEDMEMTest::testOverlapDEC1_bis() { - /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - * Same BB hack as above - * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - */ + // Same BB hack as above testOverlapDEC_generic(1,-1.0e-12); } +void ParaMEDMEMTest::testOverlapDEC1_ter() +{ + // Same BB hack as above + testOverlapDEC_generic(2, -1.0e-12); +} + + /*! * Same as testOverlapDEC1() but with regular bounding boxes. If you're looking for a nice debug case, * testOverlapDEC1() is identical in terms of geometry and field values, and more appropriate. @@ -548,6 +552,11 @@ void ParaMEDMEMTest::testOverlapDEC2_bis() testOverlapDEC_generic(1,1.0e-12); } +void ParaMEDMEMTest::testOverlapDEC2_ter() +{ + testOverlapDEC_generic(2,1.0e-12); +} + /*! Test focused on the mapping of cell IDs. * (i.e. when only part of the source/target mesh is transmitted)