Class NumericalPropagatorBuilder

    • Constructor Detail

      • NumericalPropagatorBuilder

        public NumericalPropagatorBuilder​(Orbit referenceOrbit,
                                          ODEIntegratorBuilder builder,
                                          PositionAngle positionAngle,
                                          double positionScale)
        Build a new instance.

        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.

        Parameters:
        referenceOrbit - reference orbit from which real orbits will be built
        builder - first order integrator builder
        positionAngle - position angle type to use
        positionScale - scaling factor used for orbital parameters normalization (typically set to the expected standard deviation of the position)
        Since:
        8.0
    • Method Detail

      • copy

        public NumericalPropagatorBuilder copy()
        Create a copy of a NumericalPropagatorBuilder object.
        Returns:
        Copied version of the NumericalPropagatorBuilder
      • getIntegratorBuilder

        public ODEIntegratorBuilder getIntegratorBuilder()
        Get the integrator builder.
        Returns:
        the integrator builder
        Since:
        9.2
      • getAllForceModels

        public List<ForceModel> getAllForceModels()
        Get the list of all force models.
        Returns:
        the list of all force models
        Since:
        9.2
      • addForceModel

        public void addForceModel​(ForceModel model)
        Add a force model to the global perturbation model.

        If this method is not called at all, the integrated orbit will follow a Keplerian evolution only.

        Parameters:
        model - perturbing ForceModel to add
      • getMass

        public double getMass()
        Get the mass.
        Returns:
        the mass
        Since:
        9.2
      • setMass

        public void setMass​(double mass)
        Set the initial mass.
        Parameters:
        mass - the mass (kg)
      • getAttitudeProvider

        public AttitudeProvider getAttitudeProvider()
        Get the attitudeProvider.
        Returns:
        the attitude provider
        Since:
        9.2
      • setAttitudeProvider

        public void setAttitudeProvider​(AttitudeProvider attitudeProvider)
        Set the attitude provider.
        Parameters:
        attitudeProvider - attitude provider
      • buildPropagator

        public NumericalPropagator buildPropagator​(double[] normalizedParameters)
        Build a propagator.
        Parameters:
        normalizedParameters - normalized values for the selected parameters
        Returns:
        an initialized propagator