Package org.orekit.tutorials.propagation
Class DSSTPropagation.TutorialDSSTPropagation
- java.lang.Object
-
- org.orekit.tutorials.propagation.DSSTPropagation.TutorialDSSTPropagation
-
- Enclosing class:
- DSSTPropagation
public static class DSSTPropagation.TutorialDSSTPropagation extends Object
Input data for the DSST propagation tutorial.Data are read from a YAML file.
- Author:
- Bryan Cazabonne
-
-
Constructor Summary
Constructors Constructor Description TutorialDSSTPropagation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TutorialBody
getBody()
Get the body data.double
getDurationInDays()
Get the simulation duration.int
getFixedNumberOfInterpolationPoints()
Get the interpolation grid specification.double
getMaxTimeGapBetweenInterpolationPoints()
Get the interpolation grid specification.TutorialOrbit
getOrbit()
Get the orbit data.List<String>
getOutputShortPeriodCoefficients()
Get the list of short period coefficients to output.double
getOutputStep()
Get the time step between printed elements.TutorialPropagator
getPropagator()
Get the orbit propagator data.TutorialSpacecraft
getSpacecraft()
Get the spacecraft data.boolean
isInitialOrbitIsOsculating()
Get the flag for initial orbit type.boolean
isNumericalComparison()
Get the flag for the comparison with the numerical orbit propagator.boolean
isOutputOrbitIsOsculating()
Get the flag for output orbit type.void
setBody(TutorialBody body)
Set the body data.void
setDurationInDays(double durationInDays)
Set the simulation duration.void
setFixedNumberOfInterpolationPoints(int fixedNumberOfInterpolationPoints)
Set the interpolation grid specification.void
setInitialOrbitIsOsculating(boolean initialOrbitIsOsculating)
Set the flag for initial orbit type.void
setMaxTimeGapBetweenInterpolationPoints(double maxTimeGapBetweenInterpolationPoints)
Set the interpolation grid specification.void
setNumericalComparison(boolean numericalComparison)
Set the flag for the comparison with the numerical orbit propagator.void
setOrbit(TutorialOrbit orbit)
Set the orbit data.void
setOutputOrbitIsOsculating(boolean outputOrbitIsOsculating)
Set the flag for output orbit type.void
setOutputShortPeriodCoefficients(List<String> outputShortPeriodCoefficients)
Set the list of short period coefficients to output.void
setOutputStep(double outputStep)
Set the time step between printed elements.void
setPropagator(TutorialPropagator propagator)
Set the orbit propagator data.void
setSpacecraft(TutorialSpacecraft spacecraft)
Set the spacecraft data.
-
-
-
Method Detail
-
getOrbit
public TutorialOrbit getOrbit()
Get the orbit data.- Returns:
- the orbit data
-
setOrbit
public void setOrbit(TutorialOrbit orbit)
Set the orbit data.- Parameters:
orbit
- orbit data
-
getBody
public TutorialBody getBody()
Get the body data.- Returns:
- the body data
-
setBody
public void setBody(TutorialBody body)
Set the body data.- Parameters:
body
- body data
-
getPropagator
public TutorialPropagator getPropagator()
Get the orbit propagator data.- Returns:
- the orbit propagator data
-
setPropagator
public void setPropagator(TutorialPropagator propagator)
Set the orbit propagator data.- Parameters:
propagator
- orbit propagator data
-
getSpacecraft
public TutorialSpacecraft getSpacecraft()
Get the spacecraft data.- Returns:
- the spacecraft data
-
setSpacecraft
public void setSpacecraft(TutorialSpacecraft spacecraft)
Set the spacecraft data.- Parameters:
spacecraft
- spacecraft data
-
isInitialOrbitIsOsculating
public boolean isInitialOrbitIsOsculating()
Get the flag for initial orbit type.- Returns:
- true if initial orbit is defined with osculating elements
-
setInitialOrbitIsOsculating
public void setInitialOrbitIsOsculating(boolean initialOrbitIsOsculating)
Set the flag for initial orbit type.- Parameters:
initialOrbitIsOsculating
- true if initial orbit is defined with osculating elements
-
isOutputOrbitIsOsculating
public boolean isOutputOrbitIsOsculating()
Get the flag for output orbit type.- Returns:
- true if output orbit is defined with osculating elements
-
setOutputOrbitIsOsculating
public void setOutputOrbitIsOsculating(boolean outputOrbitIsOsculating)
Set the flag for output orbit type.- Parameters:
outputOrbitIsOsculating
- true if output orbit is defined with osculating elements
-
getDurationInDays
public double getDurationInDays()
Get the simulation duration.- Returns:
- the simulation duration (days)
-
setDurationInDays
public void setDurationInDays(double durationInDays)
Set the simulation duration.- Parameters:
durationInDays
- simulation duration (days)
-
getOutputStep
public double getOutputStep()
Get the time step between printed elements.- Returns:
- the time step between printed elements (s)
-
setOutputStep
public void setOutputStep(double outputStep)
Set the time step between printed elements.- Parameters:
outputStep
- time step between printed elements (s)
-
getOutputShortPeriodCoefficients
public List<String> getOutputShortPeriodCoefficients()
Get the list of short period coefficients to output.- Returns:
- the list of short period coefficients to output.
-
setOutputShortPeriodCoefficients
public void setOutputShortPeriodCoefficients(List<String> outputShortPeriodCoefficients)
Set the list of short period coefficients to output.- Parameters:
outputShortPeriodCoefficients
- list of short period coefficients to output
-
getMaxTimeGapBetweenInterpolationPoints
public double getMaxTimeGapBetweenInterpolationPoints()
Get the interpolation grid specification.- Returns:
- the interpolation grid specification
-
setMaxTimeGapBetweenInterpolationPoints
public void setMaxTimeGapBetweenInterpolationPoints(double maxTimeGapBetweenInterpolationPoints)
Set the interpolation grid specification.- Parameters:
maxTimeGapBetweenInterpolationPoints
- interpolation grid specification
-
getFixedNumberOfInterpolationPoints
public int getFixedNumberOfInterpolationPoints()
Get the interpolation grid specification.- Returns:
- the interpolation grid specification
-
setFixedNumberOfInterpolationPoints
public void setFixedNumberOfInterpolationPoints(int fixedNumberOfInterpolationPoints)
Set the interpolation grid specification.- Parameters:
fixedNumberOfInterpolationPoints
- interpolation grid specification
-
isNumericalComparison
public boolean isNumericalComparison()
Get the flag for the comparison with the numerical orbit propagator.- Returns:
- if true, DSST results are compared with the numerical orbit propagator
-
setNumericalComparison
public void setNumericalComparison(boolean numericalComparison)
Set the flag for the comparison with the numerical orbit propagator.- Parameters:
numericalComparison
- if true, DSST results are compared with the numerical orbit propagator
-
-