public class InertialForces extends AbstractForceModel
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:
ITRF
frame),EME2000
frame 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.
SingleBodyAbsoluteAttraction
Constructor and Description |
---|
InertialForces(Frame referenceInertialFrame)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends CalculusFieldElement<T>> |
acceleration(FieldSpacecraftState<T> s,
T[] parameters)
Compute acceleration.
|
Vector3D |
acceleration(SpacecraftState s,
double[] parameters)
Compute acceleration.
|
boolean |
dependsOnPositionOnly()
Check if force models depends on position only.
|
Stream<EventDetector> |
getEventsDetectors()
Get the discrete events related to the model.
|
<T extends CalculusFieldElement<T>> |
getFieldEventsDetectors(Field<T> field)
Get the discrete events related to the model.
|
ParameterDriver |
getParameterDriver(String name)
Get parameter value from its name.
|
List<ParameterDriver> |
getParametersDrivers()
Get the drivers for parameters.
|
complainIfNotSupported, isSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addContribution, addContribution, getParameters, getParameters, init, init
public InertialForces(Frame referenceInertialFrame) throws OrekitIllegalArgumentException
referenceInertialFrame
- the pseudo-inertial frame to use as reference for the inertial forcesOrekitIllegalArgumentException
- if frame is not a pseudo-inertial frame
public boolean dependsOnPositionOnly()
public Vector3D acceleration(SpacecraftState s, double[] parameters)
s
- current state information: date, kinematics, attitudeparameters
- values of the force model parameterspublic <T extends CalculusFieldElement<T>> FieldVector3D<T> acceleration(FieldSpacecraftState<T> s, T[] parameters)
T
- type of the elementss
- current state information: date, kinematics, attitudeparameters
- values of the force model parameterspublic Stream<EventDetector> getEventsDetectors()
public <T extends CalculusFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventsDetectors(Field<T> field)
T
- extends CalculusFieldElement<T>field
- field to which the state belongspublic List<ParameterDriver> getParametersDrivers()
public ParameterDriver getParameterDriver(String name)
getParameterDriver
in interface ForceModel
getParameterDriver
in class AbstractForceModel
name
- parameter nameCopyright © 2002-2023 CS GROUP. All rights reserved.