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_LAW, DEFAULT_MASS, EPHEMERIS_GENERATION_MODE, MASTER_MODE, SLAVE_MODE
Constructor and Description |
---|
AggregateBoundedPropagator(Collection<? extends BoundedPropagator> propagators)
Create a propagator by concatenating several
BoundedPropagator s. |
Modifier and Type | Method and Description |
---|---|
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, basicPropagate, clearEventsDetectors, getEventsDetectors, getGeneratedEphemeris, getPvProvider, propagate
addAdditionalStateProvider, getAdditionalStateProviders, getAttitudeProvider, getFixedStepSize, getFrame, getManagedAdditionalStates, getMode, getStartDate, getStepHandler, isAdditionalStateManaged, propagate, setAttitudeProvider, setEphemerisMode, setEphemerisMode, setMasterMode, setMasterMode, setSlaveMode, setStartDate, updateAdditionalStates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAdditionalStateProvider, addEventDetector, clearEventsDetectors, getAdditionalStateProviders, getAttitudeProvider, getEventsDetectors, getFrame, getGeneratedEphemeris, getManagedAdditionalStates, getMode, isAdditionalStateManaged, propagate, propagate, setAttitudeProvider, setEphemerisMode, setEphemerisMode, setMasterMode, setMasterMode, setSlaveMode
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.public 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-2019 CS Systèmes d'information. All rights reserved.