public class AeroCoeffByMach extends AbstractAeroCoeff1D
Constructor and Description |
---|
AeroCoeffByMach(double[] xVariables,
double[] yVariables,
Atmosphere atmosphereIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double |
computeXVariable(SpacecraftState state)
Computes the x variable from the spacecraft state.
|
AerodynamicCoefficientType |
getType()
Returns type of aerodynamic coefficient.
|
static double |
machFromSpacecraftState(SpacecraftState state,
Atmosphere atmosphere)
Computes the Mach number from the spacecraft state and an atmosphere model.
|
derivativeValue, getFunction, getParameters, getXArray, getYArray, isDifferentiableBy, supportsParameter, toString, value
public AeroCoeffByMach(double[] xVariables, double[] yVariables, Atmosphere atmosphereIn)
xVariables
- array of x variables (Mach number)yVariables
- array of y variables (aerodynamic coefficient)atmosphereIn
- atmosphere modelprotected double computeXVariable(SpacecraftState state) throws PatriusException
computeXVariable
in class AbstractAeroCoeff1D
state
- the spacecraft statePatriusException
- if there is a problem computing x from state.public static double machFromSpacecraftState(SpacecraftState state, Atmosphere atmosphere) throws PatriusException
state
- the spacecraft stateatmosphere
- the atmosphere modelPatriusException
- thrown if conversion to ITRF failedpublic AerodynamicCoefficientType getType()
Copyright © 2020 CNES. All rights reserved.