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,
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
public OceanTides(Frame centralBodyFrame, double ae, double mu, int degree, int order, IERSConventions conventions, UT1Scale ut1) throws OrekitException
This constructor uses pole tides, the default step
and default
number of points
for the tides field interpolation.
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 scaleOrekitException
- if the ocean tides model cannot be read or the
model does not support requested degree or orderDEFAULT_STEP
,
DEFAULT_POINTS
,
OceanTides(Frame, double, double, boolean, double, int, int, int, IERSConventions, UT1Scale)
,
GravityFieldFactory.getOceanTidesWaves(int, int)
public OceanTides(Frame centralBodyFrame, double ae, double mu, boolean poleTide, double step, int nbPoints, int degree, int order, IERSConventions conventions, UT1Scale ut1) throws OrekitException
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 scaleOrekitException
- if the ocean tides model cannot be read or the
model does not support requested degree or orderGravityFieldFactory.getOceanTidesWaves(int, int)
public boolean dependsOnPositionOnly()
public Vector3D acceleration(SpacecraftState s, double[] parameters) throws OrekitException
s
- current state information: date, kinematics, attitudeparameters
- values of the force model parametersOrekitException
- if some specific error occurspublic <T extends RealFieldElement<T>> FieldVector3D<T> acceleration(FieldSpacecraftState<T> s, T[] parameters) throws OrekitException
T
- type of the elementss
- current state information: date, kinematics, attitudeparameters
- values of the force model parametersOrekitException
- if some specific error occurspublic Stream<EventDetector> getEventsDetectors()
public <T extends RealFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventsDetectors(Field<T> field)
T
- extends RealFieldElementfield
- field to which the state belongspublic ParameterDriver[] getParametersDrivers()
Copyright © 2002-2017 CS Systèmes d'information. All rights reserved.