magpack.structures.domain_wall#
- domain_wall(nx, ny, neel=False, width=2)#
Creates a 2D magnetic domain wall.
- Parameters:
- nx, nyint
Size of the domain wall along the x and y directions.
- neelbool (optional)
Neel domain wall if True, Bloch domain wall if False.
- widthint
Width of the magnetic domain wall.
- Returns:
- np.ndarray
Magnetization vector field of the domain wall.