public class OceanTides extends AbstractForceModel
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).
|
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 RealFieldElement<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 RealFieldElement<T>> |
getFieldEventsDetectors(Field<T> field)
Get the discrete events related to the model.
|
ParameterDriver[] |
getParametersDrivers()
Get the drivers for force model parameters.
|
complainIfNotSupported, getParameterDriver, isSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addContribution, addContribution, getParameters, getParameters, init
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()
public Vector3D acceleration(SpacecraftState s, double[] parameters)
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)
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()
Copyright © 2002-2020 CS GROUP. All rights reserved.