From 93d5fe00fcb001c83872bb2349b9231893a85339 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 6 Nov 2013 13:46:51 +0000 Subject: [PATCH] 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 --- src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.39.2