cantera/interfaces/matlab/toolbox/@Mixture/setPhaseMoles.m

12 lines
346 B
Matlab

function setPhaseMoles(self, n, moles)
% SETPHASEMOLES Set the number of moles of a phase in a mixture.
% setPhaseMoles(self, n, moles)
% :param self:
% Instance of class :mat:func:`Mixture`
% :param n:
% Phase number in the input
% :param moles:
% Number of moles to add. Units: kmol
%
mixturemethods(7, mix_hndl(self), n, moles);