Changed: AdaptiveSIM::savePoints does not need a time argument,

as this class is for static/stationary problems only. The iStep
argument is not a time step counter, but a refinement step counter.
Also, the method is made protected.
This commit is contained in:
Knut Morten Okstad
2021-10-04 07:23:06 +02:00
committed by Arne Morten Kvarving
parent 458b245b9f
commit 35b4aa95fa
3 changed files with 14 additions and 15 deletions

View File

@@ -44,12 +44,11 @@ protected:
return true;
}
//! \brief Saves point results to output file for a given time step.
//! \param[in] time Load/time step parameter
//! \param[in] iStep Load/time step counter
bool savePoints(double time, int iStep) const override
//! \brief Saves point results to output file for a given refinement step.
//! \param[in] iStep Refinement step counter
bool savePoints(int iStep) const override
{
return model.savePoints(time, iStep);
return model.savePoints(0.0,iStep);
}
T1& model; //!< Reference to the actual sim