public class Maneuver extends AbstractForceModel
getParametersDrivers()
Constructor and Description |
---|
Maneuver(AttitudeProvider attitudeOverride,
ManeuverTriggers maneuverTriggers,
PropulsionModel propulsionModel)
Generic maneuver constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends RealFieldElement<T>> |
acceleration(FieldSpacecraftState<T> s,
T[] parameters)
Compute acceleration.
|
Vector3D |
acceleration(SpacecraftState s,
double[] parameters)
Compute acceleration.
|
<T extends RealFieldElement<T>> |
addContribution(FieldSpacecraftState<T> s,
FieldTimeDerivativesEquations<T> adder)
Compute the contribution of the force model to the perturbing
acceleration.
|
void |
addContribution(SpacecraftState s,
TimeDerivativesEquations adder)
Compute the contribution of the force model to the perturbing
acceleration.
|
boolean |
dependsOnPositionOnly()
Check if force models depends on position only.
|
AttitudeProvider |
getAttitudeOverride()
Get the attitude override used for the maneuver.
|
Stream<EventDetector> |
getEventsDetectors()
Get the discrete events related to the model.
|
<T extends RealFieldElement<T>> |
getFieldEventsDetectors(Field<T> field)
Get the discrete events related to the model.
|
ManeuverTriggers |
getManeuverTriggers()
Get the maneuver triggers.
|
String |
getName()
Get the name of the maneuver.
|
ParameterDriver[] |
getParametersDrivers()
Get the drivers for force model parameters.
|
PropulsionModel |
getPropulsionModel()
Get the propulsion model.
|
void |
init(SpacecraftState initialState,
AbsoluteDate target)
Initialize the force model at the start of propagation.
|
complainIfNotSupported, getParameterDriver, isSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParameters, getParameters
public Maneuver(AttitudeProvider attitudeOverride, ManeuverTriggers maneuverTriggers, PropulsionModel propulsionModel)
attitudeOverride
- attitude provider for the attitude during the maneuvermaneuverTriggers
- maneuver triggerspropulsionModel
- propulsion modelpublic String getName()
public AttitudeProvider getAttitudeOverride()
public PropulsionModel getPropulsionModel()
public ManeuverTriggers getManeuverTriggers()
public boolean dependsOnPositionOnly()
public void init(SpacecraftState initialState, AbsoluteDate target)
ForceModel.addContribution(SpacecraftState, TimeDerivativesEquations)
,
ForceModel.addContribution(FieldSpacecraftState, FieldTimeDerivativesEquations)
,
ForceModel.acceleration(SpacecraftState, double[])
or ForceModel.acceleration(FieldSpacecraftState, RealFieldElement[])
The default implementation of this method does nothing.
initialState
- spacecraft state at the start of propagation.target
- date of propagation. Not equal to initialState.getDate()
.public void addContribution(SpacecraftState s, TimeDerivativesEquations adder)
The default implementation simply adds the acceleration
as a non-Keplerian acceleration.
s
- current state information: date, kinematics, attitudeadder
- object where the contribution should be addedpublic <T extends RealFieldElement<T>> void addContribution(FieldSpacecraftState<T> s, FieldTimeDerivativesEquations<T> adder)
T
- type of the elementss
- current state information: date, kinematics, attitudeadder
- object where the contribution should be addedpublic Vector3D acceleration(SpacecraftState s, double[] parameters)
ForceModel
s
- current state information: date, kinematics, attitudeparameters
- values of the force model parameterspublic <T extends RealFieldElement<T>> FieldVector3D<T> acceleration(FieldSpacecraftState<T> s, T[] parameters)
ForceModel
T
- type of the elementss
- current state information: date, kinematics, attitudeparameters
- values of the force model parameterspublic Stream<EventDetector> getEventsDetectors()
public <T extends RealFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventsDetectors(Field<T> field)
T
- extends RealFieldElement<T>field
- field to which the state belongspublic ParameterDriver[] getParametersDrivers()
ForceModel
Copyright © 2002-2020 CS GROUP. All rights reserved.