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:
committed by
Arne Morten Kvarving
parent
458b245b9f
commit
35b4aa95fa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user