35 const char* type[3] = {
"radius",
"area",
"volume" };
37 for(
int d=2; d >= 0; --d )
50 fprintf( ioMEAN,
"\n Hydrogen " );
51 for( i=0; i < 3; i++ )
53 fprintf( ioMEAN,
"%7.3f", aa[i] );
56 if( chType==
'i' && lgDensity )
59 " Log10 Mean Ionisation (over %s*electron density)\n", type[d] );
61 else if( chType==
'i' )
64 " Log10 Mean Ionisation (over %s)\n", type[d] );
66 else if( chType==
't' && lgDensity )
69 " Log10 Mean Temperature (over %s*electron density)\n", type[d] );
71 else if( chType==
't' )
74 " Log10 Mean Temperature (over %s)\n", type[d] );
78 fprintf(
ioQQQ,
" PrtMeanIon called with insane job: %c\n", chType );
91 for( i=0; i < limit; i++ )
93 fprintf( ioMEAN,
"%7.3f", aa[i] );
101 for( i=17; i < n; i++ )
103 fprintf( ioMEAN,
"%7.3f", aa[i] );
111 for( i=1; i <= 17; i++ )
119 for( i=18; i <=
LIMELM; i++ )
NORETURN void TotalInsanity(void)
void PrtMeanIon(char chType, bool lgDensity, FILE *)
t_elementnames elementnames
void MeanIon(char chType, long nelem, long dim, long *n, realnum arlog[], bool lgDensity) const
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)
char chElementName[LIMELM][CHARS_ELEMENT_NAME]