Commit 11d4e2e4 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

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

parent 204e62bb
...@@ -782,6 +782,18 @@ public: ...@@ -782,6 +782,18 @@ public:
void detachConvergenceWriter() void detachConvergenceWriter()
{ convergenceWriter_ = nullptr; } { 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: 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