26 fprintf(
ioQQQ,
" Too many spectra entered. Increase LIMSPC\n" );
99 fprintf(
ioQQQ,
"There must be at least 2 pairs to interpolate,\nSorry\n" );
120 "An energy of zero was entered for element%3ld in INTERPOLATE and is not allowed.\nSorry\n",
129 for(
long i=0; i < npairs; i++ )
133 fprintf(
ioQQQ,
"DISASTER in INTERPPLATE command syntax\n");
134 fprintf(
ioQQQ,
"log of photon energy in Hz was entered, but the value, %g is too large.\nSorry.\n",
145 for(
long i=0; i < npairs; i++ )
154 for(
long i=0; i < npairs; i++ )
158 fprintf(
ioQQQ,
"An energy of zero was entered for pair %3ld in INTERPOLATE and is not allowed.\nSorry\n",
168 enum {DEBUG_LOC=
false};
171 for(
long i=0; i < npairs; i++ )
181 for(
long i=0; i < npairs-1; i++ )
186 fprintf(
ioQQQ,
"The energies MUST be in increasing order. Energy #%3ld=%10.2e Ryd was greater than or equal to the next one.\nSorry.\n",
204 "\n NOTE The incident continuum was not defined over the entire energy range. Some energies are set to zero.\n" );
206 " NOTE You may be making a BIG mistake.\n\n" );
229 for( n=0; n < npairs; n++ )
238 for(
long i=0; i < npairs; i++ )
247 fprintf(
ioQQQ,
" Table for this continuum;\ni\tTNU\tTFAC\tTSLOP, npairs=%li\n",
249 for(
long i=0; i < npairs-1; i++ )
261 double cmin = log10( FLT_MIN );
262 double cmax = log10( FLT_MAX );
264 for(
long i=0; i < npairs; i++ )
270 " The log of the flux specified in interpolate pair %li is not within dynamic range of this CPU - please rescale.\n",i);
272 " The photon energy is %f Rydberg and the log of the flux is %f.\n\n",
280 fprintf(
ioQQQ,
"\n NOTE The log of the flux given in an interpolate command is outside the range of this cpu.\n");
281 fprintf(
ioQQQ,
" NOTE I will try to renormalize it to be within the range of this cpu, but if I crash, this is a likely reason.\n");
282 fprintf(
ioQQQ,
" NOTE Note that the interpolate command only is used for the shape of the continuum.\n");
283 fprintf(
ioQQQ,
" NOTE The order of magnitude of the flux is not used in any way.\n");
284 fprintf(
ioQQQ,
" NOTE For safety this could be of order unity.\n\n");
bool hasCommand(const char *s2)
vector< Energy > tNu[LIMSPC]
vector< realnum > tFluxLog[LIMSPC]
vector< realnum > tslop[LIMSPC]
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)
bool isComment(void) const
void ParseInterp(Parser &p)