32 p.
NoNumb(
"grain temperature");
36 else if( p.
nMatch(
"TEMP") )
47 convert_to_Kelvin = (
realnum)EVDEGK;
49 else if( p.
nMatch(
" KEV") )
51 convert_to_Kelvin = (
realnum)(EVDEGK * 1000.);
66 fprintf(
ioQQQ,
" PROBLEM temperature entered as a log but is too large "
67 "for this processor. I am interpreting it as the linear temperature.\n");
85 fprintf(
ioQQQ,
" PROBLEM Te too high, reset to %g K.\n",
112 else if( p.
nMatch(
"DENS") )
122 else if( p.
nMatch(
"PRES") )
156 fprintf(
ioQQQ,
" PROBLEM the constant pressure time command requires"
157 " a positive timescale.\n");
167 fprintf(
ioQQQ,
" PROBLEM the constant pressure time command requires"
168 " two numbers, the timescale for the variation and an index.\n");
228 p.
NoNumb(
"initial pressure" );
265 fprintf(
ioQQQ,
" The keyword should be TEMPerature, DENSity, GAS or PRESsure, sorry.\n" );
bool nMatch(const char *chKey) const
double PressureInitialSpecified
realnum varang[LIMPAR][2]
void ParseConstant(Parser &p)
bool lgTemperatureConstant
char chVarFmt[LIMPAR][FILENAME_PATH_LENGTH_2]
realnum vparm[LIMEXT][LIMPAR]
void TempChange(double TempNew, bool lgForceUpdate)
const double TEMP_LIMIT_LOW
double PressureVaryTimeIndex
const double TEMP_LIMIT_HIGH
NORETURN void NoNumb(const char *chDesc) const
bool lgTemperatureConstantCommandParsed
double PressureVaryTimeTimescale
bool lgPressureInitialSpecified
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)