summaryrefslogtreecommitdiff
path: root/packages/sundials/src/helpers.h
diff options
context:
space:
mode:
authorDominic Steinitz <dominic@steinitz.org>2018-03-15 16:31:00 +0000
committerDominic Steinitz <dominic@steinitz.org>2018-03-15 16:31:00 +0000
commit2cb51cd3cbc111a0251560516e772b6cece5446d (patch)
tree5ed3a357e5ceda34e53b9e52c00730bcbc5f1b61 /packages/sundials/src/helpers.h
parentcdc2090e9b6c005249b3b40ebe022bcddc2b22ce (diff)
Now calling a part of the Haskell ODE
Diffstat (limited to 'packages/sundials/src/helpers.h')
-rw-r--r--packages/sundials/src/helpers.h2
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). */
22int f(realtype t, N_Vector y, N_Vector ydot, void *user_data); 22int f(realtype t, N_Vector y, N_Vector ydot, void *user_data);
23 23
24int 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. */
25int Jac(realtype t, N_Vector y, N_Vector fy, SUNMatrix J, 27int 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);