/*
	Test exchange with 3D grid.
*/

d := 100e-9                
N := 32                   
setgridsize(N, N, N/4)
setcellsize(d/N, d/N, d/N)

msat  = 800e3
aex   = 13e-12
alpha = 3
m     = vortex(1, 1)

relax()
expect("mz", m.comp(2).average(), 0.02785073, 1e-5)


