From 643b39505e79fddc1fc22457f1c196d37a03a989 Mon Sep 17 00:00:00 2001 From: secher Date: Thu, 5 Apr 2007 14:51:00 +0000 Subject: [PATCH] update for take account of iteration number --- src/FILTER/Filter_Gen_i.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/FILTER/Filter_Gen_i.cxx b/src/FILTER/Filter_Gen_i.cxx index 9c8ffe2..bd77403 100755 --- a/src/FILTER/Filter_Gen_i.cxx +++ b/src/FILTER/Filter_Gen_i.cxx @@ -509,6 +509,9 @@ void Filter_Gen_i::projectFieldsOnDecimateMesh() throw(SALOME_FILTER::FILTER_Gen // create new output field newDField = new FIELD(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(newSup,field->getNumberOfComponents()); newIField->setName(myIField->getName()); + newIField->setIterationNumber(myIteration[j].dt); + newIField->setOrderNumber(myIteration[j].it); + newIField->setTime(myIField->getTime()); } numberOfComponents = field->getNumberOfComponents(); -- 2.39.2