[Matlab] Remove unnecessary returns from set methods in 1D classes

This commit is contained in:
Bryan W. Weber 2014-07-18 14:34:31 +00:00
parent b95614760a
commit 34274257b9
13 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
function d = setBounds(d, component, lower, upper)
function setBounds(d, component, lower, upper)
% SETBOUNDS -
%
n = componentIndex(d, component);

View file

@ -1,4 +1,4 @@
function d = setCoverageEqs(d, onoff)
function setCoverageEqs(d, onoff)
% SETCOVERAGEEQS - Enable or disable solving the coverage equations.
%
if d.domain_type ~= 6

View file

@ -1,4 +1,4 @@
function d = setFixedTempProfile(d, profile)
function setFixedTempProfile(d, profile)
% SETFIXEDTEMPPROFILE - set the temperature profile to use when the
% energy equation is not being solved. The profile must be entered
% as an array of positions / temperatures, which may be in rows or

View file

@ -1,4 +1,4 @@
function d = setID(d, id)
function setID(d, id)
% SETID - Set the ID tag for the domain.
%
domain_methods(d.dom_id, 54, id);

View file

@ -1,4 +1,4 @@
function d = setMdot(d, mdot)
function setMdot(d, mdot)
% SETMDOT -
%
domain_methods(d.dom_id, 60, mdot);

View file

@ -1,4 +1,4 @@
function d = setMoleFractions(d, x)
function setMoleFractions(d, x)
% SETMOLEFRACTIONS -
%
domain_methods(d.dom_id, 62, x);

View file

@ -1,4 +1,4 @@
function d = setPressure(d, p)
function setPressure(d, p)
% SETPRESSURE -
%
domain_methods(d.dom_id, 63, p);

View file

@ -1,4 +1,4 @@
function d = setProfile(d, n, p)
function setProfile(d, n, p)
% SETPROFILE -
%
if d.stack == 0

View file

@ -1,4 +1,4 @@
function d = setSteadyTolerances(d, component, rtol, atol)
function setSteadyTolerances(d, component, rtol, atol)
% SETSTEADYTOLERANCES -
%

View file

@ -1,4 +1,4 @@
function d = setTemperature(d, t)
function setTemperature(d, t)
% SETTEMPERATURE - Set the temperature [K].
%
domain_methods(d.dom_id, 61, t);

View file

@ -1,4 +1,4 @@
function d = setSteadyTolerances(d, component, rtol, atol)
function setSteadyTolerances(d, component, rtol, atol)
% SETSTEADYTOLERANCES -
%

View file

@ -1,4 +1,4 @@
function d = setupGrid(d, grid)
function setupGrid(d, grid)
% SETUPGRID -
%
domain_methods(d.dom_id, 53, grid);

View file

@ -1,4 +1,4 @@
function s = setRefineCriteria(s, n, ratio, slope, curve, prune)
function setRefineCriteria(s, n, ratio, slope, curve, prune)
% SETREFINECRITERIA - Set the criteria used to refine the grid.
%
% n -- domain number beginning with domain 1 at the left