![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
Class template checked_stepper<DenseOutStepper, Checker, dense_output_stepper_tag>Boost , Chapter 1. Boost.Numeric.Odeint , Header <boost/numeric/odeint/integrate/check_adapter.hpp>
|
![]() |
Home | Libraries | People | FAQ | More |
boost::numeric::odeint::checked_stepper<DenseOutStepper, Checker, dense_output_stepper_tag> — Adapter to combine dense out stepper and checker.
// In header: <boost/numeric/odeint/integrate/check_adapter.hpp> template<typename DenseOutStepper, typename Checker> class checked_stepper<DenseOutStepper, Checker, dense_output_stepper_tag> { public: // types typedef DenseOutStepper stepper_type; typedef Checker checker_type; typedef stepper_type::state_type state_type; typedef stepper_type::value_type value_type; typedef stepper_type::deriv_type deriv_type; typedef stepper_type::time_type time_type; // construct/copy/destruct checked_stepper(stepper_type &, checker_type &); // public member functions template<typename System> std::pair< time_type, time_type > do_step(System); template<typename StateType> void initialize(const StateType &, time_type, time_type); template<typename StateOut> void calc_state(time_type, StateOut &) const; template<typename StateOut> void calc_state(time_type, const StateOut &) const; const state_type & current_state(void) const; time_type current_time(void) const; const state_type & previous_state(void) const; time_type previous_time(void) const; time_type current_time_step(void) const; };
checked_stepper
public member functionstemplate<typenameSystem> std::pair<time_type,time_type>do_step(Systemsystem);>
template<typenameStateType> voidinitialize(constStateType&x0,time_typet0,time_typedt0);>
template<typenameStateOut>voidcalc_state(time_typet,StateOut&x)const;>
template<typenameStateOut> voidcalc_state(time_typet,constStateOut&x)const;>
conststate_type¤t_state(void)const;>
time_typecurrent_time(void)const;>
conststate_type&previous_state(void)const;>
time_typeprevious_time(void)const;>
time_typecurrent_time_step(void)const;>
Статья Class template checked_stepper<DenseOutStepper, Checker, dense_output_stepper_tag> раздела Chapter 1. Boost.Numeric.Odeint Header <boost/numeric/odeint/integrate/check_adapter.hpp> может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.
:: Главная :: Header <boost/numeric/odeint/integrate/check_adapter.hpp> ::
реклама |