Description Usage Arguments Details References See Also Examples
Sets the name of the selected_output file. The default value is selected_nuser.0.out.
1 | phrSetSelectedOutputFileName(nuser, filename)
|
nuser |
the user number specified in the SELECTED_OUTPUT block. |
filename |
the name of the selected_output file. |
The selected_output file must be turned on using the phrSetSelectedOutputFileOn
function.
ftp://brrftp.cr.usgs.gov/pub/charlton/iphreeqc/IPhreeqc.pdf
Other Selected Output: phrGetSelectedOutputFileName
,
phrGetSelectedOutput
,
phrSetSelectedOutputFileOn
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # This example equilibrates pure water with calcite at various temperatures
# and displays the name of the selected_output file.
phrLoadDatabaseString(phreeqc.dat)
phrSetSelectedOutputFileOn(1, TRUE)
phrSetSelectedOutputFileName(1, file.path(tempdir(), "ex2.sel"))
input <- c(
'SOLUTION 1 Pure water ',
'EQUILIBRIUM_PHASES 1 ',
' Calcite 0.0 1.0 ',
'REACTION_TEMPERATURE 1 ',
' 25.0 75.0 in 51 steps ',
'SELECTED_OUTPUT 1 ',
' -temperature ',
' -si calcite '
)
if (is.null(phrRunString(input))) {
cat(paste("see ", phrGetSelectedOutputFileName(1), ".\n", sep = ""))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.