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.
12 lines
231 B
Matlab
12 lines
231 B
Matlab
function setFunction(f, mf)
|
|
% SETMASSFLOWRATE -
|
|
%
|
|
if f.type == 1
|
|
k = flowdevicemethods(5, f.index, func_hndl(mf));
|
|
if k < 0
|
|
error(geterr);
|
|
end
|
|
else
|
|
error('Mass flow rate can only be set for mass flow controllers')
|
|
end
|
|
|