Ana içeriğe geç

standard.toml

Kaynak: src/dynlib/models/map/standard.toml

#! dynlib
[model]
type = "map"
name = "Standard Map"
dtype = "float64"

[states]
p     = 0.0
theta = 0.1

[params]
K  = 0.971635

[equations.rhs]
p     = "((p + K * sin(theta)) + pi) % (2*pi) - pi"
theta = "(theta + p + K * sin(theta)) % (2*pi)"

[equations.jacobian]
expr = [
    ["1.0", "K * cos(theta)"],
    ["1.0", "1.0 + K * cos(theta)"]
]