Up to this point the considerations we made about the properties
and the implementation of mid-point rule were rather independent
from the spatial discretization used. In the following, to test
the method we have chosen a specific technique based on
finite-differences method. The magnetic body is subdivided into a
collection of rectangular prisms with edges parallel to the
coordinate axes. The edge lengths are
. In this
framework, it is convenient to identify each cell by three
indices instead of using the index as we did before.
The magnetization
is assumed to be uniform within
the generic cell. With this notation, the effective
field in the generic cell can be expressed as
eff;i,j,kex;i,j,km;i,j,kan;i,j,ka;i,j,k
(4.57)
The exchange field (4.8) is computed by
means of a 7-point laplacian discretization, which is second order
accurate in space. In the generic ``internal'' cell , the
exchange field can be expressed as follows:
ex;i,j,k
(4.58)
A similar expression holds for the boundary cells where the
Neumann boundary condition (4.6) has to be
taken into account. Since the exchange interaction is a
first-neighbors interaction, one can easily observe that the
matrix
ex is a block-diagonal matrix.
As seen in section 3.1, the magnetostatic
field (4.9) can be expressed as
discrete convolution:
m;i,j,k
(4.59)
where
is the block of the
magnetostatic interaction matrix
m which describes
the magnetostatic interaction between the cells and
. The discrete convolution (4.59) is
computed by means of 3D Fast Fourier Transform (FFT) using the
zero-padding algorithm [64]. The kernel of the
convolution is obtained in exact analytical form by means of a
slight generalization of the one proposed in Ref. [93]
for cubic cells. As far as anisotropy is concerned, we assume that
the body has uniaxial anisotropy defined by the anisotropy
constant . Therefore, the anisotropy field is
an;i,j,k
(4.60)
and the matrix
an is a diagonal matrix.
Figure:
(Left) Thin-film
geometry for -mag standard problem n. 4. (Right) Initial
equilibrium S-state.