cainWarpper.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
40
41
42
/*
* 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: cainWarpper.hh
* Author: hacene
*
* Created on September 14, 2021, 3:36 PM
*/
#ifndef CAINWARPPER_HH
#define CAINWARPPER_HH
#include "cainlib.hh"
namespace AMDA {
namespace Parameters {
namespace Cain {
class cainWarpper{
public:
static void getCain(double dlat, double dlong, double alt,
double &Btt, double &Bpp, double &Brr,
double &Bx, double &By, double &Bz,
double &B, int &ifail){
cain_(&dlat, &dlong, &alt,
&Btt, &Bpp, &Brr,
&Bx, &By, &Bz,
&B, &ifail);
}
};
}
}
}
#endif /* CAINWARPPER_HH */