From c3f6661a88286cceec299e091d646ca2aedbb6ef Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 12 Oct 2018 13:18:10 +0200 Subject: [PATCH] Acceleration is also for MEDReader now --- src/MEDLoader/MEDFileEntities.cxx | 4 ++-- src/MEDLoader/MEDFileFieldInternal.cxx | 29 -------------------------- 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/src/MEDLoader/MEDFileEntities.cxx b/src/MEDLoader/MEDFileEntities.cxx index ec3348a62..a3ef490d5 100644 --- a/src/MEDLoader/MEDFileEntities.cxx +++ b/src/MEDLoader/MEDFileEntities.cxx @@ -33,7 +33,7 @@ MEDFileStaticEntities::MEDFileStaticEntities(const std::vector< std::pair > *entities) { if(!entities) - return new MEDFileAllStaticEntites; + return nullptr; else return new MEDFileStaticEntities(*entities); } @@ -41,7 +41,7 @@ MEDFileEntities *MEDFileEntities::BuildFrom(const std::vector< std::pair pflName=MEDLoaderBase::buildEmptyString(MED_NAME_SIZE); - INTERP_KERNEL::AutoPtr locName=MEDLoaderBase::buildEmptyString(MED_NAME_SIZE); - med_geometry_type mgeoti; - med_entity_type menti(ConvertIntoMEDFileType(type,geoType,mgeoti)); - _field_pm_pt_pd.resize(nbProfiles); - for(int i=0;i=nbProfiles2?MED_DESCENDING_FACE:MED_DESCENDING_EDGE;//not enough words to describe the beauty - nbProfiles=std::max(nbProfiles1,nbProfiles2); - _field_pm_pt_pd.resize(nbProfiles); - for(int i=0;i MEDFileFieldPerMeshPerType::Aggregate(int &start, const std::vector >& pms, const std::vector< std::vector< std::pair > >& dts, INTERP_KERNEL::NormalizedCellType gt, MEDFileFieldPerMesh *father, std::vector > >& extractInfo) -- 2.39.2