-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1071 from isaacsas/tstop_api_funs
add integrator accessors for dispatch purposes
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# the following are setup per how integrators are implemented in OrdinaryDiffEq and | ||
# StochasticDiffEq and provide dispatch points that JumpProcesses and others can use. | ||
|
||
get_tstops(integ::DEIntegrator) = | ||
error("get_tstops not implemented for integrators of type $(nameof(typeof(integ)))") | ||
get_tstops_array(integ::DEIntegrator) = | ||
error("get_tstops_array not implemented for integrators of type $(nameof(typeof(integ)))") | ||
get_tstops_max(integ::DEIntegrator) = | ||
error("get_tstops_max not implemented for integrators of type $(nameof(typeof(integ)))") |