MED::TInt aNbComp = aFieldInfo->GetNbComp();
std::string aFieldName = aFieldInfo->GetName();
+ MED::TErr anErr;
MED::TGeom aTGeom;
MED::EEntiteMaillage aMEntity;
- MED::TInt aNbTimeStamps = aMed->GetNbTimeStamps(aFieldInfo,aEntityInfo,aMEntity,aTGeom);
+ MED::TInt aNbTimeStamps = aMed->GetNbTimeStamps(aFieldInfo,
+ aEntityInfo,
+ aMEntity,
+ aTGeom,
+ &anErr);
+ if(anErr < 0)
+ continue;
+
VISU::TEntity aVEntity = MEDEntityToVTK(aMEntity);
VISU::PMeshOnEntity aMeshOnEntity = aMesh->myMeshOnEntityMap[aVEntity];
VISU::TFieldMap& aFieldMap = aMeshOnEntity->myFieldMap;
}
for(MED::TInt iTimeStamp = 1; iTimeStamp <= aNbTimeStamps; iTimeStamp++){
- MED::TErr anErr;
MED::PTimeStampInfo aTimeStamp = aMed->GetPTimeStampInfo(aFieldInfo,
aMEntity,
aTGeom,
}
}catch (std::exception& exc){
MSG(MYDEBUG,"Follow exception was occured :\n"<<exc.what());
+ throw;
}catch(...){
EXCEPTION(runtime_error,"Unknown exception !!!");
}