Skip to content

Commit

Permalink
[matlab] Use reactor_setSolution in experimental toolbox
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Jan 21, 2024
1 parent 20be009 commit 9d5f6c2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions interfaces/matlab_experimental/Reactor/Reactor.m
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,7 @@
error('Wrong object type');
end

ctFunc('reactor_setThermoMgr', r.id, content.tpID);

if ~strcmp(r.type, 'Reservoir')
ctFunc('reactor_setKineticsMgr', r.id, content.kinID);
end
ctFunc('reactor_setSolution', r.id, content.phaseID);

elseif ~(isa(content, 'double') && content == 0)
error('Reactor contents must be an object of type "Solution"');
Expand Down

0 comments on commit 9d5f6c2

Please sign in to comment.