Allow for intermediate results to be stored during integration #17
Labels
cython
Issue related to cython-based code
enhancement
New feature or request
good first issue
Good for newcomers
nbrk_ode
An issue with the Numba solver
Milestone
In the current implementation of CyRK the only variables that are stored during integration are the dependent-y variables. For example,
However, it is often useful to a user for additional parameters to be stored. For instance,
a
andb
below.The values of
a
andb
are lost after the integration is completed. The user would then need to make separate calls to theg
andh
function to retrieve their values. This is duplicating calculations and forcing the user to write additional code.Propose CyRK stores these intermediate results during integration and returns them to the user.
One way this could be done is by having the user define the differential equation like,
Then both cyrk_ode and nbrk_ode would store the result (probably best as a np.array) and return the result to the user.
To-Do
cyrk_ode
t_eval
nbrk_ode
t_eval
The text was updated successfully, but these errors were encountered: