-
-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1863 finish draft of casadi solver, and restructure cpp code
- Loading branch information
1 parent
6910821
commit aa3b66a
Showing
9 changed files
with
327 additions
and
152 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,14 @@ | ||
#ifndef PYBAMM_IDAKLU_HPP | ||
#define PYBAMM_IDAKLU_HPP | ||
|
||
#include "solution.hpp" | ||
|
||
Solution solve_python(np_array t_np, np_array y0_np, np_array yp0_np, | ||
residual_type res, jacobian_type jac, | ||
sensitivities_type sens, | ||
jac_get_type gjd, jac_get_type gjrv, jac_get_type gjcp, | ||
int nnz, event_type event, | ||
int number_of_events, int use_jacobian, np_array rhs_alg_id, | ||
np_array atol_np, double rel_tol, int number_of_parameters); | ||
|
||
#endif // PYBAMM_IDAKLU_HPP |
Oops, something went wrong.