Package org.drip.fdm.definition
Class R1EvolutionSnapshot
java.lang.Object
org.drip.fdm.definition.R1EvolutionSnapshot
public class R1EvolutionSnapshot
extends java.lang.Object
R1EvolutionSnapshot maintains the time Snapshots for R1 State Factor Space Evolution.
The References are:
- Datta, B. N. (2010): Numerical Linear Algebra and Applications 2nd Edition SIAM Philadelphia, PA
- Cebeci, T. (2002): Convective Heat Transfer Horizon Publishing Hammond, IN
- Crank, J., and P. Nicolson (1947): A Practical Method for Numerical Evaluation of Solutions of Partial Differential Equations of the Heat Conduction Type Proceedings of the Cambridge Philosophical Society 43 (1) 50-67
- Thomas, J. W. (1995): Numerical Partial Differential Equations: Finite Difference Methods Springer-Verlag Berlin, Germany
- Wikipedia (2023): Alternating-direction implicit method https://en.wikipedia.org/wiki/Alternating-direction_implicit_method
- Wikipedia (2024): CrankâNicolson method https://en.wikipedia.org/wiki/Crank%E2%80%93Nicolson_method
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Numerical Solution Schemes for PDEs
- Package = Finite Difference PDE Evolver Schemes
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description R1EvolutionSnapshot(double[] factorPredictorArray)
R1EvolutionSnapshot Constructor -
Method Summary
Modifier and Type Method Description boolean
addStateResponse(double time, double[] stateResponseArray)
Add the State Response Snapshot Array corresponding to the Time Nodeboolean
addStateResponse(double time, double[] stateResponseArray, double[][] timeShiftJacobian, double[] weightedNodeValueConstraintArray, double[] vonNeumannStabilityMetricArray)
Add the State Response Snapshot Array corresponding to the Time Nodedouble[]
factorPredictorArray()
Retrieve the Array of Factor Predictorsjava.util.Map<java.lang.Double,R1StateResponseSnapshot>
timeStateResponseMap()
Retrieve the Time Map of Realized State Response ArrayMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
R1EvolutionSnapshot
public R1EvolutionSnapshot(double[] factorPredictorArray) throws java.lang.ExceptionR1EvolutionSnapshot Constructor- Parameters:
factorPredictorArray
- Array of Factor Predictors- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
factorPredictorArray
public double[] factorPredictorArray()Retrieve the Array of Factor Predictors- Returns:
- Array of Factor Predictors
-
timeStateResponseMap
Retrieve the Time Map of Realized State Response Array- Returns:
- Time Map of Realized State Response Array
-
addStateResponse
public boolean addStateResponse(double time, double[] stateResponseArray)Add the State Response Snapshot Array corresponding to the Time Node- Parameters:
time
- Time NodestateResponseArray
- Array of State Responses- Returns:
- TRUE - The State Response Snapshot Array corresponding to the Time Node successfully added
-
addStateResponse
public boolean addStateResponse(double time, double[] stateResponseArray, double[][] timeShiftJacobian, double[] weightedNodeValueConstraintArray, double[] vonNeumannStabilityMetricArray)Add the State Response Snapshot Array corresponding to the Time Node- Parameters:
time
- Time NodestateResponseArray
- Array of State ResponsestimeShiftJacobian
- State Response Factor Node Time Shift Jacobian MatrixweightedNodeValueConstraintArray
- Weighted Node Value Constraint ArrayvonNeumannStabilityMetricArray
- von-Neumann Stability Metric Array- Returns:
- TRUE - The State Response Snapshot Array corresponding to the Time Node successfully added
-