I need to solve a boundary value problem (BVP) of second order, where the equation depends on several know parameters, which are geometric parameters and material constants.
I would like to solve this equation for several combinations of values of the known parameters. Is it possible to do this using solve_bvp()
? I am thinking along the lines of the args
parameter in solve_ivp()
.
In case my question is unclear, imagine I want to solve the Bratu equation from the solve_bvp() documentation for several values of k
, without having to each time change the value of k
in the function fun(x,y)
. How can this be accomplished?
f(x,y,p)
wherep
will be an array of additional parameters. So you could just passk
in as an element ofp
. $\endgroup$