public class NumericalPropagatorBuilder extends AbstractPropagatorBuilder
Constructor and Description |
---|
NumericalPropagatorBuilder(double mu,
Frame frame,
FirstOrderIntegratorBuilder builder)
Deprecated.
as of 7.1, replaced with
NumericalPropagatorBuilder(double,
Frame, FirstOrderIntegratorBuilder, OrbitType, PositionAngle) |
NumericalPropagatorBuilder(double mu,
Frame frame,
FirstOrderIntegratorBuilder builder,
OrbitType orbitType,
PositionAngle positionAngle)
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(AbsoluteDate date,
double[] parameters)
Build a propagator.
|
double |
getParameter(String name)
Get parameter value from its name.
|
void |
setAttitudeProvider(AttitudeProvider attitudeProvider)
Set the attitude provider.
|
void |
setMass(double mass)
Set the initial mass.
|
void |
setParameter(String name,
double value)
Set parameter value from its name.
|
addSupportedParameter, checkParameters, createInitialOrbit, getFrame, getFreeParameters, getOrbitType, getPositionAngle, getSupportedParameters, setFreeParameters
@Deprecated public NumericalPropagatorBuilder(double mu, Frame frame, FirstOrderIntegratorBuilder builder)
NumericalPropagatorBuilder(double,
Frame, FirstOrderIntegratorBuilder, OrbitType, PositionAngle)
mu
- central attraction coefficient (m³/s²)frame
- the frame in which the orbit is propagated
(must be a pseudo-inertial frame
)builder
- first order integrator builderpublic NumericalPropagatorBuilder(double mu, Frame frame, FirstOrderIntegratorBuilder builder, OrbitType orbitType, PositionAngle positionAngle)
mu
- central attraction coefficient (m³/s²)frame
- the frame in which the orbit is propagated
(must be a pseudo-inertial frame
)builder
- first order integrator builderorbitType
- orbit type to usepositionAngle
- position angle type to usepublic void setAttitudeProvider(AttitudeProvider attitudeProvider)
attitudeProvider
- attitude providerpublic void setMass(double mass)
mass
- the mass (kg)public void addForceModel(ForceModel model)
If this method is not called at all, the integrated orbit will follow a keplerian evolution only.
model
- perturbing ForceModel
to addpublic NumericalPropagator buildPropagator(AbsoluteDate date, double[] parameters) throws OrekitException
date
- date associated to the parameters to configure the initial stateparameters
- set of position/velocity(/free) parameters to configure the propagatorOrekitException
- if propagator cannot be buildpublic double getParameter(String name) throws OrekitIllegalArgumentException
The abstract base class only supports NewtonianAttraction.CENTRAL_ATTRACTION_COEFFICIENT
, specialized propagator
builders may support more parameters.
getParameter
in interface PropagatorBuilder
getParameter
in class AbstractPropagatorBuilder
name
- parameter nameOrekitIllegalArgumentException
- if parameter is not supportedpublic void setParameter(String name, double value) throws OrekitIllegalArgumentException
The abstract base class only supports NewtonianAttraction.CENTRAL_ATTRACTION_COEFFICIENT
, specialized propagator
builders may support more parameters.
setParameter
in interface PropagatorBuilder
setParameter
in class AbstractPropagatorBuilder
name
- parameter namevalue
- parameter valueOrekitIllegalArgumentException
- if parameter is not supportedCopyright © 2002-2016 CS Systèmes d'information. All rights reserved.