public class IntegratedEphemeris extends AbstractAnalyticalPropagator implements BoundedPropagator
Instances of this class are built automatically when the getEphemerisGenerator
method has been called. They are created when propagation is over.
Random access to any intermediate state of the orbit throughout the propagation range is
possible afterwards through this object.
A typical use case is for numerically integrated orbits, which can be used by algorithms that need to wander around according to their own algorithm without cumbersome tight links with the integrator.
As this class implements the Propagator
interface, it can itself be used in batch mode to build another instance of the
same type. This is however not recommended since it would be a waste of resources.
Note that this class stores all intermediate states along with interpolation models, so it may be memory intensive.
NumericalPropagator
DEFAULT_MASS
Constructor and Description |
---|
IntegratedEphemeris(AbsoluteDate startDate,
AbsoluteDate minDate,
AbsoluteDate maxDate,
StateMapper mapper,
PropagationType type,
DenseOutputModel model,
DoubleArrayDictionary unmanaged,
List<AdditionalStateProvider> providers,
String[] equations)
|
IntegratedEphemeris(AbsoluteDate startDate,
AbsoluteDate minDate,
AbsoluteDate maxDate,
StateMapper mapper,
PropagationType type,
DenseOutputModel model,
DoubleArrayDictionary unmanaged,
List<AdditionalStateProvider> providers,
String[] equations,
int[] dimensions)
Creates a new instance of IntegratedEphemeris.
|
IntegratedEphemeris(AbsoluteDate startDate,
AbsoluteDate minDate,
AbsoluteDate maxDate,
StateMapper mapper,
PropagationType type,
DenseOutputModel model,
Map<String,double[]> unmanaged,
List<AdditionalStateProvider> providers,
String[] equations)
|
Modifier and Type | Method and Description |
---|---|
protected SpacecraftState |
basicPropagate(AbsoluteDate date)
Propagate an orbit without any fancy features.
|
Frame |
getFrame()
Get the frame in which the orbit is propagated.
|
SpacecraftState |
getInitialState()
Get the propagator initial state.
|
protected double |
getMass(AbsoluteDate date)
Get the mass.
|
AbsoluteDate |
getMaxDate()
Get the last date of the range.
|
AbsoluteDate |
getMinDate()
Get the first date of the range.
|
TimeStampedPVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the
PVCoordinates of the body in the selected frame. |
protected Orbit |
propagateOrbit(AbsoluteDate date)
Extrapolate an orbit up to a specific target date.
|
void |
resetInitialState(SpacecraftState state)
Reset the propagator initial state.
|
protected void |
resetIntermediateState(SpacecraftState state,
boolean forward)
Reset an intermediate state.
|
void |
setAttitudeProvider(AttitudeProvider attitudeProvider)
Set attitude provider.
|
acceptStep, addEventDetector, clearEventsDetectors, getEphemerisGenerator, getEventsDetectors, getJacobiansColumnsNames, getPvProvider, propagate
addAdditionalStateProvider, createHarvester, getAdditionalStateProviders, getAttitudeProvider, getHarvester, getManagedAdditionalStates, getMultiplexer, getStartDate, initializePropagation, isAdditionalStateManaged, propagate, setStartDate, setupMatricesComputation, stateChanged, updateAdditionalStates, updateUnmanagedStates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAdditionalStateProvider, addEventDetector, clearEventsDetectors, clearStepHandlers, getAdditionalStateProviders, getAttitudeProvider, getDefaultLaw, getEphemerisGenerator, getEventsDetectors, getManagedAdditionalStates, getMultiplexer, isAdditionalStateManaged, propagate, propagate, setStepHandler, setStepHandler, setupMatricesComputation
@Deprecated public IntegratedEphemeris(AbsoluteDate startDate, AbsoluteDate minDate, AbsoluteDate maxDate, StateMapper mapper, PropagationType type, DenseOutputModel model, Map<String,double[]> unmanaged, List<AdditionalStateProvider> providers, String[] equations)
IntegratedEphemeris(AbsoluteDate,
AbsoluteDate, AbsoluteDate, StateMapper, PropagationType, DenseOutputModel,
DoubleArrayDictionary, List, String[], int[])
startDate
- Start date of the integration (can be minDate or maxDate)minDate
- first date of the rangemaxDate
- last date of the rangemapper
- mapper between raw double components and spacecraft statetype
- type of orbit to output (mean or osculating)model
- underlying raw mathematical modelunmanaged
- unmanaged additional states that must be simply copiedproviders
- providers for pre-integrated statesequations
- names of additional equations@Deprecated public IntegratedEphemeris(AbsoluteDate startDate, AbsoluteDate minDate, AbsoluteDate maxDate, StateMapper mapper, PropagationType type, DenseOutputModel model, DoubleArrayDictionary unmanaged, List<AdditionalStateProvider> providers, String[] equations)
IntegratedEphemeris(AbsoluteDate,
AbsoluteDate, AbsoluteDate, StateMapper, PropagationType, DenseOutputModel,
DoubleArrayDictionary, List, String[], int[])
startDate
- Start date of the integration (can be minDate or maxDate)minDate
- first date of the rangemaxDate
- last date of the rangemapper
- mapper between raw double components and spacecraft statetype
- type of orbit to output (mean or osculating)model
- underlying raw mathematical modelunmanaged
- unmanaged additional states that must be simply copiedproviders
- providers for pre-integrated statesequations
- names of additional equationspublic IntegratedEphemeris(AbsoluteDate startDate, AbsoluteDate minDate, AbsoluteDate maxDate, StateMapper mapper, PropagationType type, DenseOutputModel model, DoubleArrayDictionary unmanaged, List<AdditionalStateProvider> providers, String[] equations, int[] dimensions)
startDate
- Start date of the integration (can be minDate or maxDate)minDate
- first date of the rangemaxDate
- last date of the rangemapper
- mapper between raw double components and spacecraft statetype
- type of orbit to output (mean or osculating)model
- underlying raw mathematical modelunmanaged
- unmanaged additional states that must be simply copiedproviders
- providers for pre-integrated statesequations
- names of additional equationsdimensions
- dimensions of additional equationsprotected SpacecraftState basicPropagate(AbsoluteDate date)
This method is similar in spirit to the AbstractAnalyticalPropagator.propagate(org.orekit.time.AbsoluteDate, org.orekit.time.AbsoluteDate)
method,
except that it does not call any handler during
propagation, nor any discrete events, not additional states. It always
stop exactly at the specified date.
basicPropagate
in class AbstractAnalyticalPropagator
date
- target date for propagationprotected Orbit propagateOrbit(AbsoluteDate date)
propagateOrbit
in class AbstractAnalyticalPropagator
date
- target date for the orbitprotected double getMass(AbsoluteDate date)
getMass
in class AbstractAnalyticalPropagator
date
- target date for the orbitpublic TimeStampedPVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
PVCoordinates
of the body in the selected frame.getPVCoordinates
in interface PVCoordinatesProvider
getPVCoordinates
in class AbstractPropagator
date
- current dateframe
- the frame where to define the positionpublic AbsoluteDate getMinDate()
getMinDate
in interface BoundedPropagator
public AbsoluteDate getMaxDate()
getMaxDate
in interface BoundedPropagator
public Frame getFrame()
AbstractPropagator
The propagation frame is the definition frame of the initial state, so this method should be called after this state has been set, otherwise it may return null.
getFrame
in interface Propagator
getFrame
in class AbstractPropagator
Propagator.resetInitialState(SpacecraftState)
public void resetInitialState(SpacecraftState state)
resetInitialState
in interface Propagator
resetInitialState
in class AbstractPropagator
state
- new initial state to considerprotected void resetIntermediateState(SpacecraftState state, boolean forward)
resetIntermediateState
in class AbstractAnalyticalPropagator
state
- new intermediate state to considerforward
- if true, the intermediate state is valid for
propagations after itselfpublic void setAttitudeProvider(AttitudeProvider attitudeProvider)
setAttitudeProvider
in interface Propagator
setAttitudeProvider
in class AbstractPropagator
attitudeProvider
- attitude providerpublic SpacecraftState getInitialState()
getInitialState
in interface Propagator
getInitialState
in class AbstractPropagator
Copyright © 2002-2022 CS GROUP. All rights reserved.