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.
4 lines
94 B
Matlab
4 lines
94 B
Matlab
function rho = density(p)
|
|
% DENSITY - Mass density [kg/m^3].
|
|
%
|
|
rho = phase_get(p.tp_id,2);
|