Click or drag to resize

DependentVariableDerivatives Class

Defines a set of first order differential equations used by a NumericalIntegrator to advance a set of dependent variables over an independent variable step.
Inheritance Hierarchy

Namespace:  AGI.Foundation.NumericalMethods.Advanced
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public abstract class DependentVariableDerivatives : IThreadAware, 
	ICloneWithContext

The DependentVariableDerivatives type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDimension
Gets the total number of elements in the decomposed first-order derivative array.
Public propertyIsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
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
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.
Public methodClone
Clones this object using the specified context.
Public methodComputeDerivatives(Double, Double, Double)
Compute the derivatives of the dependent variables and store them to the given array.
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.
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.
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