GNSS-SDR  0.0.14
An Open Source GNSS Software Defined Receiver
beidou_dnav_iono.h
Go to the documentation of this file.
1 /*!
2  * \file beidou_dnav_iono.h
3  * \brief Interface of a BEIDOU IONOSPHERIC MODEL storage
4  * \author Sergi Segura, 2018. sergi.segura.munoz(at)gmail.com
5  *
6  * -----------------------------------------------------------------------------
7  *
8  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9  * This file is part of GNSS-SDR.
10  *
11  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
12  * SPDX-License-Identifier: GPL-3.0-or-later
13  *
14  * -----------------------------------------------------------------------------
15  */
16 
17 
18 #ifndef GNSS_SDR_BEIDOU_DNAV_IONO_H
19 #define GNSS_SDR_BEIDOU_DNAV_IONO_H
20 
21 #include <boost/serialization/nvp.hpp>
22 
23 /** \addtogroup Core
24  * \{ */
25 /** \addtogroup System_Parameters
26  * \{ */
27 
28 
29 /*!
30  * \brief This class is a storage for the BEIDOU IONOSPHERIC data as described in ICD v2.1
31  *
32  */
34 {
35 public:
36  Beidou_Dnav_Iono() = default; //!< Default constructor
37 
38  // Ionospheric parameters
39  double d_alpha0{}; //!< Coefficient 0 of a cubic equation representing the amplitude of the vertical delay [s]
40  double d_alpha1{}; //!< Coefficient 1 of a cubic equation representing the amplitude of the vertical delay [s/semi-circle]
41  double d_alpha2{}; //!< Coefficient 2 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^2]
42  double d_alpha3{}; //!< Coefficient 3 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^3]
43  double d_beta0{}; //!< Coefficient 0 of a cubic equation representing the period of the model [s]
44  double d_beta1{}; //!< Coefficient 1 of a cubic equation representing the period of the model [s/semi-circle]
45  double d_beta2{}; //!< Coefficient 2 of a cubic equation representing the period of the model [s(semi-circle)^2]
46  double d_beta3{}; //!< Coefficient 3 of a cubic equation representing the period of the model [s(semi-circle)^3]
47 
48  bool valid{}; //!< Valid flag
49 
50  template <class Archive>
51 
52  /*!
53  * \brief Serialize is a boost standard method to be called by the boost XML serialization. Here is used to save the ephemeris data on disk file.
54  */
55  void serialize(Archive& archive, const unsigned int version)
56  {
57  using boost::serialization::make_nvp;
58  if (version)
59  {
60  };
61  archive& make_nvp("d_alpha0", d_alpha0);
62  archive& make_nvp("d_alpha1", d_alpha1);
63  archive& make_nvp("d_alpha2", d_alpha2);
64  archive& make_nvp("d_alpha3", d_alpha3);
65  archive& make_nvp("d_beta0", d_beta0);
66  archive& make_nvp("d_beta1", d_beta1);
67  archive& make_nvp("d_beta2", d_beta2);
68  archive& make_nvp("d_beta3", d_beta3);
69  }
70 };
71 
72 
73 /** \} */
74 /** \} */
75 #endif // GNSS_SDR_BEIDOU_DNAV_IONO_H
double d_alpha0
Coefficient 0 of a cubic equation representing the amplitude of the vertical delay [s]...
double d_alpha2
Coefficient 2 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^2]...
This class is a storage for the BEIDOU IONOSPHERIC data as described in ICD v2.1. ...
double d_beta3
Coefficient 3 of a cubic equation representing the period of the model [s(semi-circle)^3].
double d_beta1
Coefficient 1 of a cubic equation representing the period of the model [s/semi-circle].
double d_alpha3
Coefficient 3 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^3]...
Beidou_Dnav_Iono()=default
Default constructor.
double d_beta2
Coefficient 2 of a cubic equation representing the period of the model [s(semi-circle)^2].
bool valid
Valid flag.
double d_beta0
Coefficient 0 of a cubic equation representing the period of the model [s].
void serialize(Archive &archive, const unsigned int version)
Serialize is a boost standard method to be called by the boost XML serialization. Here is used to sav...
double d_alpha1
Coefficient 1 of a cubic equation representing the amplitude of the vertical delay [s/semi-circle]...