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.
5 lines
192 B
Matlab
5 lines
192 B
Matlab
function v = vaporFraction(a)
|
|
% VAPORFRACTION - Vapor fraction.
|
|
% If object 'a' represents a liquid/vapor mixture, this method
|
|
% returns the vapor fraction.
|
|
v = thermo_get(a.tp_id,22);
|