MaglibWarpper.hh
1.04 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
/*
* 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, double rrmag, double thetr, double phir,
int isatex, int magout, double& tgl, double& flg, double& xlamb, int& ifail) {
getmag_ (&iyear, &imonth, &iday, &ihour, &imin, &isec,
&magout, &isatex, &rrmag, &thetr, &phir,
&tgl, &flg, &xlamb, &ifail);
}
};
}
}
}
#endif /* MAGLIBWARPER_HH */