phr_surface_master_species: Define a surface master species

Description Usage Arguments See Also Examples

View source: R/phreeqc_input_helpers.R

Description

Defines a surface and a binding site on that surface (separated by an underscore). An identity reaction with a log_k of 0 must be included in a phr_surface_species() block.

Usage

1
phr_surface_master_species(binding_site_name, master_species)

Arguments

binding_site_name

A name for the binding site, starting with a capital letter and including only lowercase letters afterward (e.g., Mysurface). An underscore will denote an additional binding site on the surface (e.g., Mysurface_one).

master_species

The formula for the binding site. This is generall the binding site name followed by OH (e.g., MysurfaceOH), in what the documentation calls the "OH-form of the binding site).

A phr_input_section().

See Also

https://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/html/final-61.html

Examples

1
2
3
4
phr_input(
  phr_surface_master_species("Mysurface", "MysurfaceOH"),
  phr_surface_species("MysurfaceOH = MysurfaceOH")
)

paleolimbot/tidyphreeqc documentation built on Aug. 29, 2019, 11:14 p.m.