From eb5202ca5c5a81a67e774cc930fbfd274a558a5b Mon Sep 17 00:00:00 2001 From: Hao-Wei Pang Date: Sat, 17 Feb 2024 19:03:22 -0500 Subject: [PATCH] Fix --- src/Interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interface.jl b/src/Interface.jl index 73cb98c0..466022ab 100644 --- a/src/Interface.jl +++ b/src/Interface.jl @@ -531,7 +531,7 @@ end function evaluate(ri::FragmentBasedReactiveFilmGrowthInterfaceConstantT, dydt, Vfilm, cstot) kfs, krevs = getkfskrevs(ri) - addreactionratecontributions!(dydt, ri.fragmentbasedrxnarray, ri.rxnarray, cstot, kfs, krevs, Vfilm, ri.domainfilm.indexes[3], ri.Mws, ri.domainfilm.indexes[1]:domainfilm.indexes[2]) + addreactionratecontributions!(dydt, ri.fragmentbasedrxnarray, ri.rxnarray, cstot, kfs, krevs, Vfilm, ri.domainfilm.indexes[3], ri.Mws, ri.domainfilm.indexes[1]:ri.domainfilm.indexes[2]) if hasproperty(ri.domain2, :epsilon) epsilon = ri.domain2.epsilon dydt[ri.domain2.thermovariabledict["V"]] = dydt[ri.domainfilm.indexes[3]] / ri.domainfilm.rho / (1 - epsilon) * epsilon