[Matlab] Remove unnecessary returns from set methods in @ThermoPhase class
This commit is contained in:
parent
ab251257e5
commit
b95614760a
12 changed files with 12 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
function a = setMassFractions(tp, y, norm)
|
||||
function setMassFractions(tp, y, norm)
|
||||
% SETMASSFRACTIONS Set the species mass fractions.
|
||||
%
|
||||
% setMassFractions(a,y)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setMoleFractions(tp, x, norm)
|
||||
function setMoleFractions(tp, x, norm)
|
||||
% SETMOLEFRACTIONS Set the species mole fractions.
|
||||
%
|
||||
% setMoleFractions(a,x)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setPressure(tp, p)
|
||||
function setPressure(tp, p)
|
||||
% SETPRESSURE Set the pressure [Pa].
|
||||
%
|
||||
% The pressure is set by changing the density holding the
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setState(a, job, values)
|
||||
function setState(a, job, values)
|
||||
disp('deprecated')
|
||||
if nargin ~= 3 || ~isa(job, 'char')
|
||||
error('Syntax error. Type "help setState" for more information.')
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a= setState_HP(tp, hp)
|
||||
function setState_HP(tp, hp)
|
||||
% SETSTATE_HP - Set the specific enthalpy [J/kg] and pressure [Pa].
|
||||
%
|
||||
% setState_HP(a, hp) sets the specific enthalpy and pressure
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setState_SP(tp, sp)
|
||||
function setState_SP(tp, sp)
|
||||
% SETSTATE_SP Set the specific entropy [J/kg/K] and pressure [Pa].
|
||||
%
|
||||
% setState_SP(a, sp) sets the specific entropy and pressure
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setState_SV(tp, sv)
|
||||
function setState_SV(tp, sv)
|
||||
% SETSTATE_SV Set the specific entropy [J/kg/K] and specific
|
||||
% volume [m3/kg].
|
||||
%
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setState_Tsat(tp, tx)
|
||||
function setState_Tsat(tp, tx)
|
||||
% SETSTATE_TSAT Set the fluid to a saturated state at
|
||||
% temperature t
|
||||
%
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setState_UV(tp, uv)
|
||||
function setState_UV(tp, uv)
|
||||
% SETSTATE_UV Set the specific internal energy [J/kg] and
|
||||
% specific volume [m^3/kg].
|
||||
%
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setState_satLiquid(tp)
|
||||
function setState_satLiquid(tp)
|
||||
% SETSTATE_SATLIQUID Set the fluid to the saturated liquid state
|
||||
% at the current temperature.
|
||||
%
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setState_satVapor(tp)
|
||||
function setState_satVapor(tp)
|
||||
% SETSTATE_SATVAPOR Set the fluid to the saturated vapor state at the
|
||||
% current temperature.
|
||||
%
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function a = setTemperature(tp,t)
|
||||
function setTemperature(tp,t)
|
||||
% SETTEMPERATURE Set the temperature [K].
|
||||
%
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue