[Matlab/Examples] Don't call non-existent methods

The current simulation time is a property of the reactor network, not the
individual reactors.
This commit is contained in:
Ray Speth
2013-07-16 22:10:01 +00:00
parent 13e707999f
commit 700ebd0abf
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ t0 = cputime;
for n = 1:100
t = t + dt;
advance(network, t);
tim(n) = time(r);
tim(n) = time(network);
temp(n) = temperature(r);
x(n,1:3) = moleFraction(gas,{'OH','H','H2'});
end

View File

@@ -31,7 +31,7 @@ t0 = cputime;
for n = 1:100
t = t + dt;
advance(network, t);
tim(n) = time(r);
tim(n) = time(network);
temp(n) = temperature(r);
x(n,1:3) = moleFraction(gas,{'OH','H','H2'});
end