From e7854aee55561528b6f60d82aa0920cdc58a5ef4 Mon Sep 17 00:00:00 2001 From: Helge Gehring <42973196+HelgeGehring@users.noreply.github.com> Date: Tue, 8 Aug 2023 11:55:31 -0700 Subject: [PATCH] fix docs --- docs/julia/waveguide.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/julia/waveguide.jl b/docs/julia/waveguide.jl index aa4d9f5e..d7997279 100644 --- a/docs/julia/waveguide.jl +++ b/docs/julia/waveguide.jl @@ -81,7 +81,7 @@ epsilons = ["core" => 1.9963^2, "box" => 1.444^2, "clad" => 1.0^2] #dΩ = Measure(Ω, 1) τ = CellField(get_face_tag(labels, num_cell_dims(model)), Ω) -modes = calculate_modes(ε ∘ τ, λ = 1.55, num = 2, order = 1) +modes = calculate_modes(model, ε ∘ τ, λ = 1.55, num = 2, order = 1) println(n_eff(modes[1])) write_mode_to_vtk("mode", modes[1])