Fix the setState_satLiquid and setState_satVapor functions so that they call the main set method instead of the underlying C++ layer. Resolves #299.
9 lines
310 B
Matlab
9 lines
310 B
Matlab
function setState_satLiquid(tp)
|
|
% SETSTATE_SATLIQUID Set the fluid to the saturated liquid state at the current temperature.
|
|
% setState_satLiquid(tp)
|
|
% :param tp:
|
|
% Instance of class :mat:func:`ThermoPhase` (or another
|
|
% class derived from ThermoPhase)
|
|
%
|
|
|
|
set(tp, 'T', temperature(tp), 'Liquid', 1.0)
|