Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 authored and ssun30 committed Nov 8, 2024
1 parent 6cbc147 commit fbb66c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/PhaseState.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fbb66c4

Please sign in to comment.