cainWarpper.hh 1.04 KB
/*
 * 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 */