Cloudy & Associates

Commit ea4e5aa4 authored by Robin Williams's avatar Robin Williams
Browse files

Document revised "optimize column densities"

parent 2da6788c
......@@ -181,13 +181,17 @@ to match.
\subsection{Optimize column density}
This specifies a set of column densities.
A series of column densities,
This specifies a set of column densities to be optimized.
A series of species and constraints are read,
ending with a line with the keyword \cdCommand{end} in columns 1 to 3,
will be read
in from subsequent lines.
One column density is entered per line and there is no limit to
One species is entered per line and there is no limit to
the number of entries.
The species can be specified in one of two ways:
\cdTerm{Atomic ions:}
Columns 1 to 4 of the column density lines must
contain the first four characters of the name of the element spelled as
in the output from the zone results.
......@@ -211,34 +215,33 @@ silicon 3 14.6 # The Si+2 column density
end of column densities
\end{verbatim}
\cdTerm{Molecular and level column densities: how this command works:}
The label
and ion that are parsed from the lines giving the column densities
\cdTerm{Molecular and level column densities:}
The species is specified as a quoted, case-sensitive string, and no ionization
stage is specified. (This is different from previous
versions of Cloudy, where the species did not need to be quoted, but
only the first 4 characters were used, and an ionization stage
of 0 had to be specified.)
The species names which are parsed from the lines giving the column density
constraints
are simply
passed to routine \cdTerm{cdColm}.
That routine is described in Part 2 of \Hazy.
This optimization command accepts any species that
\cdTerm{cdColm} recognizes.
Column densities of molecules and excited states of some ions
can be specified by entering an ion stage of zero and one of the strings
that is described where \cdTerm{cdColm} is described.
The first four characters
of the label given on the input line must agree with those listed there.
can be specified by special syntax, and one of the cases
that is described where \cdTerm{cdColm} is shown in the example below.
The following shows some examples of optimizing molecular and state column
densities:
\begin{verbatim}
optimize column densities
H- 0 < 17 # The H- column density is a limit
H2 0 17.4 error =.001 # Match the H_2 column density exactly
H2+ 0 14.6 # The H2+ molecular ion
O11* 0 16.3 # This is an excited level within the O^0 ground term
"H-" < 17 # The H- column density is a limit
"H2" 17.4 error =.001 # Match the H_2 column density exactly
"H2+" 14.6 # The H2+ molecular ion
"O11*" 16.3 # This is an excited level within the O^0 ground term
end of column densities
\end{verbatim}
Note that extra spaces were placed after the labels for the molecules to
pad out the needed four-character label.
The ion, the first number after
the four-character label, is always zero
\subsection{Optimize, [intensity, luminosity]=36.425 [error =0.1]}
......
Supports Markdown
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