Class CR3BPForceModel
java.lang.Object
org.orekit.propagation.numerical.cr3bp.CR3BPForceModel
- All Implemented Interfaces:
ForceModel,EventDetectorsProvider,ParameterDriversProvider
Class calculating the acceleration induced by CR3BP model.
- Since:
- 10.2
- Author:
- Vincent Mouraux
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSuffix for parameter name for Mass Ratio enabling Jacobian processing.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.booleanCheck if force model depends on position only at a given, fixed date.Get the drivers for parameters.<T extends CalculusFieldElement<T>>
FieldDerivativeStructure<T> Calculate spacecraft potential.Calculate spacecraft potential.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, getEventDetectors, getFieldEventDetectors, getMassDerivative, getMassDerivative, init, initMethods inherited from interface org.orekit.utils.drivers.ParameterDriversProvider
getParameterDriver, getParameterDriverWithSubstring, getParameters, getParameters, isSupported
-
Field Details
-
MASS_RATIO_SUFFIX
Suffix for parameter name for Mass Ratio enabling Jacobian processing.- See Also:
-
-
Constructor Details
-
CR3BPForceModel
Simple constructor.- Parameters:
cr3bp- Name of the CR3BP System
-
-
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
-
getPotential
Calculate spacecraft potential.- Parameters:
s- SpacecraftState- Returns:
- Spacecraft Potential
-
getPotential
public <T extends CalculusFieldElement<T>> FieldDerivativeStructure<T> getPotential(FieldSpacecraftState<T> s) Calculate spacecraft potential.- Type Parameters:
T- Field element- Parameters:
s- SpacecraftState- Returns:
- Spacecraft Potential
-
getParametersDrivers
Get the drivers for parameters. By default, no parameters. Override, for instance, to enable partial derivatives.- Specified by:
getParametersDriversin interfaceForceModel- Specified by:
getParametersDriversin interfaceParameterDriversProvider- Returns:
- drivers for parameters
-
dependsOnPositionOnly
public boolean dependsOnPositionOnly()Check if force model depends on position only at a given, fixed date.- Specified by:
dependsOnPositionOnlyin interfaceForceModel- Returns:
- true if force model depends on position only, false if it depends on mass or velocity, either directly or due to a dependency on attitude. False by default.
-