17 fixit(
"this must be generalized!!!");
35 fprintf(
ioQQQ,
" Something is wrong with the order of the numbers on this line.\n" );
36 fprintf(
ioQQQ,
" The first number I encounter should be a 2.\n Sorry.\n" );
67 p.
NoNumb(
"number of electronic levels");
74 fprintf(
ioQQQ,
" This would be too few electronic levels - resetting to 3.\n" );
81 " This would be too many levels, the limit is %i.\n" ,
88 else if( p.
nMatch(
"LIMI") )
103 p.
NoNumb(
"limit to the H2 / Htot ratio" );
114 else if( p.
nMatch(
"GBAR" ) )
122 else if( p.
nMatch(
" ON " ) )
129 " The gbar approximation must be off (\" OFF\") or on (\" ON \").\n");
134 else if( p.
nMatch(
"COLL" ) )
172 else if( p.
nMatch(
"GRAI" ) )
186 else if( p.
nMatch(
" H ") )
188 long int nYear = (long) p.
FFmtRead();
190 p.
NoNumb(
"collision data set (year)");
199 else if (nYear == 2007)
207 else if (nYear == 2015)
218 " I did not find the dataset year on this DATABASE H2 H command"
219 " - I know the 1999, 2007, and 2015 datasets" );
223 else if( p.
nMatch(
" HE " ) )
227 fprintf(
ioQQQ,
" Sorry. This command only applies to H2. The keyword H2 must appear on the command.\n" );
251 " I did not find a keyword on this DATABASE H2 HE command - I know about the keys ORNL and Le BOURlot\n");
257 else if( p.
nMatch(
"ORH2" ) )
261 fprintf(
ioQQQ,
" Sorry. This command only applies to H2. The keyword H2 must appear on the command.\n" );
274 else if( p.
nMatch(
"BOUR" ) )
285 " I did not find a keyword on this SPECIES H2 ohH2 command - I know about the keys ORNL and Le BOURlot\n");
290 else if( p.
nMatch(
"PAH2" ) )
301 else if( p.
nMatch(
"BOUR" ) )
312 " I did not find a keyword on this SPECIES H2 paH2 command - I know about the keys ORNL and Le BOURlot\n");
338 long numLevels = (long)p.
FFmtRead();
350 " The total number of levels used in the matrix solver must be entered, or keywords ALL or NONE entered.\n Sorry.\n");
359 else if( p.
nMatch(
" LTE" ) )
362 diatom->
lgLTE =
true;
365 else if( p.
nMatch(
"TRAC" ) )
379 else if( p.
nMatch(
"ITER" ) )
384 else if( p.
nMatch(
"FULL" ) )
389 else if( p.
nMatch(
"MATR" ) )
400 else if( p.
nMatch(
"NOIS" ) )
432 else if( p.
nMatch(
"THER" ) )
440 else if( p.
nMatch(
"FULL" ) )
447 else if( p.
nMatch(
"CHEM" ) )
456 else if( p.
nMatch(
"FULL" ) )
bool nMatch(const char *chKey) const
NORETURN void TotalInsanity(void)
bool lgH2_Chemistry_BigH2
t_coll_source coll_source[N_X_COLLIDER]
void ParseDatabaseH2(Parser &p)
bool lgH2_ortho_para_coll_on
NORETURN void NoNumb(const char *chDesc) const
diatomics h2("h2", 4100.,&hmi.H2_total, Yan_H2_CS)
bool lgH2_grain_deexcitation
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)
void init_genrand(unsigned long s)
void set_numLevelsMatrix(long numLevels)