MaglibWarpper.hh
1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: MaglibWarper.hh
* Author: hacene
*
* Created on July 21, 2020, 1:16 PM
*/
#ifndef MAGLIBWARPER_HH
#define MAGLIBWARPER_HH
#include "maglib.hh"
namespace AMDA {
namespace Parameters {
namespace maglib {
class maglibWarpper {
public:
static void getPosmag(int iyear, int imonth, int iday, int ihour, int imin, int isec, float rrmag, float thetr, float phir,
int isatex, int magout, float& tgl, float& flg, float& xlamb, int& ifail) {
getmag_ (&iyear, &imonth, &iday, &ihour, &imin, &isec,
&magout, &isatex, &rrmag, &thetr, &phir,
&tgl, &flg, &xlamb, &ifail);
// posmag_modified(&magout, &isatex, &year, &rrmag, &thetr, &phir, &alfag, &alfas, &deltas, &tilt, rgsm, rggsm, rgsmg, rgdip, rgse, &tetdip,
// &phidip, &xgsm, &ygsm, &zgsm, &xgse, &ygse, &zgse, &tgl, &flg, &xlambr, &tglc, &hsl, &clatgmr, &clongmr, iposmg, &ifail);
}
};
}
}
}
#endif /* MAGLIBWARPER_HH */