next up previous
Next: [2] examples (of running Up: CHNOSZ examples Previous: thermo

sideeffects

data(thermo) # side effect: reset the system definition
thermo$obigt: 1809 aqueous, 3368 total species
basis() # NULL
NULL
basis("CHNOS") # side effect: define the basis species
C H N O S ispecies logact state CO2 1 0 0 2 0 69 -3 aq H2O 0 2 0 1 0 1 0 liq NH3 0 3 1 0 0 68 -4 aq H2S 0 2 0 0 1 70 -7 aq O2 0 0 0 2 0 3095 -80 gas
basis() # not NULL
C H N O S ispecies logact state CO2 1 0 0 2 0 69 -3 aq H2O 0 2 0 1 0 1 0 liq NH3 0 3 1 0 0 68 -4 aq H2S 0 2 0 0 1 70 -7 aq O2 0 0 0 2 0 3095 -80 gas
data(thermo) # side effect: reset the system definition
thermo$obigt: 1809 aqueous, 3368 total species
basis() # NULL
NULL


next up previous
Next: [2] examples (of running Up: CHNOSZ examples Previous: thermo