public class CustomAeroCoeffByAoA extends CustomAeroCoeffByOneVarAbstract
| Constructor and Description |
|---|
CustomAeroCoeffByAoA(Double[] xVariable,
Double[] yVariable,
org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
Creates a new instance entering the x and y variables as doubles.
|
| Modifier and Type | Method and Description |
|---|---|
protected static double |
angleOfAttackFromSpacecraftState(org.orekit.propagation.SpacecraftState state,
org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
Computes the angle of attack from the spacecraft state and the Earth shape.
|
protected double |
computeXVariable(org.orekit.propagation.SpacecraftState state)
Computes the x variable from the spacecraft state.
|
derivativeValue, extendedVectorY, getFunction, getParameters, getXArray, getYArray, isDifferentiableBy, supportsParameter, toString, valuepublic CustomAeroCoeffByAoA(Double[] xVariable, Double[] yVariable, org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
xVariable - array of x variables (angle of attack (rad))yVariable - array of y variables (aerodynamic coefficient)earthShape - Earth shapeprotected double computeXVariable(org.orekit.propagation.SpacecraftState state)
throws NonWidgetException
computeXVariable in class CustomAeroCoeffByOneVarAbstractstate - the spacecraft stateNonWidgetException - if the transformation from state frame to Earth body frame, to topocentric frame or to ITRF
frame cannot be computed, or if Side slip angle equals PI/2 or -PI/2 (angle of attack
cannot be computed)protected static double angleOfAttackFromSpacecraftState(org.orekit.propagation.SpacecraftState state,
org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
throws NonWidgetException
state - the spacecraft stateearthShape - the Earth shapeNonWidgetException - if the transformation from state frame to ITRF cannot be computedCopyright © 2017. All rights reserved.