PrevUpHomeNext

Stepper

This concepts specifies the interface a simple stepper has to fullfill to be used within the integrate functions.

Description

The basic stepper concept. A basic stepper following this Stepper concept is able to perform a single step of the solution x(t) of an ODE to obtain x(t+dt) using a given step size dt. Basic steppers can be Runge Kutta steppers, symplectic steppers as well as implicit steppers. Depending on the actual stepper, the ODE is defined as System, Symplectic_System, Simple_Symplectic_System or Implicit_System. Note that all error steppers are also basic steppers.

Refinement of
Notation

Stepper

A type that is a model of Stepper

State

A type representing the state x of the ODE

Time

A type representing the time t of the ODE

stepper

An object of type Stepper

x

Object of type State

t, dt

Objects of type Time

sys

An object defining the ODE. Depending on the Stepper this might be a model of System, Symplectic_System, Simple_Symplectic_System or Implicit_System

Valid Expressions

Name

Expression

Type

Semantics

Do step

stepper.do_step( sys , x , t , dt )

void

Performs one step of step size dt. The newly obtained state is written in place in x.

Do step with reference

stepper.do_step( boost::ref(sys) , x , t , dt )

void

Performs one step of step size dt. The newly obtained state is written in place in x.

Models

PrevUpHomeNext