public class OceanTides extends Object implements ForceModel
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_POINTS
Default number of points tides field sampling.
|
static double |
DEFAULT_STEP
Default step for tides field sampling (seconds).
|
DATATION_ACCURACY
Constructor and Description |
---|
OceanTides(Frame centralBodyFrame,
double ae,
double mu,
boolean poleTide,
double step,
int nbPoints,
int degree,
int order,
IERSConventions conventions,
UT1Scale ut1)
Simple constructor.
|
OceanTides(Frame centralBodyFrame,
double ae,
double mu,
boolean poleTide,
double step,
int nbPoints,
int degree,
int order,
IERSConventions conventions,
UT1Scale ut1,
GravityFields gravityFields)
Simple constructor.
|
OceanTides(Frame centralBodyFrame,
double ae,
double mu,
int degree,
int order,
IERSConventions conventions,
UT1Scale ut1)
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.
|
Stream<EventDetector> |
getEventDetectors()
Get the discrete events related to the model.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getFieldEventDetectors(org.hipparchus.Field<T> field)
Get the discrete events related to the model.
|
List<ParameterDriver> |
getParametersDrivers()
Get the drivers for parameters.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addContribution, addContribution, init, init
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
getEventDetectors, getFieldEventDetectors
public static final double DEFAULT_STEP
public static final int DEFAULT_POINTS
@DefaultDataContext public OceanTides(Frame centralBodyFrame, double ae, double mu, int degree, int order, IERSConventions conventions, UT1Scale ut1)
This constructor uses pole tides, the default step
and default
number of points
for the tides field interpolation.
This constructor uses the default data context
.
centralBodyFrame
- rotating body frameae
- central body reference radiusmu
- central body attraction coefficientdegree
- degree of the tide model to loadorder
- order of the tide model to loadconventions
- IERS conventions used for loading ocean pole tideut1
- UT1 time scaleDEFAULT_STEP
,
DEFAULT_POINTS
,
OceanTides(Frame, double, double, boolean, double, int, int, int, IERSConventions, UT1Scale)
,
GravityFields.getOceanTidesWaves(int, int)
,
OceanTides(Frame, double, double, boolean, double, int, int, int,
IERSConventions, UT1Scale, GravityFields)
@DefaultDataContext public OceanTides(Frame centralBodyFrame, double ae, double mu, boolean poleTide, double step, int nbPoints, int degree, int order, IERSConventions conventions, UT1Scale ut1)
This constructor uses the default data context
.
centralBodyFrame
- rotating body frameae
- central body reference radiusmu
- central body attraction coefficientpoleTide
- if true, pole tide is computedstep
- time step between sample points for interpolationnbPoints
- number of points to use for interpolation, if less than 2
then no interpolation is performed (thus greatly increasing computation cost)degree
- degree of the tide model to loadorder
- order of the tide model to loadconventions
- IERS conventions used for loading ocean pole tideut1
- UT1 time scaleGravityFields.getOceanTidesWaves(int, int)
,
OceanTides(Frame, double, double, boolean, double, int, int, int,
IERSConventions, UT1Scale, GravityFields)
public OceanTides(Frame centralBodyFrame, double ae, double mu, boolean poleTide, double step, int nbPoints, int degree, int order, IERSConventions conventions, UT1Scale ut1, GravityFields gravityFields)
centralBodyFrame
- rotating body frameae
- central body reference radiusmu
- central body attraction coefficientpoleTide
- if true, pole tide is computedstep
- time step between sample points for interpolationnbPoints
- number of points to use for interpolation, if less than 2
then no interpolation is performed (thus greatly increasing computation cost)degree
- degree of the tide model to loadorder
- order of the tide model to loadconventions
- IERS conventions used for loading ocean pole tideut1
- UT1 time scalegravityFields
- used to compute ocean tides.GravityFields.getOceanTidesWaves(int, int)
public boolean dependsOnPositionOnly()
dependsOnPositionOnly
in interface ForceModel
public 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 Stream<EventDetector> getEventDetectors()
This method is not intended to be called several time, only once by a propagator, as it has the side effect of rebuilding the events detectors when called.
getEventDetectors
in interface ForceModel
getEventDetectors
in interface EventDetectorsProvider
public <T extends org.hipparchus.CalculusFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventDetectors(org.hipparchus.Field<T> field)
This method is not intended to be called several time, only once by a propagator, as it has the side effect of rebuilding the events detectors when called.
getFieldEventDetectors
in interface ForceModel
getFieldEventDetectors
in interface EventDetectorsProvider
T
- extends CalculusFieldElement<T>field
- field to which the state belongspublic List<ParameterDriver> getParametersDrivers()
getParametersDrivers
in interface ParameterDriversProvider
Copyright © 2002-2023 CS GROUP. All rights reserved.