You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Simulation.jl
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -254,7 +254,10 @@ end
254
254
255
255
functionrops(ssys::SystemSimulation, t)
256
256
domains =getfield.(ssys.sims, :domain)
257
-
Nrxns =sum([length(sim.domain.phase.reactions) for sim in ssys.sims]) +sum([length(inter.reactions) for inter in ssys.interfaces ifhasproperty(inter, :reactions)])
257
+
Nrxns =sum([length(sim.domain.phase.reactions) for sim in ssys.sims])
258
+
Nrxns_interface = [length(inter.reactions) for inter in ssys.interfaces ifhasproperty(inter, :reactions)]
259
+
if Nrxns_interface != Union{}[]
260
+
Nxrns +=sum(Nrxns_interface)
258
261
Nspcs =sum([length(getphasespecies(sim.domain.phase)) for sim in ssys.sims])
0 commit comments