We recall that magnetostatic field is defined by the Maxwell
equations
(1.45)-(1.46):
(3.1)
with the following conditions at the body discontinuity surface
(3.2)
From the simple inspection of the above equations, two important
considerations can be drawn:
There is a functional relationship between magnetization
and magnetostatic field
, that is, the value of
at a spatial location
depends on the value of
magnetization vector field at every location
within
. This is a consequence of the nonlocal (long range)
character of magnetostatic maxwellian interactions. Each
elementary dipole in the body contributes to produce the
magnetostatic field at an assigned location within the body.
Quoting Aharoni, ``...In a numerical computation of unit
cells, the long range means the magnetostatic energy term includes
an interaction of every cell with all the other cells, thus
involving terms, whereas only terms are required for
computing the other energy terms. Therefore, computing the
magnetostatic energy takes almost all the computer time in a
typical micromagnetic computation. It is also the energy term with
the heaviest demand on the computer memory, which means that it
determines the limit of the size of the body that a computer can
handle...''.
The differential problem
(3.1)-(3.2)
is an open boundary problem, that is, even if one is interested in
the computation of magnetostatic field
at locations
, one has to solve
Eqs. (3.1)-(3.2)
in the whole space. This means that, in the framework of numerical
modeling, one should preform in principle the discretization of
the whole space, which is, of course, not feasible. For this
reason, numerical methods consistent with the continuum model have
to be used in numerical simulations.
In this respect, the methods based on truncation of the
interaction range of magnetostatic fields [61], mean-field
approximation for distant particles [62],
hierarchical dipole interaction evaluation schemes [63]
cause loss of accuracy and indeed don't save very much
computational time. In general, all the methods for the
computation of the demagnetizing field have a cost scaling
function that is something in between the minimum
and the maximum
.
In the sequel, we will analyze two different methods which are
commonly used for magnetostatic field computations respectively in
case of finite-differences and finite elements spatial
discretization [52].
Subsections