@@ -31,8 +31,6 @@ include("Reaction.jl")
3131 reversibility:: Array{Bool,1}
3232 diffusionlimited:: Bool = false
3333end
34- IdealGas (species,reactions; name= " " ,diffusionlimited= false ) = IdealGas (species= species,reactions= reactions,name= name,
35- diffusionlimited= diffusionlimited,spcdict= Dict ([sp. name=> sp. index for sp in species]))
3634
3735function IdealGas (species,reactions; name= " " ,diffusionlimited= false )
3836 vectuple,vecinds,otherrxns,otherrxninds,posinds = getveckinetics (reactions)
@@ -71,8 +69,7 @@ export IdealGas
7169 reversibility:: Array{Bool,1}
7270 diffusionlimited:: Bool = true
7371end
74- IdealDiluteSolution (species,reactions,solvent; name= " " ,diffusionlimited= true ) = IdealDiluteSolution (species= species,reactions= reactions,
75- solvent= solvent,name= name,diffusionlimited= diffusionlimited,spcdict= Dict ([sp. name=> sp. index for sp in species]))
72+
7673function IdealDiluteSolution (species,reactions,solvent; name= " " ,diffusionlimited= true )
7774 vectuple,vecinds,otherrxns,otherrxninds,posinds = getveckinetics (reactions)
7875 rxns = vcat (reactions[vecinds],reactions[otherrxninds])
0 commit comments