]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Deal with non cartesian MED files.
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 31 Dec 2015 16:13:08 +0000 (17:13 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 31 Dec 2015 16:13:08 +0000 (17:13 +0100)
src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx

index 7367368faba520ac21bf3e3678ccfb36c69e4c34..18f531dd014fccc15af7b592069f29249dcf9d15 100644 (file)
@@ -1147,6 +1147,7 @@ void MEDFileFieldRepresentationTree::loadMainStructureOfFile(const char *fileNam
     {
       AppendFieldFromMeshes(_ms,_fields);
     }
+  _ms->cartesianizeMe();
   _fields->removeFieldsWithoutAnyTimeStep();
   std::vector<std::string> meshNames(_ms->getMeshesNames());
   std::vector< MEDCouplingAutoRefCountObjectPtr<MEDFileFields> > fields_per_mesh(meshNames.size());