<<<<<<<<<<<<<<<<<

rk4_stepper(numer) Numerical Analysis rk4_stepper(numer)

NAME

rk4_stepper - Object that performs one step of Runge_Kutta method

DESCRIPTION

The rk4_stepper class provides the solution of system of ordinary differential equations of first order for one step_size interval.

SUPERCLASS

object

INSTANCE VARIABLES

function is the name of the object providing computation of the right side of the differential equation.

step_size is the step_size of the Runge_Kutta method (see Numerical Recipes in C, by W.H.Press, et all, Cambridge University Press, 1988).

MESSAGES

function=argument sets function name of the system of differential equations.

function? returns the function name.

initialize! This routine does necessary initialization for Runge-Kutta method.

rk4! performs one step (step_size) of Runge-Kutta method; the right side of equation is specified in function variable; the solution is stored in (internal) x array. this method should not be used by itself, instead tick! in a subclass rk4_solver should be used.

step_size=argument sets the step_size for Runge_Kutta method.

step_size? returns the step_size value.

EXAMPLES

See example in rk4_solver

SEE ALSO

lu_solver, rk4_solver, rk_shooter, rkqc_stepper, rkqc_solver.


Please send comments and suggestions to
consult@rpi.edu