public class NumericalPropagatorBuilder extends AbstractPropagatorBuilder
Constructor and Description |
---|
NumericalPropagatorBuilder(Orbit referenceOrbit,
ODEIntegratorBuilder builder,
PositionAngle positionAngle,
double positionScale)
Build a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addForceModel(ForceModel model)
Add a force model to the global perturbation model.
|
NumericalPropagator |
buildPropagator(double[] normalizedParameters)
Build a propagator.
|
void |
setAttitudeProvider(AttitudeProvider attitudeProvider)
Set the attitude provider.
|
void |
setMass(double mass)
Set the initial mass.
|
addSupportedParameter, createInitialOrbit, getFrame, getInitialOrbitDate, getOrbitalParametersDrivers, getOrbitType, getPositionAngle, getPropagationParametersDrivers, getSelectedNormalizedParameters, setParameters
public NumericalPropagatorBuilder(Orbit referenceOrbit, ODEIntegratorBuilder builder, PositionAngle positionAngle, double positionScale) throws OrekitException
The reference orbit is used as a model to create initial orbit
. It defines the
inertial frame, the central attraction coefficient, and is also used together
with the positionScale
to convert from the normalized
parameters used by the
callers of this builder to the real orbital parameters.
referenceOrbit
- reference orbit from which real orbits will be builtbuilder
- first order integrator builderpositionAngle
- position angle type to usepositionScale
- scaling factor used for orbital parameters normalization
(typically set to the expected standard deviation of the position)OrekitException
- if parameters drivers cannot be scaledpublic void setAttitudeProvider(AttitudeProvider attitudeProvider)
attitudeProvider
- attitude providerpublic void setMass(double mass)
mass
- the mass (kg)public void addForceModel(ForceModel model) throws OrekitException
If this method is not called at all, the integrated orbit will follow a Keplerian evolution only.
model
- perturbing ForceModel
to addOrekitException
- if model parameters cannot be setpublic NumericalPropagator buildPropagator(double[] normalizedParameters) throws OrekitException
normalizedParameters
- normalized values for the selected parametersOrekitException
- if propagator cannot be buildCopyright © 2002-2017 CS Systèmes d'information. All rights reserved.