aGauss->myGaussInfo = aGaussInfo;
aGauss->myName = aGaussInfo->GetName();
aGauss->myNbPoints = aGaussInfo->GetNbGauss();
- }
+ } else if ( aTimeStampInfo.GetNbGauss(aMGeom) > 1 )
+ EXCEPTION( runtime_error, "aGaussIter == aGeom2Gauss.end()"
+ " && aTimeStampInfo.GetNbGauss(aMGeom) > 1 !!!" );
aGaussSubMesh->myNbCells = aNbCells*aGauss->myNbPoints;
aGaussSubMesh->myCellsSize = aGaussSubMesh->myNbCells*2;
}
}
-
- //---------------------------------------------------------------
- void
- InitGaussProfile(const MED::PWrapper& theMEDWrapper,
- const MED::PMeshInfo& theMeshInfo,
- MED::PTimeStampValueBase& theTimeStampValue,
- VISU::TMEDMeshOnEntity& theMeshOnEntity,
- MED::EEntiteMaillage theMEntity,
- const MED::TGeom2Size& theGeom2Size,
- VISU::TMEDValForTime& theValForTime)
- {
- VISU::TTimerLog aTimerLog(MYDEBUG,"InitGaussProfile");
- INITMSG(MYDEBUG,"InitGaussProfile"<<std::endl);
-
- // The order of the function calls is important
- InitProfile(theMEDWrapper,
- theMeshInfo,
- theTimeStampValue,
- theMeshOnEntity,
- theMEntity,
- theGeom2Size,
- theValForTime);
-
- InitGaussMesh(theTimeStampValue,
- theMeshOnEntity,
- theGeom2Size,
- theValForTime);
- }
-
-
//---------------------------------------------------------------
void
BuildMeshOnEntityMap(VISU::PMEDMesh theMesh,
aMKey2Profile,
aKey2Gauss);
- InitGaussProfile(theMed,
- aMeshInfo,
- aTimeStampValue,
- theMeshOnEntity,
- aMEntity,
- aGeom2Size,
- theValForTime);
+ InitProfile(theMed,
+ aMeshInfo,
+ aTimeStampValue,
+ theMeshOnEntity,
+ aMEntity,
+ aGeom2Size,
+ theValForTime);
LoadProfile(theMed,
theMesh,
theValForTime,
theMeshOnEntity);
- if(theIsGauss)
+ if(theIsGauss) {
+ InitGaussMesh(aTimeStampValue,
+ theMeshOnEntity,
+ aGeom2Size,
+ theValForTime);
+
LoadGaussMesh(theMed,
theMesh,
aTimeStampValue,
theValForTime,
theMeshOnEntity);
+ }
VISU::PMEDProfile aProfile = theValForTime->myProfile;
VISU::TGeom2SubProfile& aGeom2SubProfile = aProfile->myGeom2SubProfile;