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.
14 lines
171 B
Matlab
14 lines
171 B
Matlab
function x = Wall(typ)
|
|
%
|
|
if nargin == 0
|
|
typ = 1;
|
|
end
|
|
x.index = wallmethods(0,typ);
|
|
if x.index < 0
|
|
error(geterr);
|
|
end
|
|
x.left = -1;
|
|
x.right = -1;
|
|
x = class(x,'Wall');
|
|
|
|
|