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.propagation;
18
19 import org.hipparchus.CalculusFieldElement;
20
21 /** Generator for ephemerides.
22 *
23 * <p>
24 * This interface is mainly implemented by nested classes
25 * within propagators. These classes monitor the ongoing
26 * propagation and stores in memory all the necessary data.
27 * Once the initial propagation has completed, the data stored
28 * allows them to build an {@link FieldBoundedPropagator
29 * ephemeris} that can be used to rerun the propagation (perhaps
30 * with different event detectors and step handlers) without
31 * doing the full computation.
32 * </p>
33 * <p>
34 * Analytical propagators will mainly store only the start and stop date
35 * and the model itself, so ephemeris will just call the model back.
36 * Integration-based propagators will mainly store the {@link
37 * org.orekit.propagation.sampling.FieldOrekitStepInterpolator interpolators}
38 * at each step so the ephemeris can select the proper interpolator
39 * and evaluate it for any date covered by the initial propagation.
40 * </p>
41 * @param <T> the type of the field elements
42 * @author Luc Maisonobe
43 * @since 11.0
44 */
45 public interface FieldEphemerisGenerator<T extends CalculusFieldElement<T>> {
46
47 /** Get the ephemeris generated during the propagation.
48 * @return generated ephemeris
49 */
50 FieldBoundedPropagator<T> getGeneratedEphemeris();
51
52 }