91 static const double FRAC_LINE = 1.;
110 " %s recombination coefficients fnzone:%.2f \tte\t%.4e\tne\t%.4e\n",
117 for( i=0; i<limit; ++i )
121 for( i=0; i < limit; i++ )
125 fprintf( ioOut,
" radiative used vs Z\n" );
127 for( i=0; i < limit; i++ )
131 fprintf( ioOut,
" old Verner vs Z\n" );
133 for( i=0; i < limit; i++ )
137 fprintf( ioOut,
" new Badnell vs Z\n" );
139 for( i=0; i < limit; i++ )
146 fprintf( ioOut,
" CT/n(H0)\n" );
148 for( i=0; i < limit; i++ )
152 fprintf( ioOut,
" 3body vs Z /ne\n" );
159 fprintf( ioOut,
" Grain vs Z /ne\n" );
160 fprintf( ioOut,
" old Nussbaumer Storey DR vs Z\n" );
162 for( i=0; i < limit; i++ )
166 fprintf( ioOut,
" new Badnell DR vs Z\n" );
169 for( i=0; i < limit; i++ )
174 " total rec rate (with density) for %s\n",
176 for( i=0; i < limit; i++ )
181 " total rec rate / ne for %s\n\n",
189 for( i=11; i < limit; i++ )
196 for( i=11; i < limit; i++ )
218 static const int N1LIM = 3;
219 static const int N2LIM = 4;
220 double te1[N1LIM]={ 5000., 10000., 20000.};
221 double te2[N2LIM]={ 20000.,50000.,100000.,1e6};
223 double BreakEnergy = 100./13.0;
224 long int nelem, ion , i;
240 for( i=0; i<N1LIM; ++i )
253 for( ion=0; ion<=nelem; ++ion )
261 sprintf(chOutput,
"%s",
264 if( chOutput[1]==
' ' )
265 chOutput[1] = chOutput[2];
269 sprintf(chString,
"0 ");
273 sprintf(chString,
"+ ");
277 sprintf(chString,
"+%li ",ion);
279 strcat( chOutput , chString );
282 for( i=0; i<N1LIM; ++i )
299 for( i=0; i<N2LIM; ++i )
312 for( ion=0; ion<=nelem; ++ion )
336 for( i=0; i<N2LIM; ++i )
double ** DR_Badnell_rate_coef
double ** RR_Badnell_rate_coef
double ** RR_Verner_rate_coef
long int IonHigh[LIMELM+1]
realnum xLyaHeavy[LIMELM][LIMELM]
void ion_recombAGN(FILE *io)
void TempChange(double TempNew, bool lgForceUpdate)
t_elementnames elementnames
double xIonDense[LIMELM][LIMELM+1]
long int IonLow[LIMELM+1]
void ion_recomb(bool lgPrintIt, long int nelem)
char chElementSym[LIMELM][CHARS_ELEMENT_SYM]
double ** CX_recomb_rate_used
double Valence_IP_Ryd[LIMELM][LIMELM]
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)
sys_float SDIV(sys_float x)
char chElementName[LIMELM][CHARS_ELEMENT_NAME]
void EdenChange(double EdenNew)
realnum GrainChTrRate[LIMELM][LIMELM+1][LIMELM+1]
double ** RR_rate_coef_used