feat: support for model-requested horizons

This commit is contained in:
Henri Saudubray 2025-06-25 10:41:37 +02:00
parent 685de96eec
commit ac4e066bf8
Signed by: hms
GPG key ID: 7065F57ED8856128
24 changed files with 170 additions and 93 deletions

View file

@ -9,8 +9,7 @@ let hybrid ball (y0, y'0) = (y, y', z) where
let hybrid main () =
let der t = 1.0 init 0.0 in
let rec der p = 1.0 init -0.01 reset s -> -0.01
and s = up(p) in
let s = period(0.01) in
let (y, y', z) = ball (y0, y'0) in
present z | s -> (
print_float t;