[Matlab] Remove unnecessary returns from set methods in 1D classes
This commit is contained in:
parent
b95614760a
commit
34274257b9
13 changed files with 13 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
function d = setBounds(d, component, lower, upper)
|
||||
function setBounds(d, component, lower, upper)
|
||||
% SETBOUNDS -
|
||||
%
|
||||
n = componentIndex(d, component);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function d = setMdot(d, mdot)
|
||||
function setMdot(d, mdot)
|
||||
% SETMDOT -
|
||||
%
|
||||
domain_methods(d.dom_id, 60, mdot);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function d = setMoleFractions(d, x)
|
||||
function setMoleFractions(d, x)
|
||||
% SETMOLEFRACTIONS -
|
||||
%
|
||||
domain_methods(d.dom_id, 62, x);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function d = setPressure(d, p)
|
||||
function setPressure(d, p)
|
||||
% SETPRESSURE -
|
||||
%
|
||||
domain_methods(d.dom_id, 63, p);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function d = setProfile(d, n, p)
|
||||
function setProfile(d, n, p)
|
||||
% SETPROFILE -
|
||||
%
|
||||
if d.stack == 0
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function d = setSteadyTolerances(d, component, rtol, atol)
|
||||
function setSteadyTolerances(d, component, rtol, atol)
|
||||
% SETSTEADYTOLERANCES -
|
||||
%
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function d = setSteadyTolerances(d, component, rtol, atol)
|
||||
function setSteadyTolerances(d, component, rtol, atol)
|
||||
% SETSTEADYTOLERANCES -
|
||||
%
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
function d = setupGrid(d, grid)
|
||||
function setupGrid(d, grid)
|
||||
% SETUPGRID -
|
||||
%
|
||||
domain_methods(d.dom_id, 53, grid);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue