public class AeroCoeffByAoAAndMach extends Object implements AerodynamicCoefficient
Constructor and Description |
---|
AeroCoeffByAoAAndMach(double[] anglesOfAttack,
double[] machNumbers,
double[][] coeffs,
Atmosphere atmosphere,
EllipsoidBodyShape earthShapeIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
derivativeValue(Parameter p,
SpacecraftState s)
Compute the derivative value with respect to the input parameter.
|
double[][] |
getAerodynamicCoefficientsArray()
Getter for the aerodynamic coefficients array.
|
double[] |
getAoAArray()
Getter for the Angles of Attack array.
|
BiLinearIntervalsFunction |
getFunction()
Getter for the function.
|
double[] |
getMachArray()
Getter for the Mach numbers array.
|
ArrayList<Parameter> |
getParameters()
Get the supported parameters.
|
AerodynamicCoefficientType |
getType()
Returns type of aerodynamic coefficient.
|
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.
|
public AeroCoeffByAoAAndMach(double[] anglesOfAttack, double[] machNumbers, double[][] coeffs, Atmosphere atmosphere, EllipsoidBodyShape earthShapeIn)
anglesOfAttack
- array of angles of attack (rad)machNumbers
- array of mach numberscoeffs
- array of arrays of aerodynamic coefficientsatmosphere
- atmosphere modelearthShapeIn
- earth shapepublic double value(SpacecraftState state)
value
in interface IParameterizableFunction
state
- the spacecraft statepublic 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[] getAoAArray()
public double[] getMachArray()
public double[][] getAerodynamicCoefficientsArray()
public BiLinearIntervalsFunction getFunction()
public AerodynamicCoefficientType getType()
getType
in interface AerodynamicCoefficient
Copyright © 2019 CNES. All rights reserved.