PropagatorBuilder
EcksteinHechlerPropagatorBuilder
, KeplerianPropagatorBuilder
, NumericalPropagatorBuilder
, TLEPropagatorBuilder
public abstract class AbstractPropagatorBuilder extends Object implements PropagatorBuilder
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractPropagatorBuilder(Orbit templateOrbit,
PositionAngle positionAngle,
double positionScale,
boolean addDriverForCentralAttraction) |
Build a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
addSupportedParameter(ParameterDriver driver) |
Add a supported parameter.
|
protected Orbit |
createInitialOrbit() |
Build an initial orbit using the current selected parameters.
|
Frame |
getFrame() |
Get the frame in which the orbit is propagated.
|
AbsoluteDate |
getInitialOrbitDate() |
Get the date of the initial orbit.
|
double |
getMu() |
Get the central attraction coefficient (µ - m³/s²) value.
|
ParameterDriversList |
getOrbitalParametersDrivers() |
Get the drivers for the configurable orbital parameters.
|
OrbitType |
getOrbitType() |
Get the orbit type expected for the 6 first parameters in
PropagatorBuilder.buildPropagator(double[]) . |
PositionAngle |
getPositionAngle() |
Get the position angle type expected for the 6 first parameters in
PropagatorBuilder.buildPropagator(double[]) . |
double |
getPositionScale() |
Get the position scale.
|
ParameterDriversList |
getPropagationParametersDrivers() |
Get the drivers for the configurable propagation parameters.
|
double[] |
getSelectedNormalizedParameters() |
Get the current value of selected normalized parameters.
|
void |
resetOrbit(Orbit newOrbit) |
Reset the orbit in the propagator builder.
|
protected void |
setParameters(double[] normalizedParameters) |
Set the selected parameters.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildPropagator
protected AbstractPropagatorBuilder(Orbit templateOrbit, PositionAngle positionAngle, double positionScale, boolean addDriverForCentralAttraction)
The template orbit is used as a model to create initial orbit
. It defines the
inertial frame, the central attraction coefficient, the orbit type, 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.
By default, all the orbital parameters drivers
are selected, which means that if the builder is used for orbit determination or
propagator conversion, all orbital parameters will be estimated. If only a subset
of the orbital parameters must be estimated, caller must retrieve the orbital
parameters by calling getOrbitalParametersDrivers()
and then call
setSelected(false)
.
templateOrbit
- reference orbit from which real orbits will be builtpositionAngle
- position angle type to usepositionScale
- scaling factor used for orbital parameters normalization
(typically set to the expected standard deviation of the position)addDriverForCentralAttraction
- if true, a ParameterDriver
should
be set up for central attraction coefficientpublic OrbitType getOrbitType()
PropagatorBuilder.buildPropagator(double[])
.getOrbitType
in interface PropagatorBuilder
PropagatorBuilder.buildPropagator(double[])
PropagatorBuilder.buildPropagator(double[])
,
PropagatorBuilder.getPositionAngle()
public PositionAngle getPositionAngle()
PropagatorBuilder.buildPropagator(double[])
.getPositionAngle
in interface PropagatorBuilder
PropagatorBuilder.buildPropagator(double[])
PropagatorBuilder.buildPropagator(double[])
,
PropagatorBuilder.getOrbitType()
public AbsoluteDate getInitialOrbitDate()
getInitialOrbitDate
in interface PropagatorBuilder
public Frame getFrame()
getFrame
in interface PropagatorBuilder
public ParameterDriversList getOrbitalParametersDrivers()
getOrbitalParametersDrivers
in interface PropagatorBuilder
public ParameterDriversList getPropagationParametersDrivers()
The parameters typically correspond to force models.
getPropagationParametersDrivers
in interface PropagatorBuilder
public double getPositionScale()
public double getMu()
public double[] getSelectedNormalizedParameters()
getSelectedNormalizedParameters
in interface PropagatorBuilder
protected Orbit createInitialOrbit()
This method is a stripped down version of PropagatorBuilder.buildPropagator(double[])
that only builds the initial orbit and not the full propagator.
protected void setParameters(double[] normalizedParameters)
normalizedParameters
- normalized values for the selected parametersprotected void addSupportedParameter(ParameterDriver driver)
driver
- driver for the parameterpublic void resetOrbit(Orbit newOrbit)
newOrbit
- New orbit to set in the propagator builderCopyright © 2002-2019 CS Systèmes d'information. All rights reserved.