DependentVariableDerivatives Class |
Namespace: AGI.Foundation.NumericalMethods.Advanced
The DependentVariableDerivatives type exposes the following members.
Name | Description | |
---|---|---|
DependentVariableDerivatives(Int32) |
Initializes a new instance.
| |
DependentVariableDerivatives(DependentVariableDerivatives, CopyContext) | Initializes a new instance as a copy of an existing instance. |
Name | Description | |
---|---|---|
Dimension |
Gets the total number of elements in the decomposed first-order derivative array.
| |
IsThreadSafe |
Gets a value indicating whether the methods on this instance are safe to call from
multiple threads simultaneously.
| |
Orders |
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
|
Name | Description | |
---|---|---|
AddDerivatives |
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.
| |
Clone |
Clones this object using the specified context.
| |
ComputeDerivatives(Double, Double, Double) |
Compute the derivatives of the dependent variables and store them to the given array.
| |
ComputeDerivatives(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.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDimensionForOrder |
Get the number of elements in the dependent variables which are of
the given order.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |