Skip to content

Commit cefc91b

Browse files
hwpangmjohnson541
authored andcommitted
Add film growth internal interface to rop
1 parent a887be1 commit cefc91b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Simulation.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,11 @@ function rops(ssys::SystemSimulation,t)
278278
start += length(vkfs[k])
279279
end
280280
for inter in ssys.interfaces
281-
if hasproperty(inter,:reactions)
281+
if inter isa FragmentBasedReactiveFilmGrowthInterfaceConstantT
282+
kfs,krevs=getkfskrevs(inter)
283+
rops!(ropmat,inter.rxnarray,inter.fragmentbasedrxnarray,cstot,kfs,krevs,vV[inter.domaininds[1]],start)
284+
start += length(kfs)
285+
elseif hasproperty(inter,:reactions)
282286
kfs,krevs=getkfskrevs(inter,vT[inter.domaininds[1]],vT[inter.domaininds[2]],vphi[inter.domaininds[1]],vphi[inter.domaininds[2]],vGs[inter.domaininds[1]],vGs[inter.domaininds[2]],cstot)
283287
rops!(ropmat,inter.rxnarray,cstot,kfs,krevs,inter.A,start)
284288
start += length(kfs)

0 commit comments

Comments
 (0)