Click or drag to resize
OdeAdamsGear Class
Extension of the ODE class to solve a stiff initial-value problem for ordinary differential equations using the Adams-Gear methods.
Inheritance Hierarchy

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
[SerializableAttribute]
public class OdeAdamsGear : ODE

The OdeAdamsGear type exposes the following members.

Constructors
  NameDescription
Public methodOdeAdamsGear
Constructs an ODE solver to solve the initial value problem dy/dt = f(t,y).
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExamineStep
Called before and after each internal step.
(Inherited from ODE.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMaximumStepsize
Returns the maximum internal step size.
(Inherited from ODE.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetMaximumStepsize
Sets the maximum internal step size.
(Overrides ODESetMaximumStepsize(Double).)
Public methodSolve
Integrates the ODE system from t to tEnd.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodVnorm
Returns the norm of a vector.
(Inherited from ODE.)
Top
Properties
  NameDescription
Public propertyFloor
The value used in the norm computation.
(Inherited from ODE.)
Public propertyInitialStepsize
The initial internal step size.
(Inherited from ODE.)
Public propertyIntegrationMethod
The integration method.
Public propertyMaximumFunctionEvaluations
The maximum number of function evaluations of y' allowed.
Public propertyMaxOrder
The highest order formula to use of implicit Adams type or BDF type.
Public propertyMaxSteps
The maximum number of internal steps allowed.
(Inherited from ODE.)
Public propertyMinimumStepsize
The minimum internal step size.
(Inherited from ODE.)
Public propertyNormMethod
The error norm.
(Inherited from ODE.)
Public propertyNumberOfFcnEvals
Returns the number of function evaluations of y' made.
Public propertyNumberOfJacobianEvals
Returns the number of Jacobian matrix evaluations used.
Public propertyNumberOfSteps
Returns the number of internal steps taken.
Public propertyScale
The scaling factor.
(Inherited from ODE.)
Public propertySolveMethod
The method for solving the formula equations.
Public propertyTolerance
The error tolerance.
(Inherited from ODE.)
Top
Remarks
Class OdeAdamsGear finds an approximation to the solution of a system of first-order differential equations of the form
\frac{dy}{dt}=y'=f(t,y)
with given initial conditions for y at the starting value for t. The class attempts to keep the global error proportional to a user-specified tolerance. The proportionality depends on the differential equation and the range of integration.

The code is based on using backward difference formulas not exceeding order five as outlined in Gear (1971) and implemented by Hindmarsh (1974). There is an optional use of the code that employs implicit Adams formulas. This use is intended for nonstiff problems with expensive functions  y' = f(t,y) .

See Also

Reference

Other Resources