GNSS-SDR  0.0.13
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  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
9  *
10  * GNSS-SDR is a software defined Global Navigation
11  * Satellite Systems receiver
12  *
13  * This file is part of GNSS-SDR.
14  *
15  * SPDX-License-Identifier: GPL-3.0-or-later
16  *
17  * -----------------------------------------------------------------------------
18  */
19 
20 
21 #ifndef GNSS_SDR_BEIDOU_DNAV_IONO_H
22 #define GNSS_SDR_BEIDOU_DNAV_IONO_H
23 
24 #include <boost/serialization/nvp.hpp>
25 
26 
27 /*!
28  * \brief This class is a storage for the BEIDOU IONOSPHERIC data as described in ICD v2.1
29  *
30  */
32 {
33 public:
34  Beidou_Dnav_Iono() = default; //!< Default constructor
35 
36  // Ionospheric parameters
37  double d_alpha0{}; //!< Coefficient 0 of a cubic equation representing the amplitude of the vertical delay [s]
38  double d_alpha1{}; //!< Coefficient 1 of a cubic equation representing the amplitude of the vertical delay [s/semi-circle]
39  double d_alpha2{}; //!< Coefficient 2 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^2]
40  double d_alpha3{}; //!< Coefficient 3 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^3]
41  double d_beta0{}; //!< Coefficient 0 of a cubic equation representing the period of the model [s]
42  double d_beta1{}; //!< Coefficient 1 of a cubic equation representing the period of the model [s/semi-circle]
43  double d_beta2{}; //!< Coefficient 2 of a cubic equation representing the period of the model [s(semi-circle)^2]
44  double d_beta3{}; //!< Coefficient 3 of a cubic equation representing the period of the model [s(semi-circle)^3]
45 
46  bool valid{}; //!< Valid flag
47 
48  template <class Archive>
49 
50  /*!
51  * \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.
52  */
53  void serialize(Archive& archive, const unsigned int version)
54  {
55  using boost::serialization::make_nvp;
56  if (version)
57  {
58  };
59  archive& make_nvp("d_alpha0", d_alpha0);
60  archive& make_nvp("d_alpha1", d_alpha1);
61  archive& make_nvp("d_alpha2", d_alpha2);
62  archive& make_nvp("d_alpha3", d_alpha3);
63  archive& make_nvp("d_beta0", d_beta0);
64  archive& make_nvp("d_beta1", d_beta1);
65  archive& make_nvp("d_beta2", d_beta2);
66  archive& make_nvp("d_beta3", d_beta3);
67  }
68 };
69 
70 #endif
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]...