-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The solver method applied in solve_ivp should be set in parameters.py…
…. Running marlpde as from the previous commit led to 'RuntimeError: Encountered Not-A-Number (NaN) in evolution' (this is with 'LSODA'). Stability was added by providing the equivalent of a Jacobian sparsity matrix for 'LSODA' which is done by setting 'lband' and 'uband'. This not only provided stability but also led to a substantial performance increase!
- Loading branch information
1 parent
b6b3df0
commit cd364b7
Showing
2 changed files
with
10 additions
and
1 deletion.
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