Class KeplerianPropagator
- java.lang.Object
-
- org.orekit.propagation.AbstractPropagator
-
- org.orekit.propagation.analytical.AbstractAnalyticalPropagator
-
- org.orekit.propagation.analytical.KeplerianPropagator
-
- All Implemented Interfaces:
Serializable
,Propagator
,PVCoordinatesProvider
public class KeplerianPropagator extends AbstractAnalyticalPropagator implements Serializable
Simple Keplerian orbit propagator.- Author:
- Guylaine Prat
- See Also:
Orbit
, Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.orekit.propagation.Propagator
DEFAULT_LAW, DEFAULT_MASS, EPHEMERIS_GENERATION_MODE, MASTER_MODE, SLAVE_MODE
-
-
Constructor Summary
Constructors Constructor Description KeplerianPropagator(Orbit initialOrbit)
Build a propagator from orbit only.KeplerianPropagator(Orbit initialOrbit, double mu)
Build a propagator from orbit and central attraction coefficient μ.KeplerianPropagator(Orbit initialOrbit, AttitudeProvider attitudeProv)
Build a propagator from orbit and attitude provider.KeplerianPropagator(Orbit initialOrbit, AttitudeProvider attitudeProv, double mu)
Build a propagator from orbit, attitude provider and central attraction coefficient μ.KeplerianPropagator(Orbit initialOrbit, AttitudeProvider attitudeProv, double mu, double mass)
Build propagator from orbit, attitude provider, central attraction coefficient μ and mass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
getMass(AbsoluteDate date)
Get the mass.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.-
Methods inherited from class org.orekit.propagation.analytical.AbstractAnalyticalPropagator
acceptStep, addEventDetector, basicPropagate, clearEventsDetectors, getEventsDetectors, getGeneratedEphemeris, getPvProvider, propagate
-
Methods inherited from class org.orekit.propagation.AbstractPropagator
addAdditionalStateProvider, getAdditionalStateProviders, getAttitudeProvider, getFixedStepSize, getFrame, getInitialState, getManagedAdditionalStates, getMode, getPVCoordinates, getStartDate, getStepHandler, isAdditionalStateManaged, propagate, setAttitudeProvider, setEphemerisMode, setEphemerisMode, setMasterMode, setMasterMode, setSlaveMode, setStartDate, updateAdditionalStates
-
-
-
-
Constructor Detail
-
KeplerianPropagator
public KeplerianPropagator(Orbit initialOrbit)
Build a propagator from orbit only.The central attraction coefficient μ is set to the same value used for the initial orbit definition. Mass and attitude provider are set to unspecified non-null arbitrary values.
- Parameters:
initialOrbit
- initial orbit
-
KeplerianPropagator
public KeplerianPropagator(Orbit initialOrbit, double mu)
Build a propagator from orbit and central attraction coefficient μ.Mass and attitude provider are set to unspecified non-null arbitrary values.
- Parameters:
initialOrbit
- initial orbitmu
- central attraction coefficient (m³/s²)
-
KeplerianPropagator
public KeplerianPropagator(Orbit initialOrbit, AttitudeProvider attitudeProv)
Build a propagator from orbit and attitude provider.The central attraction coefficient μ is set to the same value used for the initial orbit definition. Mass is set to an unspecified non-null arbitrary value.
- Parameters:
initialOrbit
- initial orbitattitudeProv
- attitude provider
-
KeplerianPropagator
public KeplerianPropagator(Orbit initialOrbit, AttitudeProvider attitudeProv, double mu)
Build a propagator from orbit, attitude provider and central attraction coefficient μ.Mass is set to an unspecified non-null arbitrary value.
- Parameters:
initialOrbit
- initial orbitattitudeProv
- attitude providermu
- central attraction coefficient (m³/s²)
-
KeplerianPropagator
public KeplerianPropagator(Orbit initialOrbit, AttitudeProvider attitudeProv, double mu, double mass)
Build propagator from orbit, attitude provider, central attraction coefficient μ and mass.- Parameters:
initialOrbit
- initial orbitattitudeProv
- attitude providermu
- central attraction coefficient (m³/s²)mass
- spacecraft mass (kg)
-
-
Method Detail
-
resetInitialState
public void resetInitialState(SpacecraftState state)
Reset the propagator initial state.- Specified by:
resetInitialState
in interfacePropagator
- Overrides:
resetInitialState
in classAbstractPropagator
- Parameters:
state
- new initial state to consider
-
resetIntermediateState
protected void resetIntermediateState(SpacecraftState state, boolean forward)
Reset an intermediate state.- Specified by:
resetIntermediateState
in classAbstractAnalyticalPropagator
- Parameters:
state
- new intermediate state to considerforward
- if true, the intermediate state is valid for propagations after itself
-
propagateOrbit
protected Orbit propagateOrbit(AbsoluteDate date)
Extrapolate an orbit up to a specific target date.- Specified by:
propagateOrbit
in classAbstractAnalyticalPropagator
- Parameters:
date
- target date for the orbit- Returns:
- extrapolated parameters
-
getMass
protected double getMass(AbsoluteDate date)
Get the mass.- Specified by:
getMass
in classAbstractAnalyticalPropagator
- Parameters:
date
- target date for the orbit- Returns:
- mass mass
-
-