Commit 75c43d4b authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'feature/newton-retry-factor' into 'master'

[newton] Add public interface for getting/setting the retryTimeStepReductionFactor_

See merge request !2521
parents 204e62bb 11d4e2e4
......@@ -782,6 +782,18 @@ public:
void detachConvergenceWriter()
{ convergenceWriter_ = nullptr; }
/*!
* \brief Return the factor for reducing the time step after a Newton iteration has failed
*/
Scalar retryTimeStepReductionFactor() const
{ return retryTimeStepReductionFactor_; }
/*!
* \brief Set the factor for reducing the time step after a Newton iteration has failed
*/
void setRetryTimeStepReductionFactor(const Scalar factor)
{ retryTimeStepReductionFactor_ = factor; }
protected:
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment