I try to construct an controlled stepper with boost::odeint using the openmp_range_algebra
typedef vector< complex< double > > state_type;
typedef runge_kutta_dopri5< state_type > error_stepper_type;
typedef controlled_runge_kutta< error_stepper_type > controlled_stepper_type;
controlled_stepper_type controlled_stepper(default_error_checker< double, openmp_range_algebra >;
However, no such constructor exists in odeint and hence the code does not compile.
My question: How can you create a controlled runge_kutte-dopri5 stepper such that I can use it with OpenMP?
I really want to parallelize the adaptive stepper since this is the most time consuming part of my program due to long state vectors (length: 2^20).
Thank you very much for your assistance