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