48 if( temp > log10(FLT_MAX) || temp < log10(FLT_MIN) )
51 " DISASTER - the log of the entered max hydrogen density is %.3f - too extreme for this processor.\n",
55 " DISASTER - the log of the largest hydrogen density this processor can do is %.3f.\n",
59 " DISASTER - the log of the smallest hydrogen density this processor can do is %.3f.\n",
61 fprintf(
ioQQQ,
" Sorry.\n" );
66 flmax = pow(10.,temp);
71 if( temp > log10(FLT_MAX) || temp < log10(FLT_MIN) )
74 " DISASTER - the log of the entered min hydrogen density is %.3f - too extreme for this processor.\n",
78 " DISASTER - the log of the largest hydrogen density this processor can do is %.3f.\n",
82 " DISASTER - the log of the smallest hydrogen density this processor can do is %.3f.\n",
84 fprintf(
ioQQQ,
" Sorry.\n" );
89 flmin = pow(10.,temp);
91 if( flmax/flmin > 100. )
93 fprintf(
ioQQQ,
"This range of density probably will not work.\n" );
97 fprintf(
ioQQQ,
"These parameters look funny to me. Please check Hazy.\n" );
99 if( p.
lgEOL() || (flmin > flmax) )
101 fprintf(
ioQQQ,
"There MUST be three numbers on this line.\n" );
102 fprintf(
ioQQQ,
"These must be the period(cm), max, min densities, all logs, in that order.\n" );
104 fprintf(
ioQQQ,
"The max density must be greater or equal than the min density.\n" );
135 fprintf(
ioQQQ,
" PROBLEM DISASTER More than one density command was entered.\n" );
144 fprintf(
ioQQQ,
" PROBLEM DISASTER Hydrogen density must be > 0.\n" );
#define DEBUG_ENTRY(funcname)
bool nMatch(const char *chKey) const
void ParseFluc(Parser &p)
realnum gas_phase[LIMELM]
void SetGasPhaseDensity(const long nelem, const realnum density)