Skip to content

Commit

Permalink
adjust benchmark to still use slepc for first run
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeGehring committed Jun 17, 2023
1 parent c5fbaf2 commit 7b5e906
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/benchmarks/mode_solver_rectangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@
epsilon[basis0.get_dofs(elements=subdomain)] = e

modes = compute_modes(
basis0, epsilon, wavelength=1.5, num_modes=1, order=2, metallic_boundaries=boundaries
basis0,
epsilon,
wavelength=1.5,
num_modes=1,
order=2,
metallic_boundaries=boundaries,
solver="slepc",
)
neff_values_femwell_slepc.append(np.real(modes[0].n_eff))

Expand Down

0 comments on commit 7b5e906

Please sign in to comment.