From: eap Date: Wed, 6 Nov 2013 13:46:51 +0000 (+0000) Subject: 22386: EDF 2714 MED: Medpartitioner usage with --creates-boundary-faces gives a wrong... X-Git-Tag: V7_3_1b1~70 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=93d5fe00fcb001c83872bb2349b9231893a85339;p=tools%2Fmedcoupling.git 22386: EDF 2714 MED: Medpartitioner usage with --creates-boundary-faces gives a wrong partition Sort faces by type to be in med file format after concatenating face meshes --- diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx b/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx index 0e5b5e3ae..59a590bb3 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx @@ -599,6 +599,7 @@ void MEDPARTITIONER::MeshCollection::castFaceMeshes(MeshCollection& initialColle if (myMeshes.size()>0) { meshesCastTo[inew]=ParaMEDMEM::MEDCouplingUMesh::MergeUMeshes(myMeshes); + meshesCastTo[inew]->sortCellsInMEDFileFrmt()->decrRef(); } else {