From ce9382b4d9aec3b4f8036416859da0c3178295dd Mon Sep 17 00:00:00 2001 From: "Z J Wegert (Workstation)" Date: Mon, 10 Jun 2024 15:43:17 +1000 Subject: [PATCH] fix --- scripts/Embedded/Examples/2d_thermal.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Embedded/Examples/2d_thermal.jl b/scripts/Embedded/Examples/2d_thermal.jl index d425e8b6..086d14fa 100644 --- a/scripts/Embedded/Examples/2d_thermal.jl +++ b/scripts/Embedded/Examples/2d_thermal.jl @@ -10,7 +10,7 @@ function main() γ = 0.1 γ_reinit = 0.5 max_steps = floor(Int,order*minimum(n)/10) - tol = 1/(1*order^2)/minimum(n) + tol = 1/(5*order^2)/minimum(n) vf = 0.4 α_coeff = 4max_steps*γ iter_mod = 1 @@ -75,7 +75,7 @@ function main() ## Optimiser rm(path,force=true,recursive=true) mkpath(path) - optimiser = AugmentedLagrangian(pcfs,ls_evo,vel_ext,φh; + optimiser = AugmentedLagrangian(pcfs,ls_evo,vel_ext,φh;reinit_mod=5, γ,γ_reinit,verbose=true,constraint_names=[:Vol]) for (it,uh,φh) in optimiser _Ω1,_,_Γ = get_embedded_triangulations(embedded_meas)