Skip to content
Snippets Groups Projects
Commit cb349d97 authored by Tom Fischer's avatar Tom Fischer Committed by Dmitri Naumov
Browse files

[PL/TimeLoop] Interface to access the current and end time.

parent dd004d85
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,13 @@ public: ...@@ -49,6 +49,13 @@ public:
~TimeLoop(); ~TimeLoop();
bool executeTimeStep(); bool executeTimeStep();
NumLib::NonlinearSolverStatus const& getNonlinearSolverStatus() const
{
return _nonlinear_solver_status;
}
double endTime() const { return _end_time; }
double currentTime() const { return _current_time; }
private: private:
NumLib::NonlinearSolverStatus doNonlinearIteration( NumLib::NonlinearSolverStatus doNonlinearIteration(
double const t, double const dt, std::size_t const timesteps); double const t, double const dt, std::size_t const timesteps);
......
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