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.
9 lines
180 B
Matlab
9 lines
180 B
Matlab
function setName(self, name)
|
|
% SETNAME - Set the name of the phase.
|
|
%
|
|
if isa(name,'char')
|
|
phase_set(thermo_hndl(self), 32, name);
|
|
else
|
|
error('name must be a string.');
|
|
end
|
|
|