[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:
parent
13e707999f
commit
700ebd0abf
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue