From: ageay Date: Tue, 24 Aug 2010 09:50:42 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_main_FINAL~49 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60cc1fd94f04631b8bac115686dfd8c835d54090;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/MEDLoader/Swig/MEDLoaderTest.py b/src/MEDLoader/Swig/MEDLoaderTest.py index ca10477b9..5f1adc330 100644 --- a/src/MEDLoader/Swig/MEDLoaderTest.py +++ b/src/MEDLoader/Swig/MEDLoaderTest.py @@ -357,6 +357,8 @@ class MEDLoaderTest(unittest.TestCase): vec=[0.,0.,1.] nodes=m3d.findNodesOnPlane(pt,vec,1e-12); m2d=m3d.buildFacePartOfMySelfNode(nodes,True); + renumber=[1,2,0,4,3] + m2d.renumberCells(renumber,False); m2d.setName("ExampleOfMultiDimW"); meshes=[m2d,m3d] MEDLoader.WriteUMeshes(fileName,meshes,True); diff --git a/src/MEDLoader/Test/MEDLoaderTest.cxx b/src/MEDLoader/Test/MEDLoaderTest.cxx index 4abbf0d96..bab43105e 100644 --- a/src/MEDLoader/Test/MEDLoaderTest.cxx +++ b/src/MEDLoader/Test/MEDLoaderTest.cxx @@ -502,6 +502,8 @@ void MEDLoaderTest::testWriteUMeshesRW1() std::vector nodes; m3d->findNodesOnPlane(pt,vec,1e-12,nodes); MEDCouplingUMesh *m2d=(MEDCouplingUMesh *)m3d->buildFacePartOfMySelfNode(&nodes[0],&nodes[0]+nodes.size(),true); + const int renumber[5]={1,2,0,4,3}; + m2d->renumberCells(renumber,false); m2d->setName("ExampleOfMultiDimW"); std::vector meshes; meshes.push_back(m2d);