#ifdef LC_NOUNSC #define IONCONST ionconst #elif LC_UNSC #define IONCONST ionconst_ #endif /// Struct that gives C++ access to FORTRAN common block "ionconst" defined in ionconst.inc struct IONCONST { float s107; float hallmin; float pedmin; float sigma_ratio; float ped0; float p_hardy; float c_hardy; float h_hardy; int iter; int itmax; float errmax; int ion_skip; int looptries; bool ionmodel; }; #define S107 IONCONST.s107 #define HALLMIN IONCONST.hallmin #define PEDMIN IONCONST.pedmin #define SIGMA_RATIO IONCONST.sigma_ratio #define PED0 IONCONST.ped0 #define P_HARDY IONCONST.p_hardy #define C_HARDY IONCONST.c_hardy #define H_HARDY IONCONST.h_hardy #define ITER IONCONST.iter #define ITMAX IONCONST.itmax #define ERRMAX IONCONST.errmax #define ION_SKIP IONCONST.ion_skip #define LOOPTRIES IONCONST.looptries #define IONMODEL IONCONST.ionmodel