Package org.orekit.propagation.numerical
Class GLONASSNumericalPropagatorBuilder
- java.lang.Object
-
- org.orekit.propagation.numerical.GLONASSNumericalPropagatorBuilder
-
public class GLONASSNumericalPropagatorBuilder extends Object
This nested class aims at building a GLONASSNumericalPropagator.It implements the classical builder pattern.
Caution: The Glonass numerical propagator can only be used with
GLONASSNavigationMessage
. Using this propagator with aGLONASSAlmanac
is prone to error.- Since:
- 11.0
- Author:
- Bryan Cazabonne
-
-
Constructor Summary
Constructors Constructor Description GLONASSNumericalPropagatorBuilder(ClassicalRungeKuttaIntegrator integrator, GLONASSOrbitalElements glonassOrbElt, boolean isAccAvailable)
Initializes the builder.GLONASSNumericalPropagatorBuilder(ClassicalRungeKuttaIntegrator integrator, GLONASSOrbitalElements glonassOrbElt, boolean isAccAvailable, DataContext context)
Initializes the builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GLONASSNumericalPropagatorBuilder
attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.GLONASSNumericalPropagator
build()
Finalizes the build.GLONASSNumericalPropagatorBuilder
eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.GLONASSNumericalPropagatorBuilder
mass(double userMass)
Sets the mass.
-
-
-
Constructor Detail
-
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 frame
in 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:
attitudeProvider(AttitudeProvider provider)
,mass(double mass)
,eci(Frame inertial)
-
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 frame
in 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:
attitudeProvider(AttitudeProvider provider)
,mass(double mass)
,eci(Frame inertial)
-
-
Method Detail
-
attitudeProvider
public GLONASSNumericalPropagatorBuilder attitudeProvider(AttitudeProvider userProvider)
Sets the attitude provider.- Parameters:
userProvider
- the attitude provider- Returns:
- the updated builder
-
mass
public GLONASSNumericalPropagatorBuilder mass(double userMass)
Sets the mass.- Parameters:
userMass
- the mass (in kg)- Returns:
- the updated builder
-
eci
public GLONASSNumericalPropagatorBuilder eci(Frame inertial)
Sets the Earth Centered Inertial frame used for propagation.- Parameters:
inertial
- the ECI frame- Returns:
- the updated builder
-
build
public GLONASSNumericalPropagator build()
Finalizes the build.- Returns:
- the built Glonass numerical propagator
-
-