PMEDSubProfile aSubProfile(new TMEDSubProfile());
aSubProfile->myGeom = aVGeom;
+ aSubProfile->myMGeom = theMGeom;
aSubProfile->myStatus = eAddAll;
MED::TGeom2Size::const_iterator aTimeStampIter = theGeom2Size.find(theMGeom);
TMeshValue& aVMeshValue = theValForTime->GetMeshValue(aVGeom);
aVMeshValue.Init(aNbElem,aNbGauss,aNbComp);
- MED::EGeometrieElement aMGeom = VTKGeomToMED(aVGeom);
+ MED::EGeometrieElement aMGeom = aSubProfile->myMGeom;
const MED::TMeshValue& aMMeshValue = aTimeVal.GetMeshValue(aMGeom);
for(TInt iElem = 0; iElem < aNbElem; iElem++){
TValueSliceArr aVValueSliceArr = aVMeshValue.GetGaussValueSliceArr(iElem);
struct TMEDSubProfile: virtual TSubProfileImpl
{
MED::PProfileInfo myProfileInfo;
+ MED::EGeometrieElement myMGeom;
};
typedef SharedPtr<TMEDSubProfile> PMEDSubProfile;