From 7b3d733e85c71f043d16284307c7cce87a234a33 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 31 Dec 2015 17:13:08 +0100 Subject: [PATCH] Deal with non cartesian MED files. --- src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx b/src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx index 7367368f..18f531dd 100644 --- a/src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx +++ b/src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx @@ -1147,6 +1147,7 @@ void MEDFileFieldRepresentationTree::loadMainStructureOfFile(const char *fileNam { AppendFieldFromMeshes(_ms,_fields); } + _ms->cartesianizeMe(); _fields->removeFieldsWithoutAnyTimeStep(); std::vector meshNames(_ms->getMeshesNames()); std::vector< MEDCouplingAutoRefCountObjectPtr > fields_per_mesh(meshNames.size()); -- 2.39.2