Click or drag to resize

DependentVariableDifferentialEquation Class

An adapter for an OrdinaryDifferentialEquationSystem for use with a NumericalIntegrator. This allows a user to define a function representing a system of differential equations and integrate it over an independent variable.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.NumericalMethods.AdvancedDependentVariableDerivatives
    AGI.Foundation.NumericalMethods.AdvancedDependentVariableDifferentialEquation

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 21.2.409.0 (21.2.409.0)
Syntax
public class DependentVariableDifferentialEquation : DependentVariableDerivatives

The DependentVariableDifferentialEquation type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDimension
Gets the total number of elements in the decomposed first-order derivative array.
(Inherited from DependentVariableDerivatives.)
Public propertyIsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
(Overrides DependentVariableDerivativesIsThreadSafe.)
Public propertyOrders
Gets or sets the orders of the differential equations in the differential equations. Higher order equations are decomposed into first-order derivatives of each dependent variable such that the length of this set of orders corresponds to the sum of the orders of the original equations. So if the original equations were: A first order, B third order, C second order, D first order, then the resulting orders of this system of equations will be: 1, 3, 2, 1, 2, 1, 1
(Inherited from DependentVariableDerivatives.)
Public propertySystemOfEquations
Gets or sets the system of equations which define the derivatives of a set of dependent variables.
Top
Methods
  NameDescription
Public methodAddDerivatives
Compute and add the derivatives of the dependent variables to the given derivativeArray. Since the derivativeArray may already contain derivative information from other sources, do not overwrite existing values but instead add the derivatives of the given mode to the existing values.
(Overrides DependentVariableDerivativesAddDerivatives(Double, Double, DerivativeMode, Double).)
Public methodClone
Clones this object using the specified context.
(Overrides DependentVariableDerivativesClone(CopyContext).)
Public methodComputeDerivatives(Double, Double, Double)
Compute the derivatives of the dependent variables and store them to the given array.
(Inherited from DependentVariableDerivatives.)
Public methodComputeDerivatives(Double, Double, Double, Double)
Compute the "fast" derivatives of the dependent variables, add them to the given "slow" derivatives, and store them to the given array. "Fast" derivatives are ones which are most important for the dynamics of the system and can be computed quickly. Some integrators optimize performance by only computing "fast" intervals when only an approximation of the overall derivative is required.
(Inherited from DependentVariableDerivatives.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetDimensionForOrder
Get the number of elements in the dependent variables which are of the given order.
(Inherited from DependentVariableDerivatives.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also