public class StelaAtmosphericDrag extends AbstractStelaGaussContribution
StelaAeroModel
dPert
Constructor and Description |
---|
StelaAtmosphericDrag(DragSensitive inSpacecraft,
Atmosphere inAtmosphere,
int inSquaringPoints,
double inEarthRadius,
double inAtmoThreshold,
int inDragRecomputeStep)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
computePartialDerivatives(StelaEquinoctialOrbit orbit)
Compute the partial derivatives for a given spacecraft state.
|
double[] |
computePerturbation(StelaEquinoctialOrbit orbit,
OrbitNatureConverter converter)
Compute the dE/dt force derivatives for a given spacecraft state.
|
double[] |
computeShortPeriods(StelaEquinoctialOrbit orbit)
Compute the short periodic variations for a given spacecraft state.
|
int |
getDragRecomputeStep() |
void |
setTransMatComputationFlag(boolean transMatFlag)
Setter for the switch indicating whether the drag term of the transition matrix has to be computed.
|
computeGaussDerivativeEquations, computeGaussEquations, getdPert, getType
public StelaAtmosphericDrag(DragSensitive inSpacecraft, Atmosphere inAtmosphere, int inSquaringPoints, double inEarthRadius, double inAtmoThreshold, int inDragRecomputeStep)
inSpacecraft
- the drag sensitive spacecraft.inAtmosphere
- the atmospheric model.inSquaringPoints
- number of points for Simpson' Squaring.inEarthRadius
- the Earth radius.inAtmoThreshold
- the altitude of the upper atmospheric boundary.inDragRecomputeStep
- drag will be re-computed every inDragRecomputeStep steps (if value is 0, computed every substep)public int getDragRecomputeStep()
public double[] computePerturbation(StelaEquinoctialOrbit orbit, OrbitNatureConverter converter) throws PatriusException
computePerturbation
in class AbstractStelaGaussContribution
orbit
- current orbit information: date, kinematicsconverter
- mean / osculating parameters converterPatriusException
- if perturbation computation failspublic double[] computeShortPeriods(StelaEquinoctialOrbit orbit) throws PatriusException
orbit
- current orbit information: date, kinematicsPatriusException
- if short periods computation failspublic double[][] computePartialDerivatives(StelaEquinoctialOrbit orbit) throws PatriusException
orbit
- current orbit information: date, kinematicsPatriusException
- if partial derivatives computation failspublic void setTransMatComputationFlag(boolean transMatFlag)
transMatFlag
- flag to setCopyright © 2019 CNES. All rights reserved.