-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP]Nonlinear solver: deal with failure
This introduces a new setting to decide what should happen if the nonlinear solver fails to converge. The old behavior was to "just continue", which is an unsafe choice. Therefor, I am changing the default. This is not backwards compatible, of course.
- Loading branch information
Showing
9 changed files
with
388 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "../benchmarks/nonlinear_channel_flow/simple_nonlinear.cc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Check that nonlinear solver strategy "cut timestep size" works | ||
# | ||
# Like iterated_advection_and_stokes_residual.prm | ||
|
||
include $ASPECT_SOURCE_DIR/tests/iterated_advection_and_stokes_residual.prm | ||
|
||
set Nonlinear solver failure strategy = cut timestep size | ||
set Max nonlinear iterations = 7 | ||
|
||
set Dimension = 2 | ||
set End time = 20000 |
Oops, something went wrong.