update_concentrations¶
- SalineWater.update_concentrations(mode='all')¶
Updates all unspecified concentrations from mole fractions and molar density.
- Parameters
mode (str {'all' (default), 'update'}) – If ‘all’ then all concentrations will be updated based on the current mole fractions. If ‘update’, then only concentrations that are missing or filled with nans will be updated.
Notes
This function requires that molar density be defined on the mixture.