Class FieldKeplerianPropagator<T extends org.hipparchus.RealFieldElement<T>>
- java.lang.Object
-
- org.orekit.propagation.FieldAbstractPropagator<T>
-
- org.orekit.propagation.analytical.FieldAbstractAnalyticalPropagator<T>
-
- org.orekit.propagation.analytical.FieldKeplerianPropagator<T>
-
- All Implemented Interfaces:
FieldPropagator<T>,FieldPVCoordinatesProvider<T>
public class FieldKeplerianPropagator<T extends org.hipparchus.RealFieldElement<T>> extends FieldAbstractAnalyticalPropagator<T>
Simple Keplerian orbit propagator.- Author:
- Guylaine Prat
- See Also:
FieldOrbit
-
-
Field Summary
-
Fields inherited from interface org.orekit.propagation.FieldPropagator
DEFAULT_LAW, DEFAULT_MASS, EPHEMERIS_GENERATION_MODE, MASTER_MODE, SLAVE_MODE
-
-
Constructor Summary
Constructors Constructor Description FieldKeplerianPropagator(FieldOrbit<T> initialFieldOrbit)Build a propagator from orbit only.FieldKeplerianPropagator(FieldOrbit<T> initialFieldOrbit, double mu)Build a propagator from orbit and central attraction coefficient μ.FieldKeplerianPropagator(FieldOrbit<T> initialFieldOrbit, AttitudeProvider attitudeProv)Build a propagator from orbit and attitude provider.FieldKeplerianPropagator(FieldOrbit<T> initialFieldOrbit, AttitudeProvider attitudeProv, double mu)Build a propagator from orbit, attitude provider and central attraction coefficient μ.FieldKeplerianPropagator(FieldOrbit<T> initialOrbit, AttitudeProvider attitudeProv, double mu, T 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 TgetMass(FieldAbsoluteDate<T> date)Get the mass.protected FieldOrbit<T>propagateOrbit(FieldAbsoluteDate<T> date)Extrapolate an orbit up to a specific target date.voidresetInitialState(FieldSpacecraftState<T> state)Reset the propagator initial state.protected voidresetIntermediateState(FieldSpacecraftState<T> state, boolean forward)Reset an intermediate state.-
Methods inherited from class org.orekit.propagation.analytical.FieldAbstractAnalyticalPropagator
acceptStep, addEventDetector, basicPropagate, clearEventsDetectors, getEventsDetectors, getGeneratedEphemeris, getPvProvider, propagate
-
Methods inherited from class org.orekit.propagation.FieldAbstractPropagator
addAdditionalStateProvider, getAdditionalStateProviders, getAttitudeProvider, getField, getFixedStepSize, getFrame, getInitialState, getManagedAdditionalStates, getMode, getPVCoordinates, getStartDate, getStepHandler, isAdditionalStateManaged, propagate, setAttitudeProvider, setEphemerisMode, setMasterMode, setMasterMode, setSlaveMode, setStartDate, updateAdditionalStates
-
-
-
-
Constructor Detail
-
FieldKeplerianPropagator
public FieldKeplerianPropagator(FieldOrbit<T> initialFieldOrbit)
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:
initialFieldOrbit- initial orbit
-
FieldKeplerianPropagator
public FieldKeplerianPropagator(FieldOrbit<T> initialFieldOrbit, double mu)
Build a propagator from orbit and central attraction coefficient μ.Mass and attitude provider are set to unspecified non-null arbitrary values.
- Parameters:
initialFieldOrbit- initial orbitmu- central attraction coefficient (m³/s²)
-
FieldKeplerianPropagator
public FieldKeplerianPropagator(FieldOrbit<T> initialFieldOrbit, 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:
initialFieldOrbit- initial orbitattitudeProv- attitude provider
-
FieldKeplerianPropagator
public FieldKeplerianPropagator(FieldOrbit<T> initialFieldOrbit, 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:
initialFieldOrbit- initial orbitattitudeProv- attitude providermu- central attraction coefficient (m³/s²)
-
FieldKeplerianPropagator
public FieldKeplerianPropagator(FieldOrbit<T> initialOrbit, AttitudeProvider attitudeProv, double mu, T 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(FieldSpacecraftState<T> state)
Reset the propagator initial state.- Specified by:
resetInitialStatein interfaceFieldPropagator<T extends org.hipparchus.RealFieldElement<T>>- Overrides:
resetInitialStatein classFieldAbstractPropagator<T extends org.hipparchus.RealFieldElement<T>>- Parameters:
state- new initial state to consider
-
resetIntermediateState
protected void resetIntermediateState(FieldSpacecraftState<T> state, boolean forward)
Reset an intermediate state.- Specified by:
resetIntermediateStatein classFieldAbstractAnalyticalPropagator<T extends org.hipparchus.RealFieldElement<T>>- Parameters:
state- new intermediate state to considerforward- if true, the intermediate state is valid for propagations after itself
-
propagateOrbit
protected FieldOrbit<T> propagateOrbit(FieldAbsoluteDate<T> date)
Extrapolate an orbit up to a specific target date.- Specified by:
propagateOrbitin classFieldAbstractAnalyticalPropagator<T extends org.hipparchus.RealFieldElement<T>>- Parameters:
date- target date for the orbit- Returns:
- extrapolated parameters
-
getMass
protected T getMass(FieldAbsoluteDate<T> date)
Get the mass.- Specified by:
getMassin classFieldAbstractAnalyticalPropagator<T extends org.hipparchus.RealFieldElement<T>>- Parameters:
date- target date for the orbit- Returns:
- mass mass
-
-