facebookresearch / fmmax

Fourier modal method with Jax
MIT License
101 stars 11 forks source link

Add Magnetic current sources #42

Open smartalecH opened 1 year ago

smartalecH commented 1 year ago

Currently, the amplitudes_for_source() function allows the user to specify an arbitrary electric current-source distribution (e.g. $J_x$, $J_y$, $J_z$). It would be useful to also be able to specify accompanying magnetic current sources (e.g. $M_x$, $M_y$, $M_z$). This would enable injecting unidirectional profiles into a simulation (which requires a complete ansatz).