From fbb66c4fafb775f3fa3f6245f820f1da07b846b6 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Tue, 24 Sep 2024 18:22:49 -0700 Subject: [PATCH] Fixed typos --- src/Interface.jl | 6 +++--- src/PhaseState.jl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Interface.jl b/src/Interface.jl index 6241657a..275caaf8 100644 --- a/src/Interface.jl +++ b/src/Interface.jl @@ -31,7 +31,7 @@ struct ReactiveInternalInterface{T,B,C,C2,N,Q<:AbstractReaction,X} <: AbstractRe parameterindexes::Array{Int64,1} domaininds::Array{Int64,1} p::Array{Float64,1} - reversibililty::Array{Bool,1} + reversibility::Array{Bool,1} forwardability::Array{Bool,1} end function ReactiveInternalInterface(domain1,domain2,reactions,A) @@ -452,7 +452,7 @@ struct FragmentBasedReactiveFilmGrowthInterfaceConstantT{D1,D2,Q<:AbstractReacti parameterindexes::Array{Int64,1} domaininds::Array{Int64,1} p::Array{Float64,1} - reversibililty::Array{Bool,1} + reversibility::Array{Bool,1} forwardability::Array{Bool,1} Mws::Array{Float64,1} end @@ -468,7 +468,7 @@ function FragmentBasedReactiveFilmGrowthInterfaceConstantT(domainfilm, domain2, Gpart = ArrayPartition(domainfilm.Gs,domain2.Gs) dGrxns = -M*Gpart kfs = getkf.(reactions,nothing,T,0.0,0.0,Ref([]),0.0,0.0,dGrxns,0.0) - Kc = getKcs(domain1.phase,domain2.phase,T,Nrp1,Nrp2,dGrxns) + Kc = getKcs(domainfilm.phase,domain2.phase,T,Nrp1,Nrp2,dGrxns) krevs = kfs./Kc M, Nrp1, Nrp2 = getstoichmatrix(domainfilm, domain2, reactions) diff --git a/src/PhaseState.jl b/src/PhaseState.jl index 6abe48b7..3fbe0396 100644 --- a/src/PhaseState.jl +++ b/src/PhaseState.jl @@ -233,7 +233,7 @@ end return kfsdiff, krev else len = length(phase.reactions) - kfs = zeros(typeof(Gs[1]),len)ss + kfs = zeros(typeof(Gs[1]),len) krev = zeros(typeof(Gs[1]),len) @simd for i = 1:len @fastmath @inbounds kfs[i],krev[i] = getkfkrev(phase.reactions[i],phase,T,P,C,N,ns,dGrxns[i],diffs,V,phi,d)