phrGetComponentList: Retrieve a list containing the current list of components.

View source: R/phreeqc.R

phrGetComponentListR Documentation

Retrieve a list containing the current list of components.

Description

Retrieve a list containing the current list of components.

Usage

phrGetComponentList()

Value

A list containing the names of the components defined in the current system.

References

https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf

Examples


# This example runs the ex2 input file and echos the list of components.
phrLoadDatabaseString(phreeqc.dat)
phrRunString(ex2)
cat("components:\n")
for (comp in phrGetComponentList()) {
  cat(comp, "\n")
}


phreeqc documentation built on Sept. 11, 2024, 8:33 p.m.