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.
16 lines
No EOL
450 B
Mathematica
16 lines
No EOL
450 B
Mathematica
function i = thermo_set(n, job, a, b, c, d, e, f)
|
|
if nargin == 2
|
|
i = ctmethods(20,n,-job);
|
|
elseif nargin == 3
|
|
i = ctmethods(20,n,-job,a);
|
|
elseif nargin == 4
|
|
i = ctmethods(20, n,-job, a, b);
|
|
elseif nargin == 5
|
|
i = ctmethods(20, n,-job, a, b, c);
|
|
elseif nargin == 6
|
|
i = ctmethods(20, n,-job, a, b, c, d);
|
|
elseif nargin == 7
|
|
i = ctmethods(20, n,-job, a, b, c, d, e);
|
|
elseif nargin == 8
|
|
i = ctmethods(20, n,-job, a, b, c, d, e, f);
|
|
end |