Package org.orekit.forces.inertia
Class InertialForces
java.lang.Object
org.orekit.forces.inertia.InertialForces
- All Implemented Interfaces:
ForceModel,EventDetectorsProvider,ParameterDriversProvider
Inertial force model.
This force model adds the pseudo-forces due to inertia between the integrating frame and a reference inertial frame from which this force model is built.
Two typical use-cases are propagating AbsolutePVCoordinates in either:
- a non-inertial frame (for example propagating in the rotating
ITRFframe), - an inertial frame that is not related to the main attracting body (for example
propagating in
EME2000frame a trajectory about the Sun and Jupiter).
In the second used case above, the attraction from the two main bodies, i.e. the Sun and
Jupiter, should be represented by SingleBodyAbsoluteAttraction
instances.
- Author:
- Guillaume Obrecht, Luc Maisonobe
- See Also:
-
Field Summary
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends CalculusFieldElement<T>>
FieldVector3D<T> acceleration(FieldSpacecraftState<T> s, T[] parameters) Compute acceleration.acceleration(SpacecraftState s, double[] parameters) Compute acceleration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getDateDetector, getEventDetectors, getFieldDateDetector, getFieldEventDetectorsMethods inherited from interface org.orekit.forces.ForceModel
addContribution, addContribution, dependsOnAttitudeRate, dependsOnPositionOnly, getEventDetectors, getFieldEventDetectors, getMassDerivative, getMassDerivative, getParametersDrivers, init, initMethods inherited from interface org.orekit.utils.drivers.ParameterDriversProvider
getParameterDriver, getParameterDriverWithSubstring, getParameters, getParameters, isSupported
-
Constructor Details
-
InertialForces
Simple constructor.- Parameters:
referenceInertialFrame- the pseudo-inertial frame to use as reference for the inertial forces- Throws:
OrekitIllegalArgumentException- if frame is not apseudo-inertial frame
-
-
Method Details
-
acceleration
Compute acceleration.- Specified by:
accelerationin interfaceForceModel- Parameters:
s- current state information: date, kinematics, attitudeparameters- values of the force model parameters at state date, only 1 value for each parameterDriver- Returns:
- acceleration in same frame as state
-
acceleration
public <T extends CalculusFieldElement<T>> FieldVector3D<T> acceleration(FieldSpacecraftState<T> s, T[] parameters) Compute acceleration.- Specified by:
accelerationin interfaceForceModel- Type Parameters:
T- type of the elements- Parameters:
s- current state information: date, kinematics, attitudeparameters- values of the force model parameters at state date, only 1 value for each parameterDriver- Returns:
- acceleration in same frame as state
-