cantera/interfaces/matlab/toolbox/@ThermoPhase/temperature.m

11 lines
268 B
Matlab

function t = temperature(tp)
% TEMPERATURE Get the temperature.
% t = temperature(tp)
% :param tp:
% Instance of class :mat:func:`ThermoPhase` (or another
% class derived from ThermoPhase)
% :return:
% Temperature. Units: K
%
t = phase_get(tp.tp_id, 1);