Cloudy & Associates

Commit 5818af33 authored by Ferland, Gary's avatar Ferland, Gary
Browse files

series of missed SPECIES => DATABASE in docs

source/parse_atom_iso.cpp
The SPECIES command still used in some error messages
when the SPECIES command changed to DATABASE

docs/latex/hazy1/optimize.tex
Same mistake in doc for commands with VARY option
parent c3c0847e
......@@ -72,13 +72,13 @@ Command& Quantity varied& Min& Max& Inc.\\
\hline
abundances starburst& metallicity& $-3$& $\log(35.5)$& 0.2\\
AGN& Big Bump temperature& $-\infty$& $+\infty$& 0.5\\
species H-like Lyman pumping scale & line blocking scale factor& $-\infty$& $+\infty$& 0.1\\
blackbody& temperature& $-\infty$& $+\infty$& 0.5\\
bremsstrahlung& temperature& $-\infty$& $+\infty$& 0.5\\
constant pressure set& pressure& $-\infty$& $+\infty$& 0.1\\
constant temperature& temperature& $\log(2.8)$& 10& 0.1\\
coronal equilibrium& temperature& $\log(2.8)$& 10& 0.1\\
cosmic rays& cosmic ray density& $-\infty$& $+\infty$& 0.2\\
database H-like Lyman pumping scale & line blocking scale factor& $-\infty$& $+\infty$& 0.1\\
distance& distance& $-\infty$& $+\infty$& 0.3\\
dlaw& first dlaw parameter& $-\infty$& $+\infty$& 0.5\\
eden& electron density& $-\infty$& 20 & 0.1\\
......
......@@ -63,7 +63,7 @@ void ParseDatabaseISO(long ipISO, Parser &p )
{
/* >>chng 02 feb 07, change from 2s2p to l-mixing */
/* this is the atom h-like collision l-mixing command */
fprintf(ioQQQ,"This command changed to SPECIES H-LIKE COLLISIONS L-MIXING\n");
fprintf(ioQQQ,"This command changed to DATABASE H-LIKE COLLISIONS L-MIXING\n");
fprintf(ioQQQ,"I will parse it for now, but may not in the future.\n");
/* turn off 2s - 2p collisions */
iso_ctrl.lgColl_l_mixing[ipISO] = false;
......@@ -540,7 +540,7 @@ void ParseDatabaseISO(long ipISO, Parser &p )
if( optimize.lgVarOn )
{
optimize.nvarxt[optimize.nparm] = 1;
strcpy( optimize.chVarFmt[optimize.nparm], "SPECIES H-LIKE LYMAN PUMPING SCALE %f LOG" );
strcpy( optimize.chVarFmt[optimize.nparm], "DATABASE H-LIKE LYMAN PUMPING SCALE %f LOG" );
/* pointer to where to write */
optimize.nvfpnt[optimize.nparm] = input.nRead;
......@@ -553,7 +553,7 @@ void ParseDatabaseISO(long ipISO, Parser &p )
}
else
{
fprintf(ioQQQ," Sorry, I didn\'t recognize an option on this SPECIES H-LIKE LYMAN PUMP command.\n");
fprintf(ioQQQ," Sorry, I didn\'t recognize an option on this DATABASE H-LIKE LYMAN PUMP command.\n");
fprintf(ioQQQ," The options are \" OFF\", and \"SCALE\".\n");
cdEXIT(EXIT_FAILURE);
}
......@@ -569,13 +569,13 @@ void ParseDatabaseISO(long ipISO, Parser &p )
if( iso_ctrl.nLyman[ipISO] < 2 )
{
// Code does not elsewhere protect against values less than 2.
fprintf(ioQQQ," Sorry, the value on this SPECIES xx-LIKE LYMAN command must be at least 2.\n");
fprintf(ioQQQ," Sorry, the value on this DATABASE xx-LIKE LYMAN command must be at least 2.\n");
cdEXIT(EXIT_FAILURE);
}
}
else
{
fprintf(ioQQQ," Sorry, I didn\'t recognize an option on this SPECIES xx-LIKE LYMAN command.\n");
fprintf(ioQQQ," Sorry, I didn\'t recognize an option on this DATABASE xx-LIKE LYMAN command.\n");
fprintf(ioQQQ," The options are \"PUMP\", and \"EXTRA\".\n");
cdEXIT(EXIT_FAILURE);
}
......@@ -733,7 +733,7 @@ void ParseDatabaseISO(long ipISO, Parser &p )
else
{
fprintf( ioQQQ, " There should have been a keyword on this SPECIES H-LIKE or HE-LIKE command.\n Sorry.\n" );
fprintf( ioQQQ, " There should have been a keyword on this DATABASE H-LIKE or HE-LIKE command.\n Sorry.\n" );
cdEXIT(EXIT_FAILURE);
}
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment