public abstract class Segment extends Inelastics
Modifier and Type | Field and Description |
---|---|
static int |
LEFT_NODE_VALUE_PARAMETER_INDEX
LEFT NODE VALUE PARAMETER INDEX
|
static int |
RIGHT_NODE_VALUE_PARAMETER_INDEX
RIGHT NODE VALUE PARAMETER INDEX
|
Modifier and Type | Method and Description |
---|---|
abstract WengertJacobian |
calcJacobian()
Calculate the Jacobian for the segment
|
abstract double |
calcOrderedDerivative(double dblPoint,
int iOrder,
boolean bLocal)
Calculate the ordered derivative for the node
|
double |
calcValue(double dblPoint)
Calculate the interpolated value at the given input point
|
abstract WengertJacobian |
calcValueElasticJacobian(double dblPoint)
Calculate the Jacobian of the computed value to the segment elastics at the specified point
|
abstract WengertJacobian |
calcValueJacobian(double dblPoint)
Calculate the Jacobian of the interpolated value at the given input point
|
abstract boolean |
calibrate(double dblLeftValue,
double[] adblLeftLocalDeriv,
double dblRightValue)
Calibrate the coefficients from the boundary values and the left derivatives set
|
boolean |
calibrate(double dblLeftValue,
double dblLeftSlope,
double dblRightValue)
Calibrate the coefficients from the boundary values and the left slope
|
abstract boolean |
calibrate(Segment segPrev,
double dblRightValue)
Calibrate the coefficients from the prior Segment and the right node value
|
WengertJacobian |
calibrateJacobian(double dblLeftValue,
double[] adblLeftDeriv,
double dblRightValue)
Calibrate the base coefficients and their Jacobians
|
WengertJacobian |
calibrateJacobian(double dblLeftValue,
double dblLeftSlope,
double dblRightValue)
Calibrate the base coefficients and their Jacobians
|
WengertJacobian |
calibrateJacobian(Segment segmentPrev,
double dblRightValue)
Calibrate the base coefficients and their Jacobians
|
abstract double |
derivative(double dblX,
int iOrder)
d^nY/dx^n from X
|
abstract java.lang.String |
displayString()
Display the string representation for diagnostic purposes
|
SegmentMonotonocity |
monotoneType()
Indicate whether the given segment is monotone.
|
abstract int |
numBasis()
Retrieve the number of Basis Functions
|
abstract int |
numParameters()
Retrieve the Number of Parameters
|
abstract double |
y(double dblPoint)
Y from X
|
calcNormalizedOrdinate, compareTo, getLeft, getRight, getSpan, hashCode, isInSegment
public static final int LEFT_NODE_VALUE_PARAMETER_INDEX
public static final int RIGHT_NODE_VALUE_PARAMETER_INDEX
public abstract double y(double dblPoint) throws java.lang.Exception
dblPoint
- Xjava.lang.Exception
- Thrown if Y Cannot be computed.public abstract double derivative(double dblX, int iOrder) throws java.lang.Exception
dblX
- XiOrder
- Order of the Derivativejava.lang.Exception
- Thrown if d^nY/dx^n Cannot be computed.public abstract int numBasis()
public abstract int numParameters()
public abstract boolean calibrate(double dblLeftValue, double[] adblLeftLocalDeriv, double dblRightValue)
dblLeftValue
- Left ValueadblLeftLocalDeriv
- Array of Left Local DerivativesdblRightValue
- Right Valuepublic abstract boolean calibrate(Segment segPrev, double dblRightValue)
segPrev
- Prior SegmentdblRightValue
- Right End Node Valuepublic abstract double calcOrderedDerivative(double dblPoint, int iOrder, boolean bLocal) throws java.lang.Exception
dblPoint
- Point at which the derivatives are to be calculatediOrder
- Derivative OrderbLocal
- TRUE => Get the localized transform of the derivative; FALSE => Get the untransformedThrown
- if the Order is over-runjava.lang.Exception
public double calcValue(double dblPoint) throws java.lang.Exception
dblPoint
- Input pointjava.lang.Exception
- Thrown if the interpolation did not succeedpublic abstract WengertJacobian calcJacobian()
public abstract WengertJacobian calcValueJacobian(double dblPoint)
dblPoint
- Input pointpublic abstract WengertJacobian calcValueElasticJacobian(double dblPoint)
dblPoint
- Input Pointpublic SegmentMonotonocity monotoneType()
public boolean calibrate(double dblLeftValue, double dblLeftSlope, double dblRightValue)
dblLeftValue
- Left ValuedblLeftSlope
- Left SlopedblRightValue
- Right Valuepublic WengertJacobian calibrateJacobian(double dblLeftValue, double[] adblLeftDeriv, double dblRightValue)
dblLeftValue
- Left ValueadblLeftDeriv
- Array of Left DerivativesdblRightValue
- Right Valuepublic WengertJacobian calibrateJacobian(double dblLeftValue, double dblLeftSlope, double dblRightValue)
dblLeftValue
- Left ValuedblLeftSlope
- Left SlopedblRightValue
- Right Valuepublic WengertJacobian calibrateJacobian(Segment segmentPrev, double dblRightValue)
segmentPrev
- Prior SegmentdblRightValue
- Right End Node Valuepublic abstract java.lang.String displayString()