33 opts->
Y(y, x[0], x[1], x + 2, u, p);
40 hyb_bool d = opts->
D(x[0], x[1], x + 2, u, p);
41 #if HYB_JUMP_LOGIC == 2 42 hyb_bool c = opts->
C(x[0], x[1], x + 2, u, p);
46 #if HYB_JUMP_LOGIC == 1 48 #elif HYB_JUMP_LOGIC == 2 55 opts->
J(xp + 2, x[0], x[1], x + 2, u, p);
58 rk4_errorcode rk4_ret = rk4(&rk4_o, xp, tau, x, u, p,
HYB_SEND_OPTS(opts));
hyb_errorcode hyb_main_loop(hyb_opts *opts, hyb_float *y, hyb_float *xp, hyb_float tau, const hyb_float *x, const hyb_float *u, const hyb_float **p)
Hybrid system main loop.
Options structure for the hybrid system.
hyb_bool
libhybrid boolean type is actually an enum
void hyb_flow_map_wrapper(hyb_float *dx, hyb_float tau, const hyb_float *x, const hyb_float *u, const hyb_float **p, void *vopts)
Internal callback for discretization step.