Commit 1963c597 authored by Andrea Vescovini's avatar Andrea Vescovini
Browse files

Fixed bug when timestep in reduced

parent 9ca4a24e
......@@ -134,6 +134,7 @@ public:
{
timeStepIdx_++;
time_ += timeStepSize_;
previousTimeStepSize_ = timeStepSize_;
}
/*!
......@@ -197,7 +198,6 @@ public:
{
using std::min;
computeMaxTimeStepSize_();
previousTimeStepSize_ = timeStepSize_;
timeStepSize_ = min(dt, maxTimeStepSize_);
}
......@@ -300,7 +300,6 @@ public:
<< "Wall time: " << cpuTime_
<< ", time: " << time_
<< ", time step size: " << timeStepSize_
<< ", previous time step size: " << previousTimeStepSize_
<< std::endl;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment