33 #ifndef DISCRETIZATION_RUNGE_KUTTA_ALIAS_HPP 34 #define DISCRETIZATION_RUNGE_KUTTA_ALIAS_HPP 48 template <std::size_t StateNmSize, std::size_t RKOrder,
typename... RKCoeff>
67 template <std::
size_t StateNmSize>
78 return discretize<StateNmSize, 1, RatioEval<1, 1> >;
82 return discretize<StateNmSize, 2, RatioEval<1, 2>,
89 return discretize<StateNmSize, 4, RatioEval<1, 2>, RatioEval<1, 2>, RatioEval<1, 1>,
91 RatioEval<1, 2>, RatioEval<0, 1>, RatioEval<1, 2>, RatioEval<0, 1>, RatioEval<0, 1>,
97 return discretize<StateNmSize, 4, RatioEval<1, 3>,
RatioEval<2, 3>, RatioEval<1, 1>,
99 RatioEval<1, 3>,
RatioEval<-1, 3>, RatioEval<1, 1>, RatioEval<1, 1>, RatioEval<-1, 1>,
109 #endif // DISCRETIZATION_RUNGE_KUTTA_ALIAS_HPP void discretize(StateSim &_stateSim, const double &_arc)
Templetized generic discretization function.
void discretize< 0, 0 >(StateSim &_stateSim, const double &_arc)
Specialization for using a user-defined discretization function.
DiscretizationType
Several discretization modes.
DiscretizationFuncPtr getDiscrFunc(DiscretizationType _discrType)
Returns a discretization function pointer for pre-defined Runge-Kutta specializations defined in Disc...
std::shared_ptr< StateSim > StateSimPtr
Interface for a state simulator structure that performs numerical integration of not-closed-form stat...
void(*)(StateSim &, const double &) DiscretizationFuncPtr