Using openmp with odeint and adaptative step sizes
问题 I am trying to use openmp to parallelize my code. Everything works just fine when I use constant step sizes, however when I run the same code using an adaptative stepper I get errors that I don't understand. Here are the essential parts of the code : using namespace std; using namespace boost::numeric::odeint; const int jmax = 10; typedef double value_type; typedef boost::array<value_type ,2*(jmax+1) > state_type; //The step function void rhs( const state_type A , state_type &dAdt , const