49 if( temp > log10(FLT_MAX) || temp < log10(FLT_MIN) )
52 " DISASTER - the log of the entered max hydrogen density is %.3f - too extreme for this processor.\n",
56 " DISASTER - the log of the largest hydrogen density this processor can do is %.3f.\n",
60 " DISASTER - the log of the smallest hydrogen density this processor can do is %.3f.\n",
72 if( temp > log10(FLT_MAX) || temp < log10(FLT_MIN) )
75 " DISASTER - the log of the entered min hydrogen density is %.3f - too extreme for this processor.\n",
79 " DISASTER - the log of the largest hydrogen density this processor can do is %.3f.\n",
83 " DISASTER - the log of the smallest hydrogen density this processor can do is %.3f.\n",
92 if( flmax/flmin > 100. )
94 fprintf(
ioQQQ,
"This range of density probably will not work.\n" );
98 fprintf(
ioQQQ,
"These parameters look funny to me. Please check Hazy.\n" );
100 if( p.
lgEOL() || (flmin > flmax) )
102 fprintf(
ioQQQ,
"There MUST be three numbers on this line.\n" );
103 fprintf(
ioQQQ,
"These must be the period(cm), max, min densities, all logs, in that order.\n" );
105 fprintf(
ioQQQ,
"The max density must be greater or equal than the min density.\n" );
136 fprintf(
ioQQQ,
" PROBLEM DISASTER More than one density command was entered.\n" );
145 fprintf(
ioQQQ,
" PROBLEM DISASTER Hydrogen density must be > 0.\n" );
bool nMatch(const char *chKey) const
void SetGasPhaseDensity(const long nelem, const realnum density)
void ParseFluc(Parser &p)
realnum gas_phase[LIMELM]
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)