Bugfix: double execution of function objects per time-step
This commit is contained in:
parent
f145691299
commit
c6460044b2
1 changed files with 0 additions and 16 deletions
|
@ -1132,22 +1132,6 @@ Foam::Time& Foam::Time::operator+=(const scalar deltaT)
|
|||
|
||||
Foam::Time& Foam::Time::operator++()
|
||||
{
|
||||
if (!subCycling_)
|
||||
{
|
||||
if (timeIndex_ == startTimeIndex_)
|
||||
{
|
||||
addProfile2(fo,"functionObjects_.start()");
|
||||
|
||||
functionObjects_.start();
|
||||
}
|
||||
else
|
||||
{
|
||||
addProfile2(fo,"functionObjects_.execute()");
|
||||
|
||||
functionObjects_.execute();
|
||||
}
|
||||
}
|
||||
|
||||
deltaT0_ = deltaTSave_;
|
||||
deltaTSave_ = deltaT_;
|
||||
|
||||
|
|
Reference in a new issue