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_0a1~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7d14c759a931223971ae67aa3e39df418bb74782;p=modules%2Fmed.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 {