cantera/interfaces/matlab/toolbox/@ThermoPhase/display.m
Ray Speth ea3f74eb27 [Thermo] 'report' only prints species with non-trivial mole fractions
The threshold for printing species is a new, optional parameter to the
'report' function. If any species are excluded, the total number of
minor species and their aggregate mass and mole fraction are printed.
2014-06-03 16:54:15 +00:00

5 lines
122 B
Matlab

function display(self, threshold)
if nargin < 2
threshold = 1e-14
end
phase_get(thermo_hndl(self), 15, 1, threshold);