IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Package IG.MPetekLib.Algorithms.Solvers.InitialProblemODE_RK4

Classes

class  InitialProblemSolverBase
 A template ODE solver without an actual implementation of the solving method (e.g. RK4). More...
 
class  InitialProblemSolverException
 
class  InitialProblemSolverRK4
 A fourth order Runge-Kutta ODE solver. More...
 

Enumerations

enum  InitialProblemSolverStates {
  InitialProblemSolverStates.Undefined = 0x0, InitialProblemSolverStates.InitialConditionsExist = 0x1, InitialProblemSolverStates.EndPointExists = 0x2, InitialProblemSolverStates.BothConditionsExist = InitialConditionsExist | EndPointExists,
  InitialProblemSolverStates.NStepsExists = 0x4, InitialProblemSolverStates.StepSizeExists = 0x8, InitialProblemSolverStates.StepInfoExists = 0x10, InitialProblemSolverStates.ODEExists = 0x20,
  InitialProblemSolverStates.ReadyToSolve = ODEExists | StepInfoExists | BothConditionsExist, InitialProblemSolverStates.Solved = 0x40 | NStepsExists | StepSizeExists | ReadyToSolve, InitialProblemSolverStates.ErrorsCalculated = 0x80 | NStepsExists | StepSizeExists | ReadyToSolve, InitialProblemSolverStates.ErrorsPostProcessed = 0x100 | ErrorsCalculated,
  InitialProblemSolverStates.ErrorsValidityVerified = 0x200 | NStepsExists | StepSizeExists | ReadyToSolve
}
 Stanja splošnega solverja. Nekatere metode na solverju delujejo samo, če se solver nahaja v ustreznem stanju. More...
 

Functions

delegate double HighestDerivativeFunctionDelegate (double[] derivative)
 A delegate for dynamicaly binding the calller with the desired function (an ODE rearranged so that the highest derivative is expressed as a function of the lower derivatives and the independent variable). More...
 

Enumeration Type Documentation

Stanja splošnega solverja. Nekatere metode na solverju delujejo samo, če se solver nahaja v ustreznem stanju.

Enumerator
Undefined 
InitialConditionsExist 

Initial conditions exist.

EndPointExists 

The end point exists.

BothConditionsExist 

Both the initial conditions and the end point exist.

NStepsExists 

The number of steps info exists.

StepSizeExists 

The step size info exists.

StepInfoExists 

At least one of the two exists: the step size or the number of steps.

ODEExists 

The delegate which represents the ODE is bound to the ODE method.

ReadyToSolve 

The ODE solver is ready for solving.

Solved 

Right after the call of the Solve() method. The solution exists and the ODE solver is still ready for solving.

ErrorsCalculated 

The calculated errors are now residing on the _solution list. The original solution is now on the _originalSolution list. The ODE solver is still ready for solving.

ErrorsPostProcessed 

The errors have gone through a smoothing filter. The original solution is now on the _originalSolution list. The ODE solver is still ready for solving.

ErrorsValidityVerified 

The validity of errors has been verified. The ODE solver is still ready for solving.

Function Documentation

delegate double IG.MPetekLib.Algorithms.Solvers.InitialProblemODE_RK4.HighestDerivativeFunctionDelegate ( double[]  derivative)

A delegate for dynamicaly binding the calller with the desired function (an ODE rearranged so that the highest derivative is expressed as a function of the lower derivatives and the independent variable).

Parameters
derivativeHolds the values of the lower derivatives and the independent variable.