Class RadiationPressureModel

    • Constructor Detail

      • RadiationPressureModel

        public RadiationPressureModel​(LightFluxModel lightFluxModel,
                                      RadiationSensitive radiationSensitive)
        Constructor.
        Parameters:
        lightFluxModel - model for light flux
        radiationSensitive - object defining radiation properties
    • Method Detail

      • getRadiationSensitive

        public RadiationSensitive getRadiationSensitive()
        Getter for radiation sensitive object.
        Returns:
        radiation sensitive object
      • getLightFluxModel

        public LightFluxModel getLightFluxModel()
        Getter for light flux model.
        Returns:
        flux model
      • dependsOnPositionOnly

        public boolean dependsOnPositionOnly()
        Check if force model depends on position only at a given, fixed date.
        Specified by:
        dependsOnPositionOnly in interface ForceModel
        Specified by:
        dependsOnPositionOnly in interface RadiationForceModel
        Returns:
        true if force model depends on position only, false if it depends on velocity, either directly or due to a dependency on attitude
      • acceleration

        public Vector3D acceleration​(SpacecraftState s,
                                     double[] parameters)
        Compute acceleration.
        Specified by:
        acceleration in interface ForceModel
        Parameters:
        s - current state information: date, kinematics, attitude
        parameters - values of the force model parameters at state date, only 1 value for each parameterDriver
        Returns:
        acceleration in same frame as state
      • acceleration

        public <T extends CalculusFieldElement<T>> FieldVector3D<T> acceleration​(FieldSpacecraftState<T> s,
                                                                                 T[] parameters)
        Compute acceleration.
        Specified by:
        acceleration in interface ForceModel
        Type Parameters:
        T - type of the elements
        Parameters:
        s - current state information: date, kinematics, attitude
        parameters - values of the force model parameters at state date, only 1 value for each parameterDriver
        Returns:
        acceleration in same frame as state
      • getEventDetectors

        public Stream<EventDetector> getEventDetectors()
        Get the discrete events related to the model.

        This method is not intended to be called several time, only once by a propagator, as it has the side effect of rebuilding the events detectors when called.

        Specified by:
        getEventDetectors in interface EventDetectorsProvider
        Specified by:
        getEventDetectors in interface ForceModel
        Returns:
        stream of event detectors