Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Class template checked_stepper<DenseOutStepper, Checker, dense_output_stepper_tag>

Boost , Chapter 1. Boost.Numeric.Odeint , Header <boost/numeric/odeint/integrate/check_adapter.hpp>

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template checked_stepper<DenseOutStepper, Checker, dense_output_stepper_tag>

boost::numeric::odeint::checked_stepper<DenseOutStepper, Checker, dense_output_stepper_tag> — Adapter to combine dense out stepper and checker.

Synopsis

// 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;
};

Description

checked_stepper public construct/copy/destruct

  1. <
    checked_stepper(stepper_type&stepper,checker_type&checker);
    >Постройте проверенный шаг.

checked_stepper public member functions

  1. <
    template<typenameSystem>
     std::pair<time_type,time_type>do_step(Systemsystem);
    >
  2. <
    template<typenameStateType>
     voidinitialize(constStateType&x0,time_typet0,time_typedt0);
    >
  3. <
    template<typenameStateOut>voidcalc_state(time_typet,StateOut&x)const;
    >
  4. <
    template<typenameStateOut>
     voidcalc_state(time_typet,constStateOut&x)const;
    >
  5. <
    conststate_type&current_state(void)const;
    >
  6. <
    time_typecurrent_time(void)const;
    >
  7. <
    conststate_type&previous_state(void)const;
    >
  8. <
    time_typeprevious_time(void)const;
    >
  9. <
    time_typecurrent_time_step(void)const;
    >

PrevUpHomeNext

Статья 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> ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 22:08:35/0.0085980892181396/1