Skip to content
Snippets Groups Projects
Commit cf213738 authored by wenqing's avatar wenqing
Browse files

[dt] Added a member to ITimeStepAlgorithm to set relative solution error

parent 6dfa3dd8
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,10 @@ public: ...@@ -56,6 +56,10 @@ public:
_ts_current += dt; _ts_current += dt;
} }
/// Assign solution error to the corresponding member, if it exists.
/// \param solution_error Solution error between two successive time steps.
virtual void setSolutionError(const double solution_error) = 0;
/// move to the next time step /// move to the next time step
/// \return true if the next step exists /// \return true if the next step exists
virtual bool next() = 0; virtual bool next() = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment