discretisedfield.tools.demag_tensor#

discretisedfield.tools.demag_tensor(mesh)#

Fourier transform of the demag tensor.

Computes the demag tensor in Fourier space. Only the six different components Nxx, Nyy, Nzz, Nxy, Nxz, Nyz are returned.

The implementation is based on Albert et al. JMMM 387 (2015) https://doi.org/10.1016/j.jmmm.2015.03.081

Parameters:

mesh (discretisedfield.Mesh) – Mesh to compute the demag tensor on.

Returns:

Demag tensor in Fourier space.

Return type:

discretisedfield.Field