Eigenvalues/Eigenfunctions of an Operator

You need to define your weak form in DOLFINx as usual, then you need to assemble your matrices with PETSc, and then you can finally find the solutions of your problem with SLEPc (slepc4py).

For more information you can check these posts:

or this demo:

https://mikics.github.io/gsoc-jupyterbook/chapter3/demo_half_loaded_waveguide.html

2 Likes