Class AggregateBoundedPropagator
java.lang.Object
org.orekit.propagation.AbstractPropagator
org.orekit.propagation.analytical.AbstractAnalyticalPropagator
org.orekit.propagation.analytical.AggregateBoundedPropagator
- All Implemented Interfaces:
BoundedPropagator,Propagator,BoundedPVCoordinatesProvider,PVCoordinatesProvider
public class AggregateBoundedPropagator
extends AbstractAnalyticalPropagator
implements BoundedPropagator
A
BoundedPropagator that covers a larger time span from several constituent
propagators that cover shorter time spans.- Since:
- 9.0
- Author:
- Evan Ward
- See Also:
-
Field Summary
Fields inherited from interface org.orekit.propagation.Propagator
DEFAULT_MASS -
Constructor Summary
ConstructorsConstructorDescriptionAggregateBoundedPropagator(Collection<? extends BoundedPropagator> propagators) Create a propagator by concatenating severalBoundedPropagators.AggregateBoundedPropagator(NavigableMap<AbsoluteDate, ? extends BoundedPropagator> propagators, AbsoluteDate min, AbsoluteDate max) Create a propagator from several constituent propagators. -
Method Summary
Modifier and TypeMethodDescriptionbasicPropagate(AbsoluteDate date) Propagate an orbit without any fancy features.Get the propagator initial state.protected doublegetMass(AbsoluteDate date) Get the mass.Get the last date of the range.Get the first date of the range.getPosition(AbsoluteDate date, Frame frame) Get the position of the body in the selected frame.Get the propagators map.getPVCoordinates(AbsoluteDate date, Frame frame) Get thePVCoordinatesof the body in the selected frame.propagateOrbit(AbsoluteDate date) Extrapolate an orbit up to a specific target date.voidresetInitialState(SpacecraftState state) Reset the propagator initial state.protected voidresetIntermediateState(SpacecraftState state, boolean forward) Reset an intermediate state.Methods inherited from class org.orekit.propagation.analytical.AbstractAnalyticalPropagator
acceptStep, addEventDetector, clearEventsDetectors, clearMatricesComputation, getEphemerisGenerator, getEventDetectors, getJacobiansColumnsNames, getPvProvider, propagateMethods inherited from class org.orekit.propagation.AbstractPropagator
addAdditionalDataProvider, createHarvester, getAdditionalDataProviders, getAttitudeProvider, getFrame, getHarvester, getManagedAdditionalData, getMultiplexer, getStartDate, initializeAdditionalData, initializePropagation, isAdditionalDataManaged, propagate, removeAdditionalDataProvider, setAttitudeProvider, setStartDate, setupMatricesComputation, stateChanged, updateAdditionalData, updateUnmanagedDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.Propagator
addAdditionalDataProvider, addEventDetector, clearEventsDetectors, clearStepHandlers, getAdditionalDataProviders, getAttitudeProvider, getEphemerisGenerator, getEventDetectors, getFrame, getManagedAdditionalData, getMultiplexer, getVelocity, isAdditionalDataManaged, propagate, propagate, setAttitudeProvider, setStepHandler, setStepHandler, setupMatricesComputation
-
Constructor Details
-
AggregateBoundedPropagator
Create a propagator by concatenating severalBoundedPropagators.- Parameters:
propagators- that provide the backing data for this instance. There must be at least one propagator in the collection. If there are gaps between theBoundedPVCoordinatesProvider.getMaxDate()of one propagator and theBoundedPVCoordinatesProvider.getMinDate()of the next propagator an exception may be thrown by any method of this class at any time. If there are overlaps between theBoundedPVCoordinatesProvider.getMaxDate()of one propagator and theBoundedPVCoordinatesProvider.getMinDate()of the next propagator then the propagator with the latestBoundedPVCoordinatesProvider.getMinDate()is used.
-
-
Method Details
-
getPropagatorsMap
Get the propagators map.- Returns:
- propagators map
- Since:
- 12.1
-
basicPropagate
Description copied from class:AbstractAnalyticalPropagatorPropagate an orbit without any fancy features.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 stops exactly at the specified date.- Overrides:
basicPropagatein classAbstractAnalyticalPropagator- Parameters:
date- target date for propagation- Returns:
- state at specified date
-
getPVCoordinates
Description copied from interface:PropagatorGet thePVCoordinatesof the body in the selected frame.- Specified by:
getPVCoordinatesin interfacePropagator- Specified by:
getPVCoordinatesin interfacePVCoordinatesProvider- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- time-stamped position/velocity of the body (m and m/s)
-
getPosition
Description copied from interface:PropagatorGet the position of the body in the selected frame.- Specified by:
getPositionin interfacePropagator- Specified by:
getPositionin interfacePVCoordinatesProvider- Parameters:
date- current dateframe- the frame where to define the position- Returns:
- position of the body (m and)
-
propagateOrbit
Description copied from class:AbstractAnalyticalPropagatorExtrapolate an orbit up to a specific target date.- Specified by:
propagateOrbitin classAbstractAnalyticalPropagator- Parameters:
date- target date for the orbit- Returns:
- extrapolated parameters
-
getMinDate
Description copied from interface:BoundedPVCoordinatesProviderGet the first date of the range.- Specified by:
getMinDatein interfaceBoundedPVCoordinatesProvider- Returns:
- the first date of the range
-
getMaxDate
Description copied from interface:BoundedPVCoordinatesProviderGet the last date of the range.- Specified by:
getMaxDatein interfaceBoundedPVCoordinatesProvider- Returns:
- the last date of the range
-
getMass
Description copied from class:AbstractAnalyticalPropagatorGet the mass.- Specified by:
getMassin classAbstractAnalyticalPropagator- Parameters:
date- target date for the orbit- Returns:
- mass mass
-
getInitialState
Description copied from class:AbstractPropagatorGet the propagator initial state.- Specified by:
getInitialStatein interfacePropagator- Overrides:
getInitialStatein classAbstractPropagator- Returns:
- initial state
-
resetIntermediateState
Description copied from class:AbstractAnalyticalPropagatorReset an intermediate state.- Specified by:
resetIntermediateStatein classAbstractAnalyticalPropagator- Parameters:
state- new intermediate state to considerforward- if true, the intermediate state is valid for propagations after itself
-
resetInitialState
Description copied from class:AbstractPropagatorReset the propagator initial state.- Specified by:
resetInitialStatein interfacePropagator- Overrides:
resetInitialStatein classAbstractPropagator- Parameters:
state- new initial state to consider
-