cantera/interfaces/matlab/toolbox/@Wall/setKinetics.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

14 lines
306 B
Matlab

function setKinetics(w, left, right)
% SETKINETICS - Specify the left and right surface reaction mechanisms.
%
ileft = 0;
iright = 0;
if isa(left,'Kinetics')
ileft = kinetics_hndl(left);
end
if isa(right,'Kinetics')
iright = kinetics_hndl(right);
end
wallmethods(12, wall_hndl(w), ileft, iright);