HelgeGehring / femwell

FEM mode solver for photonic waveguides
https://helgegehring.github.io/femwell/
GNU General Public License v3.0
104 stars 30 forks source link

Add magnetostatics #167

Closed simbilod closed 1 month ago

simbilod commented 2 months ago

First step to adding magnetostatics

There are some minor issues highlighted in the notebook

I might be doing the curl wrong, and the boundaries might be messing up the magnetic vector potential.

FEM: image

Analytical (cylindrical coordinates, mirrored about r-axis): image