Skip to content

Commit

Permalink
some comments to get started on surface results
Browse files Browse the repository at this point in the history
  • Loading branch information
zjwegert committed Sep 17, 2024
1 parent a491154 commit 41ad1eb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion scripts/Embedded/MWEs/zach_embedded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,14 @@ writevtk(
writevtk(
Triangulation(cutgeo,PHYSICAL_OUT),"results/trian_out3d"
)
end
end

## Surface functionals
# We should have something like the following for J(φ)=∫_∂Ω(φ) f ds:
# dJ(φ)(w) = lim_{t->0} (J(φₜ)-J(φ))/t = -∫_∂Ω (n⋅∇f)w/|∂ₙφ| dS - ∑(...)
# The first term is easy, the second term not so much...

# Need [[fm]]=f₁m₁ + f₂m₂, where mₖ is the co-normal for τ = 0 with
# mₖ = tₖˢ×n_{∂Ω(φ(0))∩S}
# where tₖˢ is the tangent vector along the edge ∂Ω(φ(0))∩S and fₖ is
# the limit of f on S defined by fₖ(x)=lim_{ϵ->0⁺} f(x-ϵmₖ) for x ∈ ∂Ω∩S.

0 comments on commit 41ad1eb

Please sign in to comment.