[Reactor] Deprecate Reactor::syncState

This commit is contained in:
Ray Speth
2026-01-28 06:36:00 -06:00
committed by Ingmar Schoegl
parent 24cd615278
commit 2d938145ab
11 changed files with 20 additions and 57 deletions
-1
View File
@@ -127,7 +127,6 @@ states2 = ct.SolutionArray(gas2)
for n in range(n_steps):
# Set the state of the reservoir to match that of the previous reactor
upstream.phase.TDY = r2.phase.TDY
upstream.syncState()
# integrate the reactor forward in time until steady state is reached
sim2.reinitialize()
sim2.advance_to_steady_state()
@@ -107,7 +107,6 @@ output_data = []
for n in range(NReactors):
# Set the state of the reservoir to match that of the previous reactor
upstream.phase.TDY = r.phase.TDY
# upstream.syncState()
sim.reinitialize()
sim.advance_to_steady_state()
dist = n * rlen * 1.0e3 # distance in mm