Package org.orekit.propagation.numerical
Class GLONASSNumericalPropagatorBuilder
java.lang.Object
org.orekit.propagation.numerical.GLONASSNumericalPropagatorBuilder
This nested class aims at building a GLONASSNumericalPropagator.
It implements the classical builder pattern.
Caution: The Glonass numerical propagator can only be used with GLONASSFdmaNavigationMessage.
Using this propagator with a GLONASSAlmanac is prone to error.
- Since:
- 11.0
- Author:
- Bryan Cazabonne
-
Constructor Summary
ConstructorsConstructorDescriptionGLONASSNumericalPropagatorBuilder(ClassicalRungeKuttaIntegrator integrator, GLONASSOrbitalElements glonassOrbElt, boolean isAccAvailable) Initializes the builder.GLONASSNumericalPropagatorBuilder(ClassicalRungeKuttaIntegrator integrator, GLONASSOrbitalElements glonassOrbElt, boolean isAccAvailable, DataContext context) Initializes the builder. -
Method Summary
Modifier and TypeMethodDescriptionattitudeProvider(AttitudeProvider userProvider) Sets the attitude provider.build()Finalizes the build.Sets the Earth Centered Inertial frame used for propagation.mass(double userMass) Sets the mass.
-
Constructor Details
-
GLONASSNumericalPropagatorBuilder
@DefaultDataContext public GLONASSNumericalPropagatorBuilder(ClassicalRungeKuttaIntegrator integrator, GLONASSOrbitalElements glonassOrbElt, boolean isAccAvailable) Initializes the builder.The attitude provider is set by default to EME2000 aligned in the default data context.
The mass is set by default to theDEFAULT_MASS.
The data context is by default to thedefault data context.
The ECI frame is set by default to theEME2000 framein the default data context.
- Parameters:
integrator- 4th order Runge-Kutta as recommended by GLONASS ICDglonassOrbElt- the GLONASS orbital elements to be used by the GLONASSNumericalPropagator.isAccAvailable- flag for availability of the projections of accelerations transmitted within the navigation message- See Also:
-
GLONASSNumericalPropagatorBuilder
public GLONASSNumericalPropagatorBuilder(ClassicalRungeKuttaIntegrator integrator, GLONASSOrbitalElements glonassOrbElt, boolean isAccAvailable, DataContext context) Initializes the builder.The attitude provider is set by default to EME2000 aligned in the provided data context.
The mass is set by default to theDEFAULT_MASS.
The ECI frame is set by default to theEME2000 framein the default data context.
- Parameters:
integrator- 4th order Runge-Kutta as recommended by GLONASS ICDglonassOrbElt- the GLONASS orbital elements to be used by the GLONASSNumericalPropagator.isAccAvailable- flag for availability of the projections of accelerations transmitted within the navigation messagecontext- data context- See Also:
-
-
Method Details
-
attitudeProvider
Sets the attitude provider.- Parameters:
userProvider- the attitude provider- Returns:
- the updated builder
-
mass
Sets the mass.- Parameters:
userMass- the mass (in kg)- Returns:
- the updated builder
-
eci
Sets the Earth Centered Inertial frame used for propagation.- Parameters:
inertial- the ECI frame- Returns:
- the updated builder
-
build
Finalizes the build.- Returns:
- the built Glonass numerical propagator
-