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/PhaseState.jl
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -217,27 +217,25 @@ Maintains diffusion limitations if the phase has diffusionlimited=true
217
217
end
218
218
end
219
219
end
220
-
if rxn.reversible
221
-
return (kf,krev)
222
-
else
223
-
return (kf,0.0)
224
-
end
220
+
kf *= rxn.forwardable
221
+
krev *= rxn.reversible
222
+
return (kf,krev)
225
223
end
226
224
export getkfkrev
227
225
228
226
@inlinefunctiongetkfkrevs(phase::U,T::W1,P::W2,C::W3,N::W4,ns::Q1,Gs::Q2,diffs::Q3,V::W5,phi::W7;kfs::W6=nothing) where {U,W7,W6,W5<:Real,W1<:Real,W2<:Real,W3,W4,Q1<:AbstractArray,Q2,Q3<:AbstractArray}
0 commit comments