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
451 B
Matlab
14 lines
451 B
Matlab
function s = importEdge(file, name, phase1, phase2, phase3, phase4)
|
|
% IMPORTINTERFACE - import an interface
|
|
%
|
|
if nargin == 3
|
|
s = Interface(file, name, phase1);
|
|
elseif nargin == 4
|
|
s = Interface(file, name, phase1, phase2);
|
|
elseif nargin == 5
|
|
s = Interface(file, name, phase1, phase2, phase3);
|
|
elseif nargin == 6
|
|
s = Interface(file, name, phase1, phase2, phase3, phase4);
|
|
else
|
|
error('importEdge only supports 4 neighbor phases');
|
|
end
|