cantera/interfaces/matlab/toolbox/Reservoir.m
Ray Speth 2528df0f75 Reorganized source tree structure
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.

All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +00:00

21 lines
750 B
Matlab

function r = Reservoir(contents)
% RESERVOIR - Create a Reservoir object.
%
% A Reservoir is an instance of class Reactor configured so that
% its intensive state is constant in time. A reservoir may be
% thought of as infinite in extent, perfectly mixed, and
% non-reacting, so that fluid may be extracted or added without
% changing the composition or thermodynamic state. Note that even
% if the reaction mechanism associated with the fluid in the
% reactor defines reactions, they are disabled within
% reservoirs.
%
% r1 = Reservoir % an empty reservoir
% r2 = Reservoir(gas) % a reservoir containing a gas
%
% See also: Reactor
%
if nargin == 0
contents = 0;
end
r = Reactor(contents, 1);