public class NumericalPropagatorBuilder extends Object implements PropagatorBuilder
| Constructor and Description |
|---|
NumericalPropagatorBuilder(double mu,
Frame frame,
FirstOrderIntegratorBuilder builder)
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.
|
Frame |
getFrame()
Get the frame in which the orbit is propagated.
|
double |
getParameter(String name) |
Collection<String> |
getParametersNames() |
boolean |
isSupported(String name) |
void |
setAttitudeProvider(AttitudeProvider attitudeProvider)
Set the attitude provider.
|
void |
setFreeParameters(Collection<String> parameters)
Set the free parameters in order to build the propagator.
|
void |
setMass(double mass)
Set the initial mass.
|
void |
setParameter(String name,
double value) |
public NumericalPropagatorBuilder(double mu,
Frame frame,
FirstOrderIntegratorBuilder builder)
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 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
buildPropagator in interface PropagatorBuilderdate - 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 Frame getFrame()
getFrame in interface PropagatorBuilderpublic void setFreeParameters(Collection<String> parameters) throws IllegalArgumentException
The parameters must belong to the list returned by Parameterizable.getParametersNames()
setFreeParameters in interface PropagatorBuilderparameters - free parameters to set when building the propagatorIllegalArgumentExceptionpublic Collection<String> getParametersNames()
getParametersNames in interface Parameterizablepublic boolean isSupported(String name)
isSupported in interface Parameterizablepublic double getParameter(String name) throws IllegalArgumentException
getParameter in interface ParameterizedODEIllegalArgumentExceptionpublic void setParameter(String name, double value) throws IllegalArgumentException
setParameter in interface ParameterizedODEIllegalArgumentExceptionCopyright © 2002-2015 CS Systèmes d'information. All rights reserved.