Stop integration in odeint with stiff ode
问题 I want to solve a stiff ode with odeint. I was following this (rosenbrock4_dense_output stepper) but, my function can grow pretty quickly so I want to stop the integration if x(t)>xMAX. In this question, they have a solution for it but since I'm new with c++ I don't know how to implement this when using a rosenbrock4_dense_output stepper. I would like to see how to write this specifically for rosenbrock4_dense_output stepper. 回答1: Currently, this is not easily possible with odeint. If you can