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.
12 lines
257 B
Mathematica
12 lines
257 B
Mathematica
function a = setState(a,job,values)
|
|
disp('deprecated')
|
|
if nargin ~= 3 | ~isa(job,'char')
|
|
error('Syntax error. Type "help setState" for more information.')
|
|
end
|
|
|
|
switch job
|
|
case 'T'
|
|
setTemperature(a,values)
|
|
otherwise
|
|
error(['unknown flag: ' job])
|
|
end
|