Skip to contents

S3 class describing .prj phase_component

Usage

prj_phase_component(name, saturation_index, initial_amount = NULL)

Arguments

name

The component name

saturation_index

The saturation index of the component

initial_amount

optional: The initial amount of the component

Examples

prj_phase_component(
    name = "Calcite",
    saturation_index = 0,
    initial_amount = 0.000207
)
#> $name
#> [1] "Calcite"
#> 
#> $saturation_index
#> [1] 0
#> 
#> $initial_amount
#> [1] 0.000207
#> 
#> $xpath
#> [1] "chemical_system/equilibrium_reactants/phase_component"
#> 
#> $attr_names
#> character(0)
#> 
#> $flatten_on_exp
#> character(0)
#> 
#> attr(,"class")
#> [1] "prj_phase_component"