11 lines
268 B
Matlab
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);
|