public class AeroCoeffByAoA extends AbstractAeroCoeff1D
Constructor and Description |
---|
AeroCoeffByAoA(double[] xVariables,
double[] yVariables,
EllipsoidBodyShape earthShapeIn)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static double |
angleOfAttackFromSpacecraftState(SpacecraftState state,
EllipsoidBodyShape earthShape)
Computes the angle of attack from the spacecraft state and the Earth shape.
|
protected double |
computeXVariable(SpacecraftState state)
Computes the x variable from the spacecraft state.
|
AerodynamicCoefficientType |
getType()
Returns type of aerodynamic coefficient.
|
derivativeValue, getFunction, getParameters, getXArray, getYArray, isDifferentiableBy, supportsParameter, toString, value
public AeroCoeffByAoA(double[] xVariables, double[] yVariables, EllipsoidBodyShape earthShapeIn)
xVariables
- array of x variables (angle of attack (rad))yVariables
- array of y variables (aerodynamic coefficient)earthShapeIn
- Earth shapeprotected 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 angleOfAttackFromSpacecraftState(SpacecraftState state, EllipsoidBodyShape earthShape) throws PatriusException
state
- the spacecraft stateearthShape
- the Earth shapePatriusException
- if the transformation from state frame to body frame cannot be
computedpublic AerodynamicCoefficientType getType()
Copyright © 2020 CNES. All rights reserved.