AnimaL |
Tutorial |
Documentation |
#include <stepper.h>
Inheritance diagram for animal::integration::Stepper_Function< SolverF, HSmallerF, HLargerF, IsDifferentF >:
Declaration/Definition file: animal/integration/stepper.h (creation date: March 28, 2000).
Definition at line 31 of file stepper.h.
Public Types | |
typedef SolverF::Real | Real |
time | |
typedef SolverF::Model | Model |
additional date | |
typedef SolverF::State | State |
function value | |
typedef SolverF::Derivative | Derivative |
function derivative | |
Public Member Functions | |
Stepper_Function () | |
Default constructor: does nothing. | |
Stepper_Function (const SolverF &slf, const HSmallerF &hsf, const HLargerF &hlf, const IsDifferentF &isdf) | |
Constructor. | |
Call operator | |
void | operator() (const Model &M, State &S, const Real t, const Real htry, Real &hdid, Real &hnext) |
Compute one stepper iteration, where htry is the stepsize to be attempted (initial trial value), hdid is the stepsize that was actually accomplished and hnext is the estimated next stepsize. | |
void | operator() (const Model &M, const State &initial_S, State &final_S, const Real t, const Real htry, Real &hdid, Real &hnext) |
Public Attributes | |
SolverF | solve |
the solver used for a given step | |
HSmallerF | hsmaller |
decide wether time step must be decreased | |
HLargerF | hlarger |
decide wether time step must be increased | |
IsDifferentF | isDifferent |
decide wether two states differ too much |
|
function derivative
|
|
additional date
|
|
time
|
|
function value
|
|
Default constructor: does nothing.
|
|
|
Reimplemented in animal::integration::Step_Doubling< SolverF, HSmallerF, HLargerF, IsDifferentF >, and animal::integration::Step_Back_And_Forth< SolverF, HSmallerF, HLargerF, IsDifferentF >. |
|
Compute one stepper iteration, where htry is the stepsize to be attempted (initial trial value), hdid is the stepsize that was actually accomplished and hnext is the estimated next stepsize.
Reimplemented in animal::integration::Step_Doubling< SolverF, HSmallerF, HLargerF, IsDifferentF >, and animal::integration::Step_Back_And_Forth< SolverF, HSmallerF, HLargerF, IsDifferentF >. |
|
decide wether time step must be increased
Definition at line 40 of file stepper.h. Referenced by animal::integration::Step_Back_And_Forth< SolverF, HSmallerF, HLargerF, IsDifferentF >::operator()(), animal::integration::Step_Doubling< SolverF, HSmallerF, HLargerF, IsDifferentF >::operator()(), and animal::integration::Stepper_Function< SolverF, HSmallerF, HLargerF, IsDifferentF >::Stepper_Function(). |
|
decide wether time step must be decreased
Definition at line 39 of file stepper.h. Referenced by animal::integration::Step_Back_And_Forth< SolverF, HSmallerF, HLargerF, IsDifferentF >::operator()(), animal::integration::Step_Doubling< SolverF, HSmallerF, HLargerF, IsDifferentF >::operator()(), and animal::integration::Stepper_Function< SolverF, HSmallerF, HLargerF, IsDifferentF >::Stepper_Function(). |
|
decide wether two states differ too much
Definition at line 41 of file stepper.h. Referenced by animal::integration::Step_Back_And_Forth< SolverF, HSmallerF, HLargerF, IsDifferentF >::operator()(), animal::integration::Step_Doubling< SolverF, HSmallerF, HLargerF, IsDifferentF >::operator()(), and animal::integration::Stepper_Function< SolverF, HSmallerF, HLargerF, IsDifferentF >::Stepper_Function(). |
|
the solver used for a given step
Definition at line 38 of file stepper.h. Referenced by animal::integration::Step_Back_And_Forth< SolverF, HSmallerF, HLargerF, IsDifferentF >::operator()(), animal::integration::Step_Doubling< SolverF, HSmallerF, HLargerF, IsDifferentF >::operator()(), and animal::integration::Stepper_Function< SolverF, HSmallerF, HLargerF, IsDifferentF >::Stepper_Function(). |