Skip to content
Snippets Groups Projects
Commit 0f574cba authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[NL] TS; constify isSolutionErrorComputationNeeded

parent db675958
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ public:
_is_accepted = accepted;
}
bool isSolutionErrorComputationNeeded() override { return true; }
bool isSolutionErrorComputationNeeded() const override { return true; }
virtual bool canReduceTimestepSize() const override;
......
......@@ -97,7 +97,7 @@ public:
bool accepted() const override;
void setAcceptedOrNot(bool accepted) override { _accepted = accepted; };
bool isSolutionErrorComputationNeeded() override { return true; }
bool isSolutionErrorComputationNeeded() const override { return true; }
bool canReduceTimestepSize() const override;
......
......@@ -111,7 +111,7 @@ public:
/// Get a flag to indicate whether this algorithm needs to compute
/// solution error. The default return value is false.
virtual bool isSolutionErrorComputationNeeded() { return false; }
virtual bool isSolutionErrorComputationNeeded() const { return false; }
/// Query the timestepper if further time step size reduction is possible.
virtual bool canReduceTimestepSize() const { return false; }
......
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