Next: 10. Conclusions Up: 9. Results and discussion Previous: 9.1 Bulk crystalline silicon   Contents

Subsections

# 9.2 Scaling

In this section we consider the scaling of the method, firstly with respect to the system-size, and secondly with respect to the localisation region radius and the density-kernel cut-off .

## 9.2.1 System-size scaling

As mentioned in chapter 7, there are several steps in the calculation which are not strictly , such as the calculation of the structure factor, the calculation of the ion-ion interaction energy (by Ewald's method [175,176,177,178]) and possibly the calculation of the energy correction. All of these operations need only be performed once for each ionic configuration, and so do not contribute significantly to the total computational effort. However, there are a number of FFTs within the method which require an effort which scales as . To verify that these operations do not spoil the linear-scaling of the rest of the method, we plot the CPU time required per iteration in figure 9.8 and see that it is indeed linear with respect to system-size as required.

## 9.2.2 Scaling with density-matrix cut-off

We now consider the scaling with respect to the density-matrix cut-off which in practice is defined by two parameters; the support region radius and the density-kernel cut-off . Two spherical support regions will overlap if the sum of their radii exceeds the distance between their centres. We assume that all support regions have the same radius , and thus the number of support regions which overlap a particular region equals the number of region centres lying within a sphere of radius . For bulk solids this number will be proportional to the volume of the sphere i.e. proportional to . Table 9.3 allows the precise number of overlaps to be determined for the case of atom-centred support regions in several common crystal structures. In the sparse overlap matrix, the number of non-zero elements in each row or column is therefore also proportional to . For sparse matrix multiplication, the computational effort scales quadratically with the number of non-zero elements per row (and linearly with the rank) so that we expect the method to scale with the sixth power of the support region radius i.e. . This is often referred to as quadratic scaling with respect to the support region size (i.e. volume).

Table 9.3: Table showing the number of atoms lying within support regions of varying radii centred on atoms for some common cubic crystal structures.
 Shell # atoms Radius Diamond FCC BCC Simple 1 4 2 12 3 8 4 12 5 6 6 12 7 24 8 16 9 12 10 24 11 24 12 12 13 24 14 8 15 24 16 48 17 36 18 6 19 12 20 36 21 28 22 24 23 24 24 36 25 24 26 24 27 24 28 36 29 72 30 36 31 32 32 24 33 48 34 24

The argument follows in precisely the same manner for the density-kernel cut-off, replacing by . In general, as observed in section 9.1.1, when the energy is converged with respect to both parameters, so that the overlap matrix and density-kernel will generally share similar sparse structure. In bulk crystals, we thus expect the computational effort to scale with the sixth power of the density-matrix cut-off i.e. .

In certain systems, however, this scaling may be different. For example, in long linear molecules e.g. hydrocarbon chains, which have an essentially one-dimensional structure, each support region will overlap a number of others which scales only linearly with the radius. In this case , and this suggests that these linear-scaling methods may be more suited to studying molecular rather than crystalline systems.

Next: 10. Conclusions Up: 9. Results and discussion Previous: 9.1 Bulk crystalline silicon   Contents
Peter Haynes