public class AggregateBoundedPropagator extends AbstractAnalyticalPropagator implements BoundedPropagator
BoundedPropagator
that covers a larger time span from several constituent
propagators that cover shorter time spans.AggregateBoundedPropagator(Collection)
DEFAULT_MASS
Constructor and Description |
---|
AggregateBoundedPropagator(Collection<? extends BoundedPropagator> propagators)
Create a propagator by concatenating several
BoundedPropagator s. |
Modifier and Type | Method and Description |
---|---|
protected SpacecraftState |
basicPropagate(AbsoluteDate date)
Propagate an orbit without any fancy features.
|
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.
|
acceptStep, addEventDetector, clearEventsDetectors, getEphemerisGenerator, getEventsDetectors, getJacobiansColumnsNames, getPvProvider, propagate
addAdditionalStateProvider, createHarvester, getAdditionalStateProviders, getAttitudeProvider, getFrame, getHarvester, getManagedAdditionalStates, getMultiplexer, getStartDate, initializePropagation, isAdditionalStateManaged, propagate, setAttitudeProvider, 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, getFrame, getManagedAdditionalStates, getMultiplexer, isAdditionalStateManaged, propagate, propagate, setAttitudeProvider, setStepHandler, setStepHandler, setupMatricesComputation
public AggregateBoundedPropagator(Collection<? extends BoundedPropagator> propagators)
BoundedPropagator
s.propagators
- that provide the backing data for this instance. There must be
at least one propagator in the collection. If there are gaps
between the BoundedPropagator.getMaxDate()
of one
propagator and the BoundedPropagator.getMinDate()
of the
next propagator an exception may be thrown by any method of this
class at any time. If there are overlaps between the the BoundedPropagator.getMaxDate()
of one propagator and the BoundedPropagator.getMinDate()
of the next propagator then the
propagator with the latest BoundedPropagator.getMinDate()
is used.protected SpacecraftState basicPropagate(AbsoluteDate date)
AbstractAnalyticalPropagator
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 propagationpublic TimeStampedPVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
AbstractPropagator
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 positionprotected Orbit propagateOrbit(AbsoluteDate date)
AbstractAnalyticalPropagator
propagateOrbit
in class AbstractAnalyticalPropagator
date
- target date for the orbitpublic AbsoluteDate getMinDate()
BoundedPropagator
getMinDate
in interface BoundedPropagator
public AbsoluteDate getMaxDate()
BoundedPropagator
getMaxDate
in interface BoundedPropagator
protected double getMass(AbsoluteDate date)
AbstractAnalyticalPropagator
getMass
in class AbstractAnalyticalPropagator
date
- target date for the orbitpublic SpacecraftState getInitialState()
AbstractPropagator
getInitialState
in interface Propagator
getInitialState
in class AbstractPropagator
protected void resetIntermediateState(SpacecraftState state, boolean forward)
AbstractAnalyticalPropagator
resetIntermediateState
in class AbstractAnalyticalPropagator
state
- new intermediate state to considerforward
- if true, the intermediate state is valid for
propagations after itselfpublic void resetInitialState(SpacecraftState state)
AbstractPropagator
resetInitialState
in interface Propagator
resetInitialState
in class AbstractPropagator
state
- new initial state to considerCopyright © 2002-2022 CS GROUP. All rights reserved.