public class CR3BPForceModel extends Object implements ForceModel
Modifier and Type | Field and Description |
---|---|
static String |
MASS_RATIO_SUFFIX
Suffix for parameter name for Mass Ratio enabling Jacobian processing.
|
DATATION_ACCURACY
Constructor and Description |
---|
CR3BPForceModel(CR3BPSystem cr3bp)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
<T extends org.hipparchus.CalculusFieldElement<T>> |
acceleration(FieldSpacecraftState<T> s,
T[] parameters)
Compute acceleration.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
acceleration(SpacecraftState s,
double[] parameters)
Compute acceleration.
|
boolean |
dependsOnPositionOnly()
Check if force models depends on position only.
|
List<ParameterDriver> |
getParametersDrivers()
Get the drivers for parameters.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getPotential(FieldSpacecraftState<T> s)
Calculate spacecraft potential.
|
org.hipparchus.analysis.differentiation.DerivativeStructure |
getPotential(SpacecraftState s)
Calculate spacecraft potential.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addContribution, addContribution, getEventDetectors, getFieldEventDetectors, init, init
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
getEventDetectors, getFieldEventDetectors
public static final String MASS_RATIO_SUFFIX
public CR3BPForceModel(CR3BPSystem cr3bp)
cr3bp
- Name of the CR3BP Systempublic org.hipparchus.geometry.euclidean.threed.Vector3D acceleration(SpacecraftState s, double[] parameters)
acceleration
in interface ForceModel
s
- current state information: date, kinematics, attitudeparameters
- values of the force model parameters at state date,
only 1 value for each parameterDriverpublic <T extends org.hipparchus.CalculusFieldElement<T>> org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> acceleration(FieldSpacecraftState<T> s, T[] parameters)
acceleration
in interface ForceModel
T
- type of the elementss
- current state information: date, kinematics, attitudeparameters
- values of the force model parameters at state date,
only 1 value for each parameterDriverpublic org.hipparchus.analysis.differentiation.DerivativeStructure getPotential(SpacecraftState s)
s
- SpacecraftStatepublic <T extends org.hipparchus.CalculusFieldElement<T>> org.hipparchus.analysis.differentiation.FieldDerivativeStructure<T> getPotential(FieldSpacecraftState<T> s)
T
- Field elements
- SpacecraftStatepublic List<ParameterDriver> getParametersDrivers()
getParametersDrivers
in interface ParameterDriversProvider
public boolean dependsOnPositionOnly()
dependsOnPositionOnly
in interface ForceModel
Copyright © 2002-2023 CS GROUP. All rights reserved.