]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
22386: EDF 2714 MED: Medpartitioner usage with --creates-boundary-faces gives a wrong...
authoreap <eap@opencascade.com>
Wed, 6 Nov 2013 13:46:51 +0000 (13:46 +0000)
committereap <eap@opencascade.com>
Wed, 6 Nov 2013 13:46:51 +0000 (13:46 +0000)
Sort faces by type to be in med file format after concatenating face meshes

src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx

index 0e5b5e3ae500103c0ed837424472b12743f9644d..59a590bb35911a2c0a4376d4551ed4ca78f00238 100644 (file)
@@ -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
         {