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

Class template dense_output_runge_kutta<Stepper, explicit_controlled_stepper_fsal_tag>

Boost , Chapter 1. Boost.Numeric.Odeint , Header <boost/numeric/odeint/stepper/dense_output_runge_kutta.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++ LibrariesHomeLibrariesPeopleFAQMore

PrevUpHomeNext

Class template dense_output_runge_kutta<Stepper, explicit_controlled_stepper_fsal_tag>

boost::numeric::odeint::dense_output_runge_kutta<Stepper, explicit_controlled_stepper_fsal_tag> — The class representing dense-output Runge-Kutta steppers with FSAL property.

Synopsis

// In header: <boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp>
template<typename Stepper>
class dense_output_runge_kutta<Stepper, explicit_controlled_stepper_fsal_tag> {
public:
  // types
  typedef Stepper                               controlled_stepper_type;
  typedef controlled_stepper_type::stepper_type stepper_type;
  typedef stepper_type::state_type              state_type;
  typedef stepper_type::wrapped_state_type      wrapped_state_type;
  typedef stepper_type::value_type              value_type;
  typedef stepper_type::deriv_type              deriv_type;
  typedef stepper_type::wrapped_deriv_type      wrapped_deriv_type;
  typedef stepper_type::time_type               time_type;
  typedef stepper_type::algebra_type            algebra_type;
  typedef stepper_type::operations_type         operations_type;
  typedef stepper_type::resizer_type            resizer_type;
  typedef dense_output_stepper_tag              stepper_category;
  typedef dense_output_runge_kutta< Stepper >   dense_output_stepper_type;
  // construct/copy/destruct
  dense_output_runge_kutta(const controlled_stepper_type & = controlled_stepper_type());
  // public member functions
  template<typename StateType>
    void initialize(const StateType &, time_type, time_type);
  template<typename System> std::pair< time_type, time_type > do_step(System);
  template<typename StateOut> void calc_state(time_type, StateOut &) const;
  template<typename StateOut>
    void calc_state(time_type, const StateOut &) const;
  template<typename StateIn> bool resize(const StateIn &);
  template<typename StateType> void adjust_size(const StateType &);
  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;
  // private member functions
  state_type & get_current_state(void);
  const state_type & get_current_state(void) const;
  state_type & get_old_state(void);
  const state_type & get_old_state(void) const;
  deriv_type & get_current_deriv(void);
  const deriv_type & get_current_deriv(void) const;
  deriv_type & get_old_deriv(void);
  const deriv_type & get_old_deriv(void) const;
  void toggle_current_state(void);
};

Description

Интерфейс такой же, как дляdense_output_runge_kutta< Stepper , stepper_tag >. Этот класс обеспечивает функциональность плотного вывода на основе методов с контролируемым размером шага

Template Parameters

  1. typenameStepper

    Шаговой тип базового алгоритма.

dense_output_runge_kutta public construct/copy/destruct

  1. <
    dense_output_runge_kutta(constcontrolled_stepper_type&stepper=controlled_stepper_type());
    >

dense_output_runge_kutta public member functions

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

dense_output_runge_kutta private member functions

  1. <
    state_type&get_current_state(void);
    >
  2. <
    conststate_type&get_current_state(void)const;
    >
  3. <
    state_type&get_old_state(void);
    >
  4. <
    conststate_type&get_old_state(void)const;
    >
  5. <
    deriv_type&get_current_deriv(void);
    >
  6. <
    constderiv_type&get_current_deriv(void)const;
    >
  7. <
    deriv_type&get_old_deriv(void);
    >
  8. <
    constderiv_type&get_old_deriv(void)const;
    >
  9. <
    voidtoggle_current_state(void);
    >

PrevUpHomeNext

Статья Class template dense_output_runge_kutta<Stepper, explicit_controlled_stepper_fsal_tag> раздела Chapter 1. Boost.Numeric.Odeint Header <boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp> может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Header <boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp> ::


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 23:10:52/0.0091512203216553/1