]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Ooops agy/fast_multi_ts
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 29 Oct 2018 10:20:54 +0000 (11:20 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 29 Oct 2018 10:20:54 +0000 (11:20 +0100)
src/MEDLoader/MEDFileFieldMultiTS.cxx

index 576e482d5461574757b92c5bf7182ce5870616c4..c643e585bf333ed27289c689226d931026d45377 100644 (file)
@@ -488,17 +488,17 @@ void MEDFileAnyTypeFieldMultiTSWithoutSDA::loadStructureOrStructureAndBigArraysR
   const MEDFileEntities *entitiesForSubInstances(entities);
   if(!entities)
     {
-      int nentitype(MEDfieldnEntityType(fid,_name.c_str(),MED_ALL_IT,MED_ALL_IT));
+      int nentitype(MEDfieldnEntityType(fid,_name.c_str(),MED_ALL_DT,MED_ALL_IT));
       INTERP_KERNEL::AutoPtr<med_entity_type> types(new med_entity_type[nentitype]);
       med_int usedbyncs;
-      MEDFILESAFECALLERRD0(MEDfieldEntityType,(fid,_name.c_str(),MED_ALL_IT,MED_ALL_IT,types,&usedbyncs));
+      MEDFILESAFECALLERRD0(MEDfieldEntityType,(fid,_name.c_str(),MED_ALL_DT,MED_ALL_IT,types,&usedbyncs));
       std::vector< std::pair<TypeOfField,INTERP_KERNEL::NormalizedCellType> > entitiesFastP;
       for(int i=0;i<nentitype;i++)
         {
-          int ngeotype(MEDfieldnGeometryType(fid,_name.c_str(),MED_ALL_IT,MED_ALL_IT,types[i]));
+          int ngeotype(MEDfieldnGeometryType(fid,_name.c_str(),MED_ALL_DT,MED_ALL_IT,types[i]));
           INTERP_KERNEL::AutoPtr<med_geometry_type> geotypes(new med_geometry_type[ngeotype]);
           med_int geousedbyncs;
-          MEDFILESAFECALLERRD0(MEDfieldGeometryType,(fid,_name.c_str(),MED_ALL_IT,MED_ALL_IT,types[i],geotypes,&geousedbyncs));
+          MEDFILESAFECALLERRD0(MEDfieldGeometryType,(fid,_name.c_str(),MED_ALL_DT,MED_ALL_IT,types[i],geotypes,&geousedbyncs));
           for(int j=0;j<ngeotype;j++)
             {
               std::pair<TypeOfField,INTERP_KERNEL::NormalizedCellType> p(MEDFileMesh::ConvertFromMEDFileEntity(types[i]),MEDFileJointOneStep::ConvertGeometryType(geotypes[j]));