diff options
author | Dominic Steinitz <dominic@steinitz.org> | 2018-03-15 16:31:00 +0000 |
---|---|---|
committer | Dominic Steinitz <dominic@steinitz.org> | 2018-03-15 16:31:00 +0000 |
commit | 2cb51cd3cbc111a0251560516e772b6cece5446d (patch) | |
tree | 5ed3a357e5ceda34e53b9e52c00730bcbc5f1b61 /packages/sundials/src/helpers.h | |
parent | cdc2090e9b6c005249b3b40ebe022bcddc2b22ce (diff) |
Now calling a part of the Haskell ODE
Diffstat (limited to 'packages/sundials/src/helpers.h')
-rw-r--r-- | packages/sundials/src/helpers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/sundials/src/helpers.h b/packages/sundials/src/helpers.h index 87b0c81..3b50163 100644 --- a/packages/sundials/src/helpers.h +++ b/packages/sundials/src/helpers.h | |||
@@ -21,6 +21,8 @@ int check_flag(void *flagvalue, const char *funcname, int opt); | |||
21 | /* f routine to compute the ODE RHS function f(t,y). */ | 21 | /* f routine to compute the ODE RHS function f(t,y). */ |
22 | int f(realtype t, N_Vector y, N_Vector ydot, void *user_data); | 22 | int f(realtype t, N_Vector y, N_Vector ydot, void *user_data); |
23 | 23 | ||
24 | int FARKfi(realtype t, N_Vector y, N_Vector ydot, void *user_data); | ||
25 | |||
24 | /* Jacobian routine to compute J(t,y) = df/dy. */ | 26 | /* Jacobian routine to compute J(t,y) = df/dy. */ |
25 | int Jac(realtype t, N_Vector y, N_Vector fy, SUNMatrix J, | 27 | int Jac(realtype t, N_Vector y, N_Vector fy, SUNMatrix J, |
26 | void *user_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3); | 28 | void *user_data, N_Vector tmp1, N_Vector tmp2, N_Vector tmp3); |