public class CR3BPForceModel extends AbstractForceModel
Modifier and Type | Field and Description |
---|---|
static String |
MASS_RATIO_SUFFIX
Suffix for parameter name for Mass Ratio enabling Jacobian processing.
|
Constructor and Description |
---|
CR3BPForceModel(CR3BPSystem cr3bp)
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.
|
List<ParameterDriver> |
getParametersDrivers()
Get the drivers for force model parameters.
|
<T extends CalculusFieldElement<T>> |
getPotential(FieldSpacecraftState<T> s)
Calculate spacecraft potential.
|
DerivativeStructure |
getPotential(SpacecraftState s)
Calculate spacecraft potential.
|
complainIfNotSupported, getParameterDriver, isSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addContribution, addContribution, getParameters, getParameters, init
public static final String MASS_RATIO_SUFFIX
public CR3BPForceModel(CR3BPSystem cr3bp)
cr3bp
- Name of the CR3BP Systempublic 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 DerivativeStructure getPotential(SpacecraftState s)
s
- SpacecraftStatepublic <T extends CalculusFieldElement<T>> FieldDerivativeStructure<T> getPotential(FieldSpacecraftState<T> s)
T
- Field elements
- SpacecraftStatepublic Stream<EventDetector> getEventsDetectors()
public <T extends CalculusFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventsDetectors(Field<T> field)
ForceModel
T
- extends CalculusFieldElement<T>field
- field to which the state belongspublic List<ParameterDriver> getParametersDrivers()
public boolean dependsOnPositionOnly()
Copyright © 2002-2021 CS GROUP. All rights reserved.