Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
11d4e2e4
Commit
11d4e2e4
authored
Mar 10, 2021
by
Kilian Weishaupt
Browse files
[newton] Add public interface for getting/setting the retryTimeStepReductionFactor_
parent
204e62bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/nonlinear/newtonsolver.hh
View file @
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:
/*!
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment