]> SALOME platform Git repositories - modules/filter.git/commitdiff
Salome HOME
update for take account of iteration number
authorsecher <secher>
Thu, 5 Apr 2007 14:51:00 +0000 (14:51 +0000)
committersecher <secher>
Thu, 5 Apr 2007 14:51:00 +0000 (14:51 +0000)
src/FILTER/Filter_Gen_i.cxx

index 9c8ffe27fac9c1c281441f6d03fd475580f0a271..bd774035787d92e3185d26db09b17e3801f87fd7 100755 (executable)
@@ -509,6 +509,9 @@ void Filter_Gen_i::projectFieldsOnDecimateMesh() throw(SALOME_FILTER::FILTER_Gen
            // create new output field
            newDField = new FIELD<double>(newSup,field->getNumberOfComponents());
            newDField->setName(myDField->getName());
+           newDField->setIterationNumber(myIteration[j].dt);
+           newDField->setOrderNumber(myIteration[j].it);
+           newDField->setTime(myDField->getTime());
          }
          else{
            if(!isReferenceField)
@@ -519,6 +522,9 @@ void Filter_Gen_i::projectFieldsOnDecimateMesh() throw(SALOME_FILTER::FILTER_Gen
            // create new output field
            newIField = new FIELD<int>(newSup,field->getNumberOfComponents());
            newIField->setName(myIField->getName());
+           newIField->setIterationNumber(myIteration[j].dt);
+           newIField->setOrderNumber(myIteration[j].it);
+           newIField->setTime(myIField->getTime());
          }
          numberOfComponents = field->getNumberOfComponents();