cantera/interfaces/matlab/toolbox/@ThermoPhase/cv_mass.m
Bryan W. Weber 983b2cc015 [Matlab/Doc] Fix typos in docs for some ThermoPhase getters
These actually return scalars, although the docstrings
said they returned vectors
2017-01-03 21:57:06 -05:00

12 lines
354 B
Matlab

function v = cv_mass(tp)
% CV_MASS Get the mass-basis specific heat at constant volume.
% v = cv_mass(tp)
% :param tp:
% Instance of class :mat:func:`ThermoPhase` (or another
% object that derives from ThermoPhase)
% :return:
% Mass basis specific heat of the mixture at
% constant volume. Units: J/kg-K
%
v = thermo_get(tp.tp_id, 14);