aFloatArray->SetName(aFieldName.c_str());
TGeom2Value& aGeom2Value = theValForTime->myGeom2Value;
- TGeom2Value::const_iterator anIter = aGeom2Value.begin();
- for(int aTupleId = 0; anIter != aGeom2Value.end(); anIter++){
- const TMeshValue& aMeshValue = anIter->second;
- int aGeom = anIter->first;
+ PGaussMeshImpl aGaussMesh = theValForTime->myGaussMesh;
+ const TGeom2GaussSubMesh& aGeom2GaussSubMesh = aGaussMesh->myGeom2GaussSubMesh;
+ TGeom2GaussSubMesh::const_iterator anIter = aGeom2GaussSubMesh.begin();
+ for(int aTupleId = 0; anIter != aGeom2GaussSubMesh.end(); anIter++){
+ vtkIdType aGeom = anIter->first;
+ PGaussSubMeshImpl aGaussSubMesh = anIter->second;
+ if(!aGaussSubMesh->myIsDone)
+ continue;
+
+ TGeom2Value::const_iterator anIter2 = aGeom2Value.find(aGeom);
+ if(anIter2 == aGeom2Value.end())
+ EXCEPTION(runtime_error,"GetTimeStampOnGaussMesh >> Can't find values for corresponding Gauss Points SubMesh");
+
+ const TMeshValue& aMeshValue = anIter2->second;
int aNbElem = aMeshValue.myNbElem;
int aNbGauss = aMeshValue.myNbGauss;
int aNbComp = aMeshValue.myNbComp;