File runge_kutta.hpp

template<typename Point, typename NT, typename Polytope, typename func>
struct RKODESolver

Public Types

typedef std::vector<Point> pts
typedef std::vector<pts> ptsv
typedef std::vector<Polytope*> bounds
typedef std::vector<NT> coeffs
typedef std::vector<coeffs> scoeffs
typedef Polytope::VT VT

Public Functions

inline RKODESolver(NT initial_time, NT step, pts initial_state, func oracle, bounds boundaries)
inline unsigned int order()
inline void step(int k, bool accepted)
inline void print_state()
inline void steps(int num_steps, bool accepted)
inline Point get_state(int index)
inline void set_state(int index, Point p)

Public Members

unsigned int dim
NT eta
NT t
NT t_prev
VT Ar
VT Av
func F
bounds Ks
pts xs
ptsv ks
Point y
Point x_prev_bound
int prev_facet = -1
scoeffs as
coeffs cs
coeffs bs