@@ -38,7 +38,7 @@ extern void dJydy_rowvals_model_dirac_py(SUNMatrixWrapper &rowvals, int index);
3838
3939
4040
41- extern void root_model_dirac_py (realtype *root, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *tcl);
41+ extern void root_model_dirac_py (realtype *root, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *w, const realtype * tcl);
4242
4343
4444
@@ -77,11 +77,11 @@ extern void xdot_model_dirac_py(realtype *xdot, const realtype t, const realtype
7777extern void y_model_dirac_py (realtype *y, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *w);
7878
7979
80- extern void stau_model_dirac_py (realtype *stau, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *dx, const realtype *tcl, const realtype *sx, const int ip, const int ie);
80+ extern void stau_model_dirac_py (realtype *stau, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *w, const realtype * dx, const realtype *tcl, const realtype *sx, const int ip, const int ie);
8181extern void deltax_model_dirac_py (double *deltax, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const int ie, const realtype *xdot, const realtype *xdot_old, const realtype *x_old);
8282extern void deltasx_model_dirac_py (realtype *deltasx, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *w, const int ip, const int ie, const realtype *xdot, const realtype *xdot_old, const realtype *sx, const realtype *stau, const realtype *tcl, const realtype *x_old);
8383
84- extern void deltaqB_model_dirac_py (realtype *deltaqB, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *dx, const int ip, const int ie, const realtype *xdot, const realtype *xdot_old, const realtype *x_old, const realtype *xB);
84+ extern void deltaqB_model_dirac_py (realtype *deltaqB, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *w, const realtype * dx, const int ip, const int ie, const realtype *xdot, const realtype *xdot_old, const realtype *x_old, const realtype *xB);
8585
8686extern void x_solver_model_dirac_py (realtype *x_solver, const realtype *x_rdata);
8787
@@ -99,7 +99,7 @@ extern void x_solver_model_dirac_py(realtype *x_solver, const realtype *x_rdata)
9999extern std::vector<HermiteSpline> create_splines_model_dirac_py (const realtype *p, const realtype *k);
100100
101101
102- extern std::vector<std::vector<realtype>> explicit_roots_model_dirac_py (const realtype *p, const realtype *k);
102+ extern std::vector<std::vector<realtype>> explicit_roots_model_dirac_py (const realtype *p, const realtype *k, const realtype *w );
103103/* *
104104 * @brief AMICI-generated model subclass.
105105 */
@@ -201,11 +201,11 @@ class Model_model_dirac_py : public amici::Model_ODE {
201201 }
202202
203203
204- void fdeltaxB (realtype *deltaxB, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *dx, const int ie, const realtype *xdot, const realtype *xdot_old, const realtype *x_old, const realtype *xB, const realtype *tcl) override {}
204+ void fdeltaxB (realtype *deltaxB, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *w, const realtype * dx, const int ie, const realtype *xdot, const realtype *xdot_old, const realtype *x_old, const realtype *xB, const realtype *tcl) override {}
205205
206206
207- void fdeltaqB (realtype *deltaqB, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *dx, const int ip, const int ie, const realtype *xdot, const realtype *xdot_old, const realtype *x_old, const realtype *xB) override {
208- deltaqB_model_dirac_py (deltaqB, t, x, p, k, h, dx, ip, ie, xdot, xdot_old, x_old, xB);
207+ void fdeltaqB (realtype *deltaqB, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *w, const realtype * dx, const int ip, const int ie, const realtype *xdot, const realtype *xdot_old, const realtype *x_old, const realtype *xB) override {
208+ deltaqB_model_dirac_py (deltaqB, t, x, p, k, h, w, dx, ip, ie, xdot, xdot_old, x_old, xB);
209209 }
210210
211211
@@ -314,8 +314,8 @@ class Model_model_dirac_py : public amici::Model_ODE {
314314 void fdzdx (realtype *dzdx, const int ie, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h) override {}
315315
316316
317- void froot (realtype *root, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *tcl) override {
318- root_model_dirac_py (root, t, x, p, k, h, tcl);
317+ void froot (realtype *root, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *w, const realtype * tcl) override {
318+ root_model_dirac_py (root, t, x, p, k, h, w, tcl);
319319 }
320320
321321
@@ -330,8 +330,8 @@ class Model_model_dirac_py : public amici::Model_ODE {
330330 void fsigmaz (realtype *sigmaz, const realtype t, const realtype *p, const realtype *k) override {}
331331
332332
333- void fstau (realtype *stau, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *dx, const realtype *tcl, const realtype *sx, const int ip, const int ie) override {
334- stau_model_dirac_py (stau, t, x, p, k, h, dx, tcl, sx, ip, ie);
333+ void fstau (realtype *stau, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, const realtype *w, const realtype * dx, const realtype *tcl, const realtype *sx, const int ip, const int ie) override {
334+ stau_model_dirac_py (stau, t, x, p, k, h, w, dx, tcl, sx, ip, ie);
335335 }
336336
337337 void fsx0 (realtype *sx0, const realtype t, const realtype *x, const realtype *p, const realtype *k, const int ip) override {}
@@ -398,8 +398,8 @@ class Model_model_dirac_py : public amici::Model_ODE {
398398 void fdtotal_cldx_rdata_rowvals (SUNMatrixWrapper &rowvals) override {}
399399
400400
401- std::vector<std::vector<realtype>> fexplicit_roots (const realtype *p, const realtype *k) override {
402- return explicit_roots_model_dirac_py (p, k);
401+ std::vector<std::vector<realtype>> fexplicit_roots (const realtype *p, const realtype *k, const realtype *w ) override {
402+ return explicit_roots_model_dirac_py (p, k, w );
403403 }
404404
405405
@@ -544,7 +544,7 @@ class Model_model_dirac_py : public amici::Model_ODE {
544544 * @return AMICI git commit hash
545545 */
546546 std::string get_amici_commit () const override {
547- return " 40190b46b1b398e321314ded4169fe910b37c484 " ;
547+ return " 3fb84cd5df12639f17b179d681e8ba4b5be8a160 " ;
548548 }
549549
550550 bool has_quadratic_llh () const override {
0 commit comments