Blame view

src/ExternLib/Cain/cainWarpper.hh 1.04 KB
6ba9e9fd   Hacene SI HADJ MOHAND   connection ok
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * 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:
a3f0658d   Hacene SI HADJ MOHAND   lib ok validation ko
24
25
26
27
28
29
                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,
6ba9e9fd   Hacene SI HADJ MOHAND   connection ok
30
31
32
                                &Btt, &Bpp, &Brr,
                                &Bx, &By, &Bz,
                                &B, &ifail);
a3f0658d   Hacene SI HADJ MOHAND   lib ok validation ko
33
                
6ba9e9fd   Hacene SI HADJ MOHAND   connection ok
34
35
36
37
38
39
40
41
                }
            };

        }
    }
}

#endif /* CAINWARPPER_HH */