25 for(
int j=0; j < 3; ++j )
29 for(
int nelem=0; nelem <
LIMELM; ++nelem )
31 int limit =
max(3,nelem+2);
34 for(
int ion=0; ion < limit; ++ion )
82 for(
int d=0; d < 3; ++d )
85 for(
int nelem=0; nelem <
LIMELM; nelem++ )
87 int limit =
max(3,nelem+2);
91 for(
int ion=0; ion < limit; ion++ )
165 bool lgDensity )
const
170 int limit =
max( 3, nelem+2 );
183 for(
int ion=0; ion < limit; ion++ )
191 while( *n > 0 &&
mean.
xIonMean[0][nelem][*n-1][0] <= 0. )
198 for(
int ion=0; ion < *n; ion++ )
213 arlog[ion] = ( meanv > 0. ) ? (
realnum)log10(
max(1e-30,meanv/normv)) : -30.f;
216 else if( chType ==
't' )
232 fprintf(
ioQQQ,
" MeanIon called with insane job: %c \n",chType);
NORETURN void TotalInsanity(void)
sys_float SDIV(sys_float x)
#define DEBUG_ENTRY(funcname)
void reserve(size_type i1)
const multi_geom< d, ALLOC > & clone() const
double xIonDense[LIMELM][LIMELM+1]
realnum gas_phase[LIMELM]
void MeanIon(char chType, long nelem, long dim, long *n, realnum arlog[], bool lgDensity) const
multi_arr< double, 4 > xIonEdenMean
multi_arr< double, 4 > TempIonEdenMean
multi_arr< double, 4 > xIonMean
multi_arr< double, 2 > TempHarMean
multi_arr< double, 2 > TempB_HarMean
multi_arr< double, 2 > TempMean
multi_arr< double, 2 > TempEdenMean
multi_arr< double, 4 > TempIonMean
multi_arr< double, 2 > TempH_21cmSpinMean