Passing runtime parameters to odeint integrator

后端 未结 2 612
闹比i
闹比i 2021-01-20 08:39

I would like to use the odeint boost integrator to look at geodesic curves in the Kerr spacetime. This necessitates running an integrator for a variety of parameter values (

2条回答
  •  隐瞒了意图╮
    2021-01-20 09:05

    I ran into a similar problem. What I did was defined global vars so that my function could access the variable I passed via argvs. Let me know if you need example.

提交回复
热议问题