public abstract class AbstractAeroCoeff1D extends Object implements AerodynamicCoefficient
Modifier | Constructor and Description |
---|---|
protected |
AbstractAeroCoeff1D(double[] xVariables,
double[] yVariables)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract double |
computeXVariable(SpacecraftState state)
Computes the x variable from the spacecraft state.
|
double |
derivativeValue(Parameter p,
SpacecraftState s)
Compute the derivative value with respect to the input parameter.
|
UniLinearIntervalsFunction |
getFunction()
Getter for the function.
|
ArrayList<Parameter> |
getParameters()
Get the supported parameters.
|
double[] |
getXArray()
Getter for the x variable array of values used for the function definition.
|
double[] |
getYArray()
Getter for the y variable array of values used for the function definition.
|
boolean |
isDifferentiableBy(Parameter p)
Tell if the function is differentiable by the given parameter.
|
boolean |
supportsParameter(Parameter param)
Check if a parameter is supported.
|
String |
toString() |
double |
value(SpacecraftState state)
Getting the value of the function.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType
protected AbstractAeroCoeff1D(double[] xVariables, double[] yVariables)
xVariables
- array of x variablesyVariables
- array of y variablespublic double value(SpacecraftState state)
value
in interface IParameterizableFunction
state
- the spacecraft stateprotected abstract double computeXVariable(SpacecraftState state) throws PatriusException
state
- the spacecraft statePatriusException
- if there is a problem computing x from state.public ArrayList<Parameter> getParameters()
getParameters
in interface IParameterizable
public boolean supportsParameter(Parameter param)
supportsParameter
in interface IParameterizable
param
- parameter to checkpublic double derivativeValue(Parameter p, SpacecraftState s)
derivativeValue
in interface IParamDiffFunction
p
- parameters
- current statepublic boolean isDifferentiableBy(Parameter p)
isDifferentiableBy
in interface IParamDiffFunction
p
- function parameterpublic double[] getXArray()
public double[] getYArray()
public UniLinearIntervalsFunction getFunction()
Copyright © 2018 CNES. All Rights Reserved.