std::string aFieldName = aFieldInfo->GetName();
MED::TGeom2Size aGeom2Size;
- MED::EEntiteMaillage aMEntity = MED::EEntiteMaillage(-1);
+ MED::EEntiteMaillage aMEntity;
TInt aNbTimeStamps = theMEDWrapper->GetNbTimeStamps(aFieldInfo,
theEntityInfo,
aMEntity,
aGeom2Size);
- if(int(aMEntity) < 0 || aNbTimeStamps < 1)
+ if(aNbTimeStamps < 1)
continue;
TEntity aVEntity = MEDEntityToVTK(aMEntity);
aMKey2Profile,
aKey2Gauss);
+ const MED::TGeom2Gauss& aGeom2Gauss = aTimeStampInfo->GetGeom2Gauss();
+
const MED::TTimeStampVal& aTimeStampValRef = aTimeStampVal;
const MED::TGeom2Value& aGeom2Value = aTimeStampValRef.myGeom2Value;
TInt aNbElem = aMMeshValue.myNbElem;
TInt aNbGauss = aMMeshValue.myNbGauss;
+ MED::TGeom2Gauss::const_iterator aGaussIter = aGeom2Gauss.find(aMGeom);
+ if(aGaussIter == aGeom2Gauss.end())
+ aNbGauss = 1;
+
INITMSG(MYDEBUG,
"- aMGeom = "<<aMGeom<<
"; aNbElem = "<<aNbElem<<