14 #ifndef STAR_StFtpcMagboltz1
15 #define STAR_StFtpcMagboltz1
32 float e_magnitude__, b_magnitude__, b_angle__, pressure, perc_ar__,
33 perc_co2__, perc_ne__, perc_he__, temperature;
37 double f[2002], df[2002], df0[2002];
41 double f1[2002], df1[2002];
45 double h1[2002], dh1[2002];
49 double g[2002], dg[2002], dg0[2002];
53 double g1[2002], dg1[2002];
57 double g2[2002], dg2[2002];
61 int nout, itmax, i2type, ngas, nstep, nstep1;
62 double conv, efinal, estep, akt, ary, tempc, torr;
64 double conalp, alpnew, alpold, alpnax, alpnay, alpnaz, alpha, alpoax,
66 int nitalp, idlong, lhigh;
70 double f2[2002], df2[2002];
74 double velz, sig_long__, sig_tranx__, sig_trany__, angle, amk_emag__,
75 amk_setemag__, emean, btheta_mk__, bmag_mk__, emaximum;
79 double an1, an2, an3, an4, frac1, frac2, frac3, frac4, an;
83 char ngas1[15], ngas2[15], ngas3[15], ngas4[15];
87 double qef[2002], denom[2002], cod2[2002], sod2[2002], scd[2002], sod[
88 2002], btheta, bmag, wb, emag, eovm, qeeef[2002], qeef[2002],
89 qfemag[2002], ef[2002], qe[2002];
93 double echarg, emass, amu, pir2;
97 double qelm[2002], qsum[2002], qion[8008] ,
98 qin1[48048] , qin2[48048]
99 , qin3[48048] , qin4[48048]
104 double e[2002], eroot[2002], qtot[2002], qrel[2002], qinel[2002], qel[
109 int nin1, nin2, nin3, nin4, lion[4], lin1[24], lin2[24], lin3[24],
111 double alion[4], alin1[24], alin2[24], alin3[24], alin4[24];
115 int n2ro1, n2ro2, n2ro3, n2ro4, l2ro1[3], l2ro2[3], l2ro3[3], l2ro4[3]
117 double al2ro1[3], al2ro2[3], al2ro3[3], al2ro4[3], q2ro1[12012]
118 , q2ro2[12012] , q2ro3[
119 12012] , q2ro4[12012]
128 char name1[15], name2[15], name3[15], name4[15];
132 double f3[2002], df3[2002];
139 int magboltz_(
float *e_magni__,
float *b_magni__,
140 float *b_ang__,
float *press,
float *p_ar__,
141 float *p_co2__,
float *p_ne__,
142 float *p_he__,
float *temper,
143 float *vdr,
float *psiang,
float *efin);
144 int bfield_(
int *nstep1);
145 int f0calc_(
int *iback,
int *icon,
double *anew,
int *l);
146 int fncalc_(
int *lmax);
147 int g0calc_(
int *icon,
double *gfinal,
148 double *eg0sum,
int *lmax);
150 int gas1_(
double *q,
double *qin,
double *q2ro,
int *nin,
151 int *n2ro,
double *e,
double *ein,
152 double *e2ro,
char *name__,
153 double *virial,
int *monte,
int name_len);
154 int gas2_(
double *q,
double *qin,
double *q2ro,
int *nin,
155 int *n2ro,
double *e,
double *ein,
double *e2ro,
157 double *virial,
int *monte,
int name_len);
158 int gas3_(
double *q,
double *qin,
double *q2ro,
int *nin,
159 int *n2ro,
double *e,
double *ein,
double *e2ro,
161 double *virial,
int *monte,
int name_len);
162 int gas4_(
double *q,
double *qin,
double *q2ro,
int *nin,
163 int *n2ro,
double *e,
double *ein,
double *e2ro,
165 double *virial,
int *monte,
int name_len);
166 int h1calc_(
int *l,
double *dhfnal,
double *dxx,
172 int setup_(
int *last);
173 int simp_(
double *sum);
175 int steppr_(
int *itype,
int *lmax);
176 int type2_(
double *s2sum,
int *i__,
int *nstep1);
177 int type2g_(
double *s2sum,
int *i__,
int *nstep1);