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.
10 lines
285 B
Matlab
10 lines
285 B
Matlab
function s = importInterface(file, name, phase1, phase2)
|
|
% IMPORTINTERFACE - import an interface
|
|
%
|
|
if nargin == 3
|
|
s = Interface(file, name, phase1);
|
|
elseif nargin == 4
|
|
s = Interface(file, name, phase1, phase2);
|
|
else
|
|
error('importInterface only supports 2 bulk phases');
|
|
end
|