1 /* Copyright 2002-2025 CS GROUP
2 * Licensed to CS GROUP (CS) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * CS licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.orekit.forces.radiation;
18
19 import java.util.List;
20
21 import org.hipparchus.CalculusFieldElement;
22 import org.hipparchus.geometry.euclidean.threed.FieldVector3D;
23 import org.hipparchus.geometry.euclidean.threed.Vector3D;
24 import org.orekit.propagation.FieldSpacecraftState;
25 import org.orekit.propagation.SpacecraftState;
26 import org.orekit.utils.ParameterDriver;
27
28 /** Interface for spacecraft that are sensitive to radiation pressure forces.
29 *
30 * @see SolarRadiationPressure
31 * @author Luc Maisonobe
32 * @author Pascal Parraud
33 */
34 public interface RadiationSensitive {
35
36 /** Parameter name for global multiplicative factor.
37 * @since 12.0
38 */
39 String GLOBAL_RADIATION_FACTOR = "global radiation factor";
40
41 /** Parameter name for absorption coefficient. */
42 String ABSORPTION_COEFFICIENT = "absorption coefficient";
43
44 /** Parameter name for reflection coefficient. */
45 String REFLECTION_COEFFICIENT = "reflection coefficient";
46
47 /** Get the drivers for supported parameters.
48 * @return parameters drivers
49 * @since 8.0
50 */
51 List<ParameterDriver> getRadiationParametersDrivers();
52
53 /** Compute the acceleration due to radiation pressure.
54 * @param state current state
55 * @param flux radiation flux in the same inertial frame as spacecraft orbit
56 * @param parameters values of the force model parameters
57 * @return spacecraft acceleration in the same inertial frame as spacecraft orbit (m/s²)
58 * @since 12.0
59 */
60 Vector3D radiationPressureAcceleration(SpacecraftState state, Vector3D flux, double[] parameters);
61
62 /** Compute the acceleration due to radiation pressure.
63 * @param state current state
64 * @param flux radiation flux in the same inertial frame as spacecraft orbit
65 * @param parameters values of the force model parameters
66 * @param <T> extends CalculusFieldElement
67 * @return spacecraft acceleration in the same inertial frame as spacecraft orbit (m/s²)
68 * @since 12.0
69 */
70 <T extends CalculusFieldElement<T>> FieldVector3D<T> radiationPressureAcceleration(FieldSpacecraftState<T> state,
71 FieldVector3D<T> flux,
72 T[] parameters);
73 }