You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
100: Make user-facing types r=charleskawczynski a=charleskawczynski
This PR:
- Adds a new abstract type `AbstractImexARKAlgorithm <: DistributedODEAlgorithm`
- Adds user-facing types for all of the imex ark algorithms, all of which subtype `AbstractImexARKAlgorithm`
- Defines `theoretical_convergence_order` for these new types
- Adjusts the tests accordingly
This should all help with two things
- Initializing algorithms. One issue we've had in ClimaAtmos is that initializing an algorithm requires first inspecting if an algorithm is a function, in which case assumptions are made about how that function is called. This is really clunky, and usage requires understanding ClimaTimeStepper internals.
- Documentation. Several of these existing "algorithms", are just constants pointing to a generic tableau specific to that algorithm. Documenting these algorithms is part of our requirements, so this must be redesigned.
This should help us more easily peel off parts from the ClimaAtmos PR, and the revamp PR.
Co-authored-by: Charles Kawczynski <[email protected]>
Copy file name to clipboardExpand all lines: docs/src/algorithms.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ForwardEulerODEFunction
16
16
17
17
```@docs
18
18
IMEXARKAlgorithm
19
-
make_IMEXARKAlgorithm
19
+
make_IMEXARKTableau
20
20
```
21
21
22
22
The convergence orders of the provided methods are verified using test cases from [ARKode](http://runge.math.smu.edu/ARKode_example.pdf). Plots of the solutions to these test cases, the errors of these solutions, and the convergence orders with respect to `dt` are shown below.
0 commit comments