Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
zjwegert committed Nov 15, 2024
1 parent f9d848f commit c74c61a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions scripts/Embedded/Bugs/change_domain_bug.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ model = ref_model.model
Ω = Triangulation(model)
= Measure(Ω,2*order)
V_φ = TestFESpace(model,ReferenceFE(lagrangian,Float64,order))

φh = interpolate(x->-cos(4π*x[1])*cos(4π*x[2])-0.2,V_φ)
vh = zero(V_φ)

geo = DiscreteGeometry(φh,model)
cutgeo = cut(model,geo)
Γ = DifferentiableTriangulation(EmbeddedBoundary(cutgeo))

Γ = EmbeddedBoundary(cutgeo)
= Measure(Γ,2order)
(vh)dΓ
(2vh)dΓ

vh = zero(V_φ)
Γ = DifferentiableTriangulation(EmbeddedBoundary(cutgeo))
= Measure(Γ,2order)
(vh)dΓ
(vh*vh)dΓ
(2vh)dΓ

0 comments on commit c74c61a

Please sign in to comment.