vtkIdType aVNbNodes = VTKGeom2NbNodes(aVGeom);
PMEDGaussSubMesh aGaussSubMesh(new TMEDGaussSubMesh());
- aGaussSubMesh->myStatus = eAddAll;
TGeom2SubProfile::iterator anIter2 = aGeom2SubProfile.find(aVGeom);
if(anIter2 == aGeom2SubProfile.end()){
continue;
}
- aGaussSubMesh->mySubProfile = anIter2->second;
-
+ PMEDSubProfile aSubProfile = anIter2->second;
+ aGaussSubMesh->mySubProfile = aSubProfile;
+ aGaussSubMesh->myStatus = aSubProfile->myStatus;
+
PMEDGauss aGauss(new TMEDGauss());
aGaussSubMesh->myGauss = aGauss;
TInt aNbGauss = 0;
TGeom2Size::const_iterator aTimeStampIter = theGeom2Size.find(aMGeom);
- if(aTimeStampIter == theGeom2Size.end())
- aGaussSubMesh->myStatus = eRemoveAll;
- else{
+ if(aTimeStampIter != theGeom2Size.end()){
TGeom2Gauss::const_iterator aGaussIter = aGeom2Gauss.find(aMGeom);
TInt aNbCells = aTimeStampIter->second;
if(aGaussIter != aGeom2Gauss.end()){
aGaussSubMesh->myNbCells = aNbCells*aNbGauss;
aGaussSubMesh->myCellsSize = aGaussSubMesh->myNbCells*2;
-
- aGaussSubMesh->myStatus = eAddPart;
}else{
aGaussSubMesh->myNbCells = aNbCells;
aGaussSubMesh->myCellsSize = aGaussSubMesh->myNbCells*(aVNbNodes+1);
INITMSG(MYDEBUG,
"- aVGeom = "<<aVGeom<<
+ "; aStatus = "<<aGaussSubMesh->myStatus<<
"; aNbCells = "<<aSubProfile->mySubMeshID.size()<<
endl);
}