Next: Special Functions
Up: all
Previous: Bloch Functions
Subsections
The madelung energy
can be calculated as following:
 |
(81) |
where madelung matrix
is
![$\displaystyle M_{\mu\nu} = \sum_{R_{\mu T} \neq r_\nu} \frac{\erfc (\eta \vert ...
...t] - \frac{2 \eta}{\sqrt{\pi}} \delta_{\mu \nu} - \frac{\pi}{\eta^2 \Omega_c} .$](img130.png) |
(82) |
If the Ewald parameter
is chosen approprietely, the summations for
translation vectors
and reciprocal vectors
are converged rapidly.
The
has a dimension of
.
So, we also use a dimension less parameter
.
Let us discuss cut-off distances of the summations.
For large
, the summation in
first term may be approximated by the following integration:
 |
(83) |
where
 |
(84) |
On the other hand, the largest term in the summation may be evaluated as
 |
(85) |
Therefore, the cutoff S must be chosen so that the following condition is satisfied:
 |
(86) |
The above equation is simplified as
 |
(87) |
In the program, the cutoff length
is calculated by
the function madFindCutOff which returns dimension less cut-off length
.
/*
* return cutoff length for direct space summations.
* alpha = eta * (cell volume)^(1/3).
* ( in unit of cell volume = 1).
*/
double madFindCutoff(double alpha, double tol);
The cutoff length for reciprocal summation is estiamted in the same way.
 |
(88) |
The largest term in the summation may be evaluated as
![$\displaystyle \frac{4\pi}{\Omega_c}\frac{1}{g^2}\exp\left[-\frac{g^2}{4\eta} \right]$](img142.png) |
(89) |
where
 |
(90) |
Thefore cut-off Q must satisfy the following condition:
![$\displaystyle \mathrm{Residual}(Q) < \mathrm{tol} \cdot \frac{4\pi}{\Omega_c}\frac{1}{g^2}\exp\left[-\frac{g^2}{4\eta} \right] .$](img144.png) |
(91) |
The above equation is simplified as
![$\displaystyle \erfc (\frac{Q}{2\eta}) < \mathrm{tol} \cdot \frac{1}{2\sqrt{\pi}} \frac{1}{\alpha} \exp \left[ -\frac{\pi^2}{\alpha^2} \right]$](img145.png) |
(92) |
In the program, the cutoff length
is calculated by
the function madReciprocalFindCutOff which returns dimension less
cut-off length
.
/*
* return cutoff length for reciprocal space summations.
* alpha = eta * (cell volume)^(1/3).
* ( in unit of cell volume = 1 and factor 2pi omitted).
*/
double madFindReciprocalCutoff(double alpha, double tol);
For effeciency, the Ewald parameter
(or
) must be chosen
approprietely. From the analysis of previous subsection, number of terms in
the summations are
for the first term and
for the
second term. Therefore appropriate
is the one which minimize
. For
, we calculated the
numerically. The result is shown in Fig. [#!fig:madalpha!#]
Figure 1:
number of summation terms as a function of dimensionless
Ewald parameter
.
|
|
From this result, appropriate range of
is
.
Next: Special Functions
Up: all
Previous: Bloch Functions
ARAI Masao
2003-03-28