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.
8 lines
No EOL
199 B
Matlab
Executable file
8 lines
No EOL
199 B
Matlab
Executable file
function v = thermalConductivity(a)
|
|
% THERMALCONDUCTIVITY Thermal conductivity in W/m^2/K.
|
|
v = trans_get(a.id, 2);
|
|
if v == -1.0
|
|
error(geterr);
|
|
elseif v < 0.0
|
|
error('exception raised');
|
|
end |