An object of class "gas"
represents a breathing gas.
Such objects are required for various calculations in the
scuba
library.
The value returned by trimix
represents Trimix
(oxygen-nitrogen-helium mixture) with the fractions of oxygen,
nitrogen and helium specified by the arguments fO2
, fN2
,
fHe
respectively. These fractions should sum to 1.
If only two of the gas fractions are given, the
missing fraction will be calculated so that the three values sum to 1.
There are methods for print
and summary
for objects of class "gas"
.