You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_callback(prob::BVProblem) =error("BVP solvers do not support callbacks.")
922
943
944
+
# Helper to create the dictionary that will substitute numeric values for u, p into the algebraic equations in the ODESystem. Used to construct the boundary condition function.
945
+
# Take a system with variables x,y, parameters g
946
+
#
947
+
# 1 + x + y → 1 + u[1][1] + u[1][2]
948
+
# x(0.5) → u(0.5)[1]
949
+
# x(0.5)*g(0.5) → u(0.5)[1]*p[1]
950
+
951
+
functionsub_u_p_into_symeq(eq, u, p, stidxmap, pidxmap)
952
+
iv = ModelingToolkit.get_iv(sys)
953
+
eq = Symbolics.unwrap(eq)
954
+
955
+
stmap =Dict([st => u[1][i] for st => i in stidxmap])
0 commit comments