19const double WLAL = 1215.6845;
31 const long VERSION_MAGIC = 20070717L;
32 static const char chFile[] =
"fe2ovr_la.dat";
39 lgErr = lgErr || ( fscanf( io,
"%ld", &i ) != 1 );
40 if( lgErr || i != VERSION_MAGIC )
42 fprintf(
ioQQQ,
" File %s has incorrect version: %ld\n", chFile, i );
43 fprintf(
ioQQQ,
" I expected to find version: %ld\n", VERSION_MAGIC );
48 for( i=0; i <
NFEII; i++ )
50 lgErr = lgErr || ( fscanf( io,
"%le", &help ) != 1 );
53 for( i=0; i <
NFEII; i++ )
55 lgErr = lgErr || ( fscanf( io,
"%le", &help ) != 1 );
58 for( i=0; i <
NFEII; i++ )
60 lgErr = lgErr || ( fscanf( io,
"%le", &help ) != 1 );
63 for( i=0; i <
NFEII; i++ )
65 lgErr = lgErr || ( fscanf( io,
"%le", &help ) != 1 );
68 for( i=0; i <
NFE2PR; i++ )
69 lgErr = lgErr || ( fscanf( io,
"%le", &
fe2pt[i] ) != 1 );
70 for( i=0; i <
NFE2PR; i++ )
71 lgErr = lgErr || ( fscanf( io,
"%le", &
fe2pf[i] ) != 1 );
83 for(
int i=0; i <
NFEII; i++ )
96 for(
int i=0; i <
NFEII; i++ )
106 for(
int i=0; i <
NFEII; i++ )
119 static long int nZoneEval;
127 static double BigFeWidth,
158 for( i=0; i <
NFEII; i++ )
181 for( i=0; i <
NFEII; i++ )
189 weight = ( displa <= 0.66666 ) ? 1. :
MAX2(0.,1.-(displa-0.666666)/0.66666);
207 (1. - 1./(1. + 1.6*
Fe2TauLte[i]))*weight;
235 double du = slope*(te -
fe2pt[i]);
236 fe2par_v =
fe2pf[i] + du;
sys_float SDIV(sys_float x)
#define DEBUG_ENTRY(funcname)
long ipoint(double energy_ryd)
FILE * open_data(const char *fname, const char *mode, access_scheme scheme)
realnum GetDopplerWidth(realnum massAMU)
t_iso_sp iso_sp[NISO][LIMELM]
double xIonDense[LIMELM][LIMELM+1]
realnum AtomicWeight[LIMELM]
long hunt_bisect(const T x[], long n, T xval)