From: secher Date: Thu, 5 Apr 2007 14:51:00 +0000 (+0000) Subject: update for take account of iteration number X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=643b39505e79fddc1fc22457f1c196d37a03a989;p=modules%2Ffilter.git update for take account of iteration number --- 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();