@@ -21,14 +21,14 @@ class JAXModel_TPL_MODEL_NAME(JAXModel):
2121 def __init__ (self ):
2222 self .jax_py_file = Path (__file__ ).resolve ()
2323 self .nns = {TPL_NETS }
24- self .parameters = TPL_P_VALUES
24+ self .parameters = TPL_ALL_P_VALUES
2525 super ().__init__ ()
2626
2727 def _xdot (self , t , x , args ):
2828 p , tcl , h = args
2929
3030 TPL_X_SYMS = x
31- TPL_P_SYMS = p
31+ TPL_ALL_P_SYMS = p
3232 TPL_TCL_SYMS = tcl
3333 TPL_H_SYMS = h
3434 TPL_W_SYMS = self ._w (t , x , p , tcl , h )
@@ -39,7 +39,7 @@ def _xdot(self, t, x, args):
3939
4040 def _w (self , t , x , p , tcl , h ):
4141 TPL_X_SYMS = x
42- TPL_P_SYMS = p
42+ TPL_ALL_P_SYMS = p
4343 TPL_TCL_SYMS = tcl
4444 TPL_H_SYMS = h
4545
@@ -48,7 +48,7 @@ def _w(self, t, x, p, tcl, h):
4848 return TPL_W_RET
4949
5050 def _x0 (self , t , p ):
51- TPL_P_SYMS = p
51+ TPL_ALL_P_SYMS = p
5252
5353 TPL_X0_EQ
5454
@@ -71,15 +71,15 @@ def _x_rdata(self, x, tcl):
7171
7272 def _tcl (self , x , p ):
7373 TPL_X_RDATA_SYMS = x
74- TPL_P_SYMS = p
74+ TPL_ALL_P_SYMS = p
7575
7676 TPL_TOTAL_CL_EQ
7777
7878 return TPL_TOTAL_CL_RET
7979
8080 def _y (self , t , x , p , tcl , h , op ):
8181 TPL_X_SYMS = x
82- TPL_P_SYMS = p
82+ TPL_ALL_P_SYMS = p
8383 TPL_W_SYMS = self ._w (t , x , p , tcl , h )
8484 TPL_OP_SYMS = op
8585
@@ -88,7 +88,7 @@ def _y(self, t, x, p, tcl, h, op):
8888 return TPL_Y_RET
8989
9090 def _sigmay (self , y , p , np ):
91- TPL_P_SYMS = p
91+ TPL_ALL_P_SYMS = p
9292
9393 TPL_Y_SYMS = y
9494 TPL_NP_SYMS = np
@@ -110,15 +110,15 @@ def _nllh(self, t, x, p, tcl, h, my, iy, op, np):
110110 return TPL_JY_RET .at [iy ].get ()
111111
112112 def _known_discs (self , p ):
113- TPL_P_SYMS = p
113+ TPL_ALL_P_SYMS = p
114114
115115 return TPL_ROOTS
116116
117117 def _root_cond_fn (self , t , y , args , ** _ ):
118118 p , tcl , h = args
119119
120120 TPL_X_SYMS = y
121- TPL_P_SYMS = p
121+ TPL_ALL_P_SYMS = p
122122 TPL_TCL_SYMS = tcl
123123 TPL_H_SYMS = h
124124 TPL_W_SYMS = self ._w (t , y , p , tcl , h )
@@ -130,7 +130,7 @@ def _root_cond_fn(self, t, y, args, **_):
130130
131131 def _delta_x (self , y , p , tcl ):
132132 TPL_X_SYMS = y
133- TPL_P_SYMS = p
133+ TPL_ALL_P_SYMS = p
134134 TPL_TCL_SYMS = tcl
135135 # FIXME: workaround until state from event time is properly passed
136136 TPL_X_OLD_SYMS = y
@@ -157,7 +157,7 @@ def state_ids(self):
157157
158158 @property
159159 def parameter_ids (self ):
160- return TPL_P_IDS
160+ return TPL_ALL_P_IDS
161161
162162 @property
163163 def expression_ids (self ):
0 commit comments