next up previous contents
Next: Detailed description of options Up: Utility lev00 Previous: A note on calculating   Contents


A note on calculating volume integrals

In many cases (e.g. when calculating a projected DOS (LDOS), atomic charges or when analysing the density as to be described in later sections) real space integrals are calculated numerically. Two methods are implemented for those which are referred to as ``conserving'' and ``non-conserving'' algorithms:

If the size of the cell is large enough with respect to the region of integration, than both methods should give close results.

The conserving method is extremely demanding and scales linearly with the size of the system. The non-conserving method scales linearly with the size of its own grid. However, since this grid is limited to the size of the integration region, the time of the calculation does not depend on the size of the system at all, so that this method is extremely efficient.

In the conserving method the original grid is used with the directions along the cell basic vectors $\mathbf{a}_{i}$. That is why this method is inappropriate for calculations of the angular momenta projected DOS for non-simple-cubic cells or for the calculation of the dipole/quadrupole momenta of a molecule. On the contrary, the non-conserving method has its own grid which is always cubic (along the Cartesian axes) so that it has the atomic symmetry and is ideal for these calculations.


next up previous contents
Next: Detailed description of options Up: Utility lev00 Previous: A note on calculating   Contents
Lev Kantorovich 2006-05-08