::GetCompValueSliceArr(vtkIdType theElemId) const
{
TCValueSliceArr aValueSliceArr(myNbComp);
- vtkIdType anId = theElemId;
+ vtkIdType anId = theElemId*myStep;
for(vtkIdType aCompId = 0; aCompId < myNbComp; aCompId++){
aValueSliceArr[aCompId] =
TCValueSlice(myValue,std::slice(anId,myNbGauss,myNbComp));
::GetCompValueSliceArr(vtkIdType theElemId)
{
TValueSliceArr aValueSliceArr(myNbComp);
- vtkIdType anId = theElemId;
+ vtkIdType anId = theElemId*myStep;
for(vtkIdType aCompId = 0; aCompId < myNbComp; aCompId++){
aValueSliceArr[aCompId] =
TValueSlice(myValue,std::slice(anId,myNbGauss,myNbComp));