Skip to content

Commit

Permalink
Rename SUNStepper Jacobian typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Roberts committed Oct 29, 2024
1 parent 91900f5 commit 3a26598
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions include/sundials/sundials_stepper.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
extern "C" {
#endif

typedef int (*SUNJacFn)(sunrealtype t, N_Vector y, N_Vector fy, SUNMatrix Jac,
void* user_data, N_Vector tmp1, N_Vector tmp2,
N_Vector tmp3);
typedef int (*SUNRhsJacFn)(sunrealtype t, N_Vector y, N_Vector fy,
SUNMatrix Jac, void* user_data, N_Vector tmp1,
N_Vector tmp2, N_Vector tmp3);

typedef int (*SUNJacTimesFn)(N_Vector v, N_Vector Jv, sunrealtype t, N_Vector y,
N_Vector fy, void* user_data, N_Vector tmp);
typedef int (*SUNRhsJacTimesFn)(N_Vector v, N_Vector Jv, sunrealtype t,
N_Vector y, N_Vector fy, void* user_data,
N_Vector tmp);

typedef _SUNDIALS_STRUCT_ SUNStepper_* SUNStepper;

Expand Down

0 comments on commit 3a26598

Please sign in to comment.