00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef STAR_StFtpcMagboltz1
00015 #define STAR_StFtpcMagboltz1
00016
00017
00018
00019 class StFtpcMagboltz1
00020 {
00021
00022 private:
00023 int c__1;
00024 int c__4;
00025 int c__0;
00026 int c__3;
00027 double c_b12;
00028
00029
00030
00031 struct {
00032 float e_magnitude__, b_magnitude__, b_angle__, pressure, perc_ar__,
00033 perc_co2__, perc_ne__, perc_he__, temperature;
00034 } callpars_1;
00035
00036 struct {
00037 double f[2002], df[2002], df0[2002];
00038 } f0c_1;
00039
00040 struct {
00041 double f1[2002], df1[2002];
00042 } f1c_1;
00043
00044 struct {
00045 double h1[2002], dh1[2002];
00046 } h1c_1;
00047
00048 struct {
00049 double g[2002], dg[2002], dg0[2002];
00050 } g0c_1;
00051
00052 struct {
00053 double g1[2002], dg1[2002];
00054 } g1c_1;
00055
00056 struct {
00057 double g2[2002], dg2[2002];
00058 } g2c_1;
00059
00060 struct {
00061 int nout, itmax, i2type, ngas, nstep, nstep1;
00062 double conv, efinal, estep, akt, ary, tempc, torr;
00063 int idbug, isfb;
00064 double conalp, alpnew, alpold, alpnax, alpnay, alpnaz, alpha, alpoax,
00065 alpoay, alpoaz;
00066 int nitalp, idlong, lhigh;
00067 } inpt_1;
00068
00069 struct {
00070 double f2[2002], df2[2002];
00071 } f2c_1;
00072
00073 struct {
00074 double velz, sig_long__, sig_tranx__, sig_trany__, angle, amk_emag__,
00075 amk_setemag__, emean, btheta_mk__, bmag_mk__, emaximum;
00076 } mk_1;
00077
00078 struct {
00079 double an1, an2, an3, an4, frac1, frac2, frac3, frac4, an;
00080 } ratio_1;
00081
00082 struct {
00083 char ngas1[15], ngas2[15], ngas3[15], ngas4[15];
00084 } gasn_1;
00085
00086 struct {
00087 double qef[2002], denom[2002], cod2[2002], sod2[2002], scd[2002], sod[
00088 2002], btheta, bmag, wb, emag, eovm, qeeef[2002], qeef[2002],
00089 qfemag[2002], ef[2002], qe[2002];
00090 } mag_1;
00091
00092 struct {
00093 double echarg, emass, amu, pir2;
00094 } cnsts_1;
00095
00096 struct {
00097 double qelm[2002], qsum[2002], qion[8008] ,
00098 qin1[48048] , qin2[48048]
00099 , qin3[48048] , qin4[48048]
00100 , qsatt[2002];
00101 } mix1_1;
00102
00103 struct {
00104 double e[2002], eroot[2002], qtot[2002], qrel[2002], qinel[2002], qel[
00105 2002];
00106 } mix2_1;
00107
00108 struct {
00109 int nin1, nin2, nin3, nin4, lion[4], lin1[24], lin2[24], lin3[24],
00110 lin4[24];
00111 double alion[4], alin1[24], alin2[24], alin3[24], alin4[24];
00112 } mix3_1;
00113
00114 struct {
00115 int n2ro1, n2ro2, n2ro3, n2ro4, l2ro1[3], l2ro2[3], l2ro3[3], l2ro4[3]
00116 ;
00117 double al2ro1[3], al2ro2[3], al2ro3[3], al2ro4[3], q2ro1[12012]
00118 , q2ro2[12012] , q2ro3[
00119 12012] , q2ro4[12012]
00120 ;
00121 } mix4_1;
00122
00123 struct {
00124 double simf[2002];
00125 } sint_1;
00126
00127 struct {
00128 char name1[15], name2[15], name3[15], name4[15];
00129 } names_1;
00130
00131 struct {
00132 double f3[2002], df3[2002];
00133 } f3c_1;
00134
00135
00136 public:
00137 StFtpcMagboltz1();
00138 ~StFtpcMagboltz1();
00139 int magboltz_(float *e_magni__, float *b_magni__,
00140 float *b_ang__, float *press, float *p_ar__,
00141 float *p_co2__, float *p_ne__,
00142 float *p_he__, float *temper,
00143 float *vdr, float *psiang, float *efin);
00144 int bfield_(int *nstep1);
00145 int f0calc_(int *iback, int *icon, double *anew, int *l);
00146 int fncalc_(int *lmax);
00147 int g0calc_(int *icon, double *gfinal,
00148 double *eg0sum, int *lmax);
00149
00150 int gas1_(double *q, double *qin, double *q2ro, int *nin,
00151 int *n2ro, double *e, double *ein,
00152 double *e2ro, char *name__,
00153 double *virial, int *monte, int name_len);
00154 int gas2_(double *q, double *qin, double *q2ro, int *nin,
00155 int *n2ro, double *e, double *ein, double *e2ro,
00156 char *name__,
00157 double *virial, int *monte, int name_len);
00158 int gas3_(double *q, double *qin, double *q2ro, int *nin,
00159 int *n2ro, double *e, double *ein, double *e2ro,
00160 char *name__,
00161 double *virial, int *monte, int name_len);
00162 int gas4_(double *q, double *qin, double *q2ro, int *nin,
00163 int *n2ro, double *e, double *ein, double *e2ro,
00164 char *name__,
00165 double *virial, int *monte, int name_len);
00166 int h1calc_(int *l, double *dhfnal, double *dxx,
00167 double *dhfrst);
00168 int mixer_();
00169 int nalpha_();
00170 int output_(int *n);
00171 int prnter_();
00172 int setup_(int *last);
00173 int simp_(double *sum);
00174 int stepph_(int *l);
00175 int steppr_(int *itype, int *lmax);
00176 int type2_(double *s2sum, int *i__, int *nstep1);
00177 int type2g_(double *s2sum, int *i__, int *nstep1);
00178
00179 };
00180 #endif
00181
00182
00183
00184
00185
00186
00187
00188