1   /* Copyright 2022-2025 Luc Maisonobe
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.analytical.gnss.data;
18  
19  import org.hipparchus.CalculusFieldElement;
20  import org.orekit.time.FieldTimeStamped;
21  
22  /** This interface provides the minimal set of clock elements needed by the
23   * {@link org.orekit.propagation.analytical.gnss.FieldClockCorrectionsProvider}.
24   *
25   * @param <T> type of the field elements
26   * @author Luc Maisonobe
27   * @since 13.0
28   */
29  public interface FieldGNSSClockElements<T extends CalculusFieldElement<T>>
30      extends FieldTimeStamped<T> {
31  
32      /**
33       * Gets the Zeroth Order Clock Correction.
34       *
35       * @return the Zeroth Order Clock Correction (s)
36       * @see #getAf1()
37       * @see #getAf2()
38       */
39      T getAf0();
40  
41      /**
42       * Gets the First Order Clock Correction.
43       *
44       * @return the First Order Clock Correction (s/s)
45       * @see #getAf0()
46       * @see #getAf2()
47       */
48      T getAf1();
49  
50      /**
51       * Gets the Second Order Clock Correction.
52       *
53       * @return the Second Order Clock Correction (s/s²)
54       * @see #getAf0()
55       * @see #getAf1()
56       */
57      T getAf2();
58  
59      /**
60       * Get the estimated group delay differential TGD for L1-L2 correction.
61       * @return the estimated group delay differential TGD for L1-L2 correction (s)
62       */
63      T getTGD();
64  
65      /**
66       * Get the time of clock.
67       * @return the time of clock (s)
68       * @see #getAf0()
69       * @see #getAf1()
70       * @see #getAf2()
71       */
72      T getToc();
73  
74  }