-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update sundials example --------- Co-authored-by: David J. Gardner <gardner48@llnl.gov>
- Loading branch information
Showing
5 changed files
with
108 additions
and
116 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
n_cell = 32 | ||
max_grid_size = 16 | ||
|
||
nsteps = 1000 | ||
plot_int = 100 | ||
|
||
dt = 1.e-5 | ||
|
||
# Use adaptive time stepping and set integrator relative and absolute tolerances | ||
# adapt_dt = true | ||
# reltol = 1.0e-4 | ||
# abstol = 1.0e-9 | ||
|
||
# INTEGRATION | ||
# integration.type can take on the following values: | ||
# 0 or "ForwardEuler" => Native AMReX Forward Euler integrator | ||
# 1 or "RungeKutta" => Native AMReX Explicit Runge Kutta controlled by integration.rk.type | ||
# 2 or "SUNDIALS" => SUNDIALS backend controlled by integration.sundials.type | ||
# | ||
# If using the SUNDIALS Submodule, then compile with USE_SUNDIALS=TRUE or | ||
# AMReX_SUNDIALS=ON | ||
integration.type = SUNDIALS | ||
|
||
# Set the SUNDIALS method type: | ||
# ERK = Explicit Runge-Kutta method | ||
# DIRK = Diagonally Implicit Runge-Kutta method | ||
# IMEX-RK = Implicit-Explicit Additive Runge-Kutta method | ||
# EX-MRI = Explicit Multirate Infatesimal method | ||
# IM-MRI = Implicit Multirate Infatesimal method | ||
# IMEX-MRI = Implicit-Explicit Multirate Infatesimal method | ||
# | ||
# Optionally select a specific SUNDIALS method by name, see the SUNDIALS | ||
# documentation for the supported method names | ||
|
||
# Use the SUNDIALS default method for the chosen type (fixed or adaptive step sizes) | ||
integration.sundials.type = ERK | ||
|
||
# Use forward Euler (fixed step sizes only) | ||
# integration.sundials.type = ERK | ||
# integration.sundials.method = ARKODE_FORWARD_EULER_1_1 | ||
|
||
# Use backward Euler (fixed step sizes only) | ||
# integration.sundials.type = DIRK | ||
# integration.sundials.method = ARKODE_BACKWARD_EULER_1_1 |
This file was deleted.
Oops, something went wrong.
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