-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a big set of features, most of which was required to support solving the adjoint equations: * Generalises the sensitivitity and adjoint equations into `AugmentedOdeEquations`, a set of n equations with the same jacobian as the main equations * Splits the `OdeEquations` into multiple traits `OdeEquations` (for explicit solvers), `OdeEquationsImplicit` (for implicit solvers, currently all of them), `OdeEquationsSens` (if you want to calculate forward sensitivitites), `OdeEquationsAdjoint` (if you want to calculate adjoint sensitivities) * Solvers can now work in reverse time (many equations will be unstable, but this is used to solve the adjoint equations) * (internal) nonlinear and linear solvers no longer have an `Op` as a generic parameter, so they can be reused for different operators (as long as the number of rows/cols are the same) * Solvers can be checkpointed so they can be re-started from a checkpoint * Hermite interpolation struct added for saving an interpolating along a solution trajectory * Solvers can integrate an output function along the solution trajectory * output function integration, adjoint and forward sensitivity integration can be added or removed from error control for all the solvers. Tolerances can be set via the builder or `OdeSolverEquation` structs.
- Loading branch information
1 parent
cfacee1
commit 29a29ae
Showing
72 changed files
with
6,057 additions
and
2,212 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
Oops, something went wrong.