Package org.orekit.forces.drag
Class DragForce
- java.lang.Object
-
- org.orekit.forces.AbstractForceModel
-
- org.orekit.forces.drag.AbstractDragForceModel
-
- org.orekit.forces.drag.DragForce
-
- All Implemented Interfaces:
ForceModel
,ParametersDriversProvider
public class DragForce extends AbstractDragForceModel
Atmospheric drag force model. The drag acceleration is computed as follows : γ = (1/2 * ρ * V² * S / Mass) * DragCoefVector With DragCoefVector = {Cx, Cy, Cz} and S given by the user through the interfaceDragSensitive
- Author:
- Édouard Delente, Fabien Maussion, Véronique Pommier-Maurussane, Pascal Parraud
-
-
Constructor Summary
Constructors Constructor Description DragForce(Atmosphere atmosphere, DragSensitive spacecraft)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends CalculusFieldElement<T>>
FieldVector3D<T>acceleration(FieldSpacecraftState<T> s, T[] parameters)
Compute acceleration.Vector3D
acceleration(SpacecraftState s, double[] parameters)
Compute acceleration.Atmosphere
getAtmosphere()
Get the atmospheric model.Stream<EventDetector>
getEventsDetectors()
Get the discrete events related to the model.<T extends CalculusFieldElement<T>>
Stream<FieldEventDetector<T>>getFieldEventsDetectors(Field<T> field)
Get the discrete events related to the model.List<ParameterDriver>
getParametersDrivers()
Get the drivers for parameters.DragSensitive
getSpacecraft()
Get spacecraft that are sensitive to atmospheric drag forces.-
Methods inherited from class org.orekit.forces.drag.AbstractDragForceModel
dependsOnPositionOnly, getDSDensityWrtStateUsingFiniteDifferences, getGradientDensityWrtStateUsingFiniteDifferences, isDSStateDerivative, isGradientStateDerivative, isVariable, isVariable
-
Methods inherited from class org.orekit.forces.AbstractForceModel
complainIfNotSupported, getParameterDriver, isSupported
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.forces.ForceModel
addContribution, addContribution, getParameters, getParameters, init, init
-
-
-
-
Constructor Detail
-
DragForce
public DragForce(Atmosphere atmosphere, DragSensitive spacecraft)
Simple constructor.- Parameters:
atmosphere
- atmospheric modelspacecraft
- the object physical and geometrical information
-
-
Method Detail
-
acceleration
public Vector3D acceleration(SpacecraftState s, double[] parameters)
Compute acceleration.- Parameters:
s
- current state information: date, kinematics, attitudeparameters
- values of the force model parameters- Returns:
- acceleration in same frame as state
-
acceleration
public <T extends CalculusFieldElement<T>> FieldVector3D<T> acceleration(FieldSpacecraftState<T> s, T[] parameters)
Compute acceleration.- Type Parameters:
T
- type of the elements- Parameters:
s
- current state information: date, kinematics, attitudeparameters
- values of the force model parameters- Returns:
- acceleration in same frame as state
-
getParametersDrivers
public List<ParameterDriver> getParametersDrivers()
Get the drivers for parameters.- Returns:
- drivers for parameters
-
getEventsDetectors
public Stream<EventDetector> getEventsDetectors()
Get the discrete events related to the model.- Returns:
- stream of events detectors
-
getFieldEventsDetectors
public <T extends CalculusFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventsDetectors(Field<T> field)
Get the discrete events related to the model.- Type Parameters:
T
- extends CalculusFieldElement<T>- Parameters:
field
- field to which the state belongs- Returns:
- stream of events detectors
-
getAtmosphere
public Atmosphere getAtmosphere()
Get the atmospheric model.- Returns:
- atmosphere model
-
getSpacecraft
public DragSensitive getSpacecraft()
Get spacecraft that are sensitive to atmospheric drag forces.- Returns:
- drag sensitive spacecraft model
-
-