cantera/interfaces/matlab/toolbox/@ThermoPhase/clear.m
Ray Speth c16c15367f [Matlab] Fix ThermoPhase 'clear' method
This function was actually being directed into 'thermoget' and calling the
'newFromXML' method (on a non-existent XML tree) instead of calling the 'del'
method.
2016-10-18 11:21:42 -04:00

10 lines
216 B
Matlab

function clear(tp)
% CLEAR Delete the kernel object.
% clear(tp)
% :param tp:
% Instance of class :mat:func:`ThermoPhase` (or another
% object that derives from ThermoPhase)
%
thermo_set(tp.tp_id, 10, 0);