Resta-like preconditioning for self-consistent field iterations in the linearized augmented planewave method
엔지니어링 플라스틱 · (23) 컴파운드
기본 정보
- 저자
- DOI
- 10.1088/2516-1075/aca24a
- 저널
- Electronic Structure
- 발행년도
- 2022
- 발행기관
- IOP Publishing
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1088/2516-1075/aca24a
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4308919812
평가 내용
- 관련도
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '엔지니어링 플라스틱 > 컴파운드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 39,771자
본문 펼치기
섹션 본문 77문단 · 37,646자
(제목 없음)
1Convergence in self-consistent-field cycles can be a major computational bottleneck of densityfunctional theory calculations. We propose a Resta-like preconditioning method for full-potential all-electron calculations in the linearized augmented planewave (LAPW) method to smoothly converge to self-consistency. We implemented this preconditioner in the exciting code and apply it to the two semiconducting systems of MoS2 slabs and P-rich GaP(100) surfaces as well as the metallic system Au(111), containing a sufficiently large amount of vacuum. Our calculations demonstrate that the implemented scheme performs reliably as well as more efficiently regardless of system size, suppressing long-range charge sloshing. While the suitability of this preconditioning higher for semiconducting systems, the convergence for metals is only slightly decreased and thus still trustworthy to apply. Furthermore, a mixing algorithm with the preconditioner shows an improvement over that with the Kerker preconditioner for the investigated semiconducting systems.
INTRODUCTION
2Kohn-Sham density-functional theory (DFT) has become one of the standard ab initio approaches to predict electronic properties of materials [1,2]. A major challenge in determining the ground-state charge density arises from the nonlinearity of the Kohn-Sham equations. This obstacle can be solved by considering a fixed-point iteration technique, also referred to as the self-consistentfield (SCF) iteration. During the SCF cycle, the Kohn-Sham potential, v in KS , is calculated using a given charge density ρ in subsequently one can solve the Kohn-Sham equations. From this, a new density ρ out is generated, serving as the input for the next SCF iteration. This iterative way is terminated when self-consistency to a given convergence threshold is achieved.
3A tactical approach for efficient SCF convergence is mixing ρ in i and ρ out i of previous steps to construct a new density ρ in i+1 in the next step. In the last decades, various mixing methods and their variations have been reported for electronic-structure theory [3][4][5][6][7][8][9][10][11][12][13][14][15][16], and they have proven to be successful in many systems. However, one often faces poor convergence -and hence large computational costs -due to fundamental challenges. A common problem is the charge sloshing instability that induces oscillations of the charge density during the SCF iteration [17][18][19][20][21][22][23][24][25][26][27]. This issue occurs when a unit cell becomes large, and it is generally more pronounced in metallic systems. One of the major sources of the charge sloshing is an element of G −2 in the Hartree potential at long-wavelengths.
4Different methods exist to overcome this shortcoming [8,9,[18][19][20][21][28][29][30][31][32]. Among them, the Kerker preconditioner improves the convergence to alleviate the charge sloshing [19]. This preconditioner is known that it is suit-able for metallic systems. However, the question arises to what extent the preconditioner is applicable in the case of insulating or semiconducting, or inhomogeneous systems. References 32 and 33 have reported that the Kerker preconditioner does not ensure the convergence for those systems because this preconditioner cannot properly describe their long-range screening [25]. An alternative preconditioner to render the self-consistency procedure efficient for such systems is the Resta preconditioner [34]. In practice, both preconditioners are computationally less demanding compared to other methods for large unit cells. They were originally devised for planewave based methods. Recent theoretical studies have shown a formulation of the Kerker preconditioner as well as its implementation in full-potential (FP) calculations with the linearized augmented planewave (LAPW) basis set [26,27]. The Resta preconditioner, however, is not yet reformulated to implement in the FP-LAPW method.
5In this paper, we develop a Resta-like preconditioning scheme to be applicable in the FP-LAPW method for stable and rapid SCF convergence. The Resta-like preconditioner is implemented in exciting code [35]. We examine the performance of our Resta scheme and compare it with another preconditioner using examples of insulator and semiconducting systems: MoS 2 slabs and P-rich, p(2 × 2) GaP(100) surfaces. We find that the implemented preconditioner improves robustness and accelerates overall convergence of the self-consistency iterations, which would extend the range of systems accessible to FP-LAPW with a given computational power.
PRECONDITIONERS: KERKER AND RESTA
6The simplest mixing approach is to linearly mix the previous input and output charge density. In this case, a arXiv:2205.11209v1 [cond-mat.mtrl-sci] 23 May 2022 new guess at (i+1)th iteration, ρ in i+1 , is defined as
7where α is a damping parameter and appropriate values lie in the range between zero and one [36]. α generally relies on the considered material, for instance, a small value of α is suitable for metallic systems [37]. Using this simple method, SCF convergence can already be improved in some cases. However, in many structures, particularly metallic, large-scale, and inhomogeneous ones, poor convergence or even divergence is observed, even if one uses the optimal α. In practice, strong fluctuations in ρ out i caused by a small change of ρ in i prevent the convergence during the self-consistency iteration. This phenomenon is well-known as charge sloshing [17][18][19][20][21][22][23][24][25][26][27], which is more severe in metals with large supercells. To avoid this problem, one can add an effective preconditioner in Eq. 1 in the following manner:
8with P being the preconditioner. A number of preconditioners have been proposed to suppress the charge sloshing and to improve the SCF convergence [9,18,19,[29][30][31][32]34]. In this paper, we focus on two types of preconditioner: Kerker and Resta preconditioners [19,34]. Such preconditioners can be simply applied to common mixing schemes as multipliers and are computationally cheaper.
9The Kerker preconditioner is typically used to capture the long-range screening behavior, causing a stable performance of the self-consistency procedure, especially for metallic systems with large unit cells. This preconditioner has been developed on base of the Thomas-Fermi screening model, and it reads
10where λ is a parameter that controls the screening at long wavelengths. For instance, P(G) Kerker corresponds to one when λ is zero. On the other hand, the value of P(G) Kerker is prone to reduce with increasing λ at short wavevectors G. The Thomas-Fermi screening wave vector k TF has been proposed as this parameter [25], and it can be written by
11with N (ε F ) being the density of states at the Fermi energy ε F . As discussed above, the ideal systems for the Kerker preconditioner are commonly metals, which can be treated in the picture of a homogeneous electron gas [25,32]. Unfortunately, the use of such a preconditioner does not guarantee achieving smooth convergence for insulators or semiconductors, or inhomogeneous systems like surfaces [32,33] as it does not capture properly the incomplete screening in those systems. Thus, one considers the Resta preconditioner, which can be used for those systems. The Resta preconditioner is given by
12where β, κ and γ are parameters. According to previous studies [25,38,39], those parameters are related to the screening length, Fermi-momentum-related quantity, and static dielectric constant, respectively. As suggested by Resta [34], one can obtain the static dielectric constant using other parameters as follows:
13Here, κ can be expressed as
14where k F is the valence electron Fermi momentum, and is defined as
15with n 0 being the valence electron density. Finally, we estimate β as the lattice constant of a system. Since those parameters are already determined for the specific system, no further adjustment to choose their optimal values is required.
16In the Kerker and Resta preconditoner cases, it is straightforward and efficient to implement them in planewave-based methods, since they are initially devised in reciprocal space, but that is not straightforward for other methods like the FP-LAPW method. To implement these preconditioners in the FP-LAPW scheme, we firstly discuss the expression of the charge density. Here, the space of a unit cell consists of an interstitial region, I, as well as atomic spheres around the centers of atoms, which are called muffin-tin spheres. The muffintin part of the charge density is expanded in terms of spherical harmonics, while the density is represented by planewaves in the interstitial part:
17To make such preconditioners compatible with the FP-LAPW method, we need to transform them into the real space representation. For this reason, we can rewrite Eqs. 3 and 5 as P(r) Kerker
18and
19respectively. It should be noted that we approximate
20in Eq. 5 via a Taylor expansion, and this is truncated before the quadratic term. A further challenge that makes the proconditioner in Eqs. 10 and 11 difficult to develop is how to apply the operator, (∇ 2 − λ 2 (or κ 2 )) −1 , directly for the FP-LAPW case. Alternatively, we consider the screened Coulomb potential V (r) that is the solution of the screened Poisson equation:
21The input density ρ(r) in Eq. 12 can be expressed it in terms of the residual obtained from a mixing approach,
22We can solve Eq. 12 by employing Weinert's pseudocharge method [40]. According to this method, a smooth charge densitỹ ρ α (r) is used instead of the input charge density in muffin-tin spheres, therefore, the modified charge density can be expressed as
23where the first term of the right-hand side is the density in the interstitial region. Equation 13 then allows to perform a Fourier transformation. Now, one can calculate the screened potential in the interstitial region:
24The Fourier component ofρ(r) is analytically defined as
25with j l and i l being the spherical Bessel functions and modified spherical Bessel functions of the first kind. We, in turn, determine the potential inside muffin-tin spheres by solving the Dirichlet boundary-value problem, and it reads
26Here, G(r) is a Green-function that is given as
27where k l denote the modified spherical Bessel functions of the second kind. Detailed derivations of the pseudocharge method for the screened Poisson equation are provided in Refs. 27, 41, and 42.
PULAY MIXING
28In general, Pulay mixing [5,6], which is called direct inversion in the iterative subspace (DIIS), performs better than linear mixing. The main difference between Pulay and linear mixings is that an iterative history of the input densities ρ in i (r) and residuals R in i (r), which are the difference between ρ out i (r) and ρ in i (r), is stored for the former scheme, determining optimum densities and residuals:
29Minimizing the norm of the residual is required for the optimum residual. To do so, weights ω i in Eq. 18 satisfy the constraint as
30These weights can be obtained by solving a system of linear equations [17]:
31with λ being a Lagrange multiplier. With a preconditioner P, the new input density for the next iteration in the Pulay mixing is updated as follows:
32where α is the same parameter discussed for the linear mixing case. In this work, we also consider Kerker and Resta-like preconditioners for this mixing. It should be noted that one can exploit the same approach of the pseudo-charge method explained in Sec. when these preconditioners are involved in the second term of the righthand side of Eq. 21.
COMPUTATIONAL DETAILS
33As test cases, the two systems of MoS 2 slabs and Prich, p(2 × 2) GaP(100) surfaces are considered. We depict both structures in Fig 1. In particular, we model 10 layers (30 atoms) and 20 layers (60 atoms) for the former, which has an AB stacking pattern, and 15 layers (64 atoms) and 19 layers (80 atoms) for the latter. In the latter structures, a surface reconstruction is formed, containing buckled P-P dimers on top, together with one hydrogen atom per dimer. For the sake of comparison, we also consider the Au(111) surface (with 15 layers) as generic example for a metallic system. Such structures are constructed with lattice constants of 3.19 Å, 5.45 Å, and 4.19 Å for the MoS 2 , GaP(100), and Au(111), respectively. As mentioned before, an elongated unit cell tends to exhibit slow SCF convergence due to the charge sloshing. We therefore set around 30 Å of vacuum along the perpendicular direction that also prevents spurious interactions between neighboring replica for both systems.
34The aforementioned methods in Secs. and are implemented in the full-potential all-electron densityfunctional theory (DFT) code exciting. All calculations are performed using this code. We employ the muffin-tin radii R M T of 2.4, 2.1, 1.7, 1.5, 0.9, 1.9 bohr for Mo, S, Ga, P, H, and Au atoms, respectively. For the exchangecorrelation functional, we adopt the generalized gradient approximation in the Perdew-Burke-Ernzerhof (PBE) parametrization [43]. A basis-cutoff of R M T G max = 6. GaP(100), and Au(111) surfaces. We assume that calculations are converged when the root mean squared (RMS) change of residual matrices is smaller than 10 −6 e/bohr 1.5 between two consecutive iterations. The RMS is defined as
35where Ω denotes the unit cell volume. In our investigated systems, the mixing parameter α is set to 0.4, and we fix a history length of densities as well as residuals obtained from previous steps to 15 for the case of Pulay mixing (m = 15). We set λ = 0.529 bohr −1 of the Kerker preconditioner for the MoS 2 and GaP(100) systems. In the case of Au(111), Eq. 4 is used for the determination of λ.
RESULTS AND DISCUSSION
36To verify the efficiency of our implemented methods, we first start with 10 layers of MoS 2 slab. In this case, we use linear mixing and the corresponding mixings that include Kerker and Resta-like preconditioners (termed Kerker mixing and Resta mixing, respectively). Figure 2 exhibits the convergence behavior of the SCF iteration in terms of RMS change of residuals between two consecutive steps, ∆RMS. We find that the performance is highly sensitive to the type of preconditioner in this structure. It is clear that standard linear mixing (no preconditioner) does not reach the target threshold within 100 iterations. This scheme shows that the RMS fluctuation remains mainly around 10 −1 e/bohr 1.5 . On the contrary, its performance is improved by employing preconditioners. Both preconitioners show smoothly varying lines as shown in Fig. 2. The Kerker mixing, however, does not achieve the self-consistency during the first 100 steps. This mixing decays ∆RMS well until 35 steps, but it remains almost unchanged after that. Compared to other two methods, the Resta mixing converges to the target precision in 40 steps. Unfortunately, convergence is rather too slow to be practical. To further improve the efficiency, the Pulay mixing method with preconditioners is required. We observe that the slow convergence issue is tackled by Pulay-based approaches. This is displayed in the top panel of Fig. 3. Like for our previous results, computed by linear, Kerker, and Resta mixing methods (see Fig. 2), we compare the convergence of ∆RMS for three different cases, i.e., the Pulay without and with Kerker and Restalike preconditioners. In contrast to linear and Kerker mixings, those three approaches achieve the convergence within 50 steps. The Pulay approach with the Restalike preconditioner outperforms the other methods. This method converges in only 15 steps, and it is faster by at least 50 % than the standard Pulay (no preconditioner), but also faster than with the Kerker preconditioner.
37To analyze the dependence of system size on the SCF convergence, we increase the number of layers to 20. The RMS convergence behavior is depicted in the bottom panel of Fig. 3. Compared to the 10 layers case, the behavior of the Pulay mixing without any preconditioner is significantly changed, showing no convergence. This is attributed to the further elongated unit cell that causes the above-mentioned charge sloshing. Interestingly, the Pulay mixing methods with both preconditioners are insensitive to the system size. For instance, the required number of steps for the 20 layers case to reach the tar- get precision is 14 in the Resta-like preconditioning approach, which is only one step less than in the case of 10 layers MoS 2 . For the Kerker one, the difference of the convergence steps between both structures is three. This implies that the long-wavelength instability is magnificently suppressed. Overall, the Pulay with the Resta-like preconditioner is the most effective and efficient among discussed methods for our insulating system. Next, we choose P-rich, p(2 × 2) GaP(100) surfaces consisting of 15 and 19 layers as the second benchmark system with a classical surface reconstruction. In Fig. 4, for both structures, we present the RMS convergence using different methods, i.e., the Pulay without and with Kerker and Resta-like preconditioners during the selfconsistency cycle. Note that our results exhibit a similar tendency compared to those for the MoS 2 slabs. The conventional Pulay mixing has a dependence on the size of the system, while others are independent of it. We demonstrate that Pulay mixings with both preconditioner are practical since they converge in 15-30 steps, almost irrespective of the number of layers. The Pulay mixing combined with the Resta preconditioner is indeed superior to that with the Kerker one, saving around 30 % of the number of iterations. This indicates that such a scheme can capture the incomplete screening feature well in these surfaces. We conclude that the Resta-like preconditioner is more appropriate for use with insulators or semiconductors with large unit cells.
38In cases, the Pulay mixings with Kerker and Resta-like preconditioners exhibit robust convergence. On the other hand, unlike our previous calculations, the Kerker case is slightly faster than the Resta-like one. The difference of their steps is 4, corresponding to 15 % more steps until convergence is reached. This is not surprising because the Resta model has been originally designed to describe screening in semiconductors. In principle, the static dielectric constant of metals is ideally infinite, yet our calculation yields a finite value that leads to deteriorating the performance. Despite the slightly slower convergence compared to Kerker, the Resta-like preconditioner is also applicable to metallic systems with a moderately slower convergence.
SUMMARY AND CONCLUSIONS
39In this work, we have established a formulation of the Resta-like preconditioner that can be directly applied in the FP-LAPW method, and evaluated its performance for insulating and semiconducting systems. This algorithm has been implemented in the all-electron fullpotential code exciting. We have demonstrated that using this preconditioner in mixing methods leads to a more stable and faster SCF convergence than without preconditioner or with the Kerker preconditioner, and which is not sensitive to the system size. The performance improvement for insulating and semiconducting systems is significant, while the performance loss for metallic systems is only moderate. The increased robustness and efficiency extend the range of systems accessible in the FP-LAPW method, especially for materials of semiconducting or insulating nature as well as inhomomgeneous systems.
INTRODUCTION
40Kohn-Sham density-functional theory (DFT) has become one of the standard ab initio approaches to predict electronic properties of materials [1,2]. A major challenge in determining the ground-state charge density arises from the nonlinearity of the Kohn-Sham equations. This obstacle can be solved by considering a fixed-point iteration technique, also referred to as the self-consistentfield (SCF) iteration. During the SCF cycle, the Kohn-Sham potential, v in KS , is calculated using a given charge density ρ in subsequently one can solve the Kohn-Sham equations. From this, a new density ρ out is generated, serving as the input for the next SCF iteration. This iterative way is terminated when self-consistency to a given convergence threshold is achieved.
41A tactical approach for efficient SCF convergence is mixing ρ in i and ρ out i of previous steps to construct a new density ρ in i+1 in the next step. In the last decades, various mixing methods and their variations have been reported for electronic-structure theory [3][4][5][6][7][8][9][10][11][12][13][14][15][16], and they have proven to be successful in many systems. However, one often faces poor convergence -and hence large computational costs -due to fundamental challenges. A common problem is the charge sloshing instability that induces oscillations of the charge density during the SCF iteration [17][18][19][20][21][22][23][24][25][26][27]. This issue occurs when a unit cell becomes large, and it is generally more pronounced in metallic systems. One of the major sources of the charge sloshing is an element of G −2 in the Hartree potential at long-wavelengths.
42Different methods exist to overcome this shortcoming [8,9,[18][19][20][21][28][29][30][31][32]. Among them, the Kerker preconditioner improves the convergence to alleviate the charge sloshing [19]. This preconditioner is known that it is suit-able for metallic systems. However, the question arises to what extent the preconditioner is applicable in the case of insulating or semiconducting, or inhomogeneous systems. References 32 and 33 have reported that the Kerker preconditioner does not ensure the convergence for those systems because this preconditioner cannot properly describe their long-range screening [25]. An alternative preconditioner to render the self-consistency procedure efficient for such systems is the Resta preconditioner [34]. In practice, both preconditioners are computationally less demanding compared to other methods for large unit cells. They were originally devised for planewave based methods. Recent theoretical studies have shown a formulation of the Kerker preconditioner as well as its implementation in full-potential (FP) calculations with the linearized augmented planewave (LAPW) basis set [26,27]. The Resta preconditioner, however, is not yet reformulated to implement in the FP-LAPW method.
43In this paper, we develop a Resta-like preconditioning scheme to be applicable in the FP-LAPW method for stable and rapid SCF convergence. The Resta-like preconditioner is implemented in exciting code [35]. We examine the performance of our Resta scheme and compare it with another preconditioner using examples of insulator and semiconducting systems: MoS 2 slabs and P-rich, p(2 × 2) GaP(100) surfaces. We find that the implemented preconditioner improves robustness and accelerates overall convergence of the self-consistency iterations, which would extend the range of systems accessible to FP-LAPW with a given computational power.
PRECONDITIONERS: KERKER AND RESTA
44The simplest mixing approach is to linearly mix the previous input and output charge density. In this case, a arXiv:2205.11209v1 [cond-mat.mtrl-sci] 23 May 2022 new guess at (i+1)th iteration, ρ in i+1 , is defined as
45where α is a damping parameter and appropriate values lie in the range between zero and one [36]. α generally relies on the considered material, for instance, a small value of α is suitable for metallic systems [37]. Using this simple method, SCF convergence can already be improved in some cases. However, in many structures, particularly metallic, large-scale, and inhomogeneous ones, poor convergence or even divergence is observed, even if one uses the optimal α. In practice, strong fluctuations in ρ out i caused by a small change of ρ in i prevent the convergence during the self-consistency iteration. This phenomenon is well-known as charge sloshing [17][18][19][20][21][22][23][24][25][26][27], which is more severe in metals with large supercells. To avoid this problem, one can add an effective preconditioner in Eq. 1 in the following manner:
46with P being the preconditioner. A number of preconditioners have been proposed to suppress the charge sloshing and to improve the SCF convergence [9,18,19,[29][30][31][32]34]. In this paper, we focus on two types of preconditioner: Kerker and Resta preconditioners [19,34]. Such preconditioners can be simply applied to common mixing schemes as multipliers and are computationally cheaper.
47The Kerker preconditioner is typically used to capture the long-range screening behavior, causing a stable performance of the self-consistency procedure, especially for metallic systems with large unit cells. This preconditioner has been developed on base of the Thomas-Fermi screening model, and it reads
48where λ is a parameter that controls the screening at long wavelengths. For instance, P(G) Kerker corresponds to one when λ is zero. On the other hand, the value of P(G) Kerker is prone to reduce with increasing λ at short wavevectors G. The Thomas-Fermi screening wave vector k TF has been proposed as this parameter [25], and it can be written by
49with N (ε F ) being the density of states at the Fermi energy ε F . As discussed above, the ideal systems for the Kerker preconditioner are commonly metals, which can be treated in the picture of a homogeneous electron gas [25,32]. Unfortunately, the use of such a preconditioner does not guarantee achieving smooth convergence for insulators or semiconductors, or inhomogeneous systems like surfaces [32,33] as it does not capture properly the incomplete screening in those systems. Thus, one considers the Resta preconditioner, which can be used for those systems. The Resta preconditioner is given by
50where β, κ and γ are parameters. According to previous studies [25,38,39], those parameters are related to the screening length, Fermi-momentum-related quantity, and static dielectric constant, respectively. As suggested by Resta [34], one can obtain the static dielectric constant using other parameters as follows:
51Here, κ can be expressed as
52where k F is the valence electron Fermi momentum, and is defined as
53with n 0 being the valence electron density. Finally, we estimate β as the lattice constant of a system. Since those parameters are already determined for the specific system, no further adjustment to choose their optimal values is required.
54In the Kerker and Resta preconditoner cases, it is straightforward and efficient to implement them in planewave-based methods, since they are initially devised in reciprocal space, but that is not straightforward for other methods like the FP-LAPW method. To implement these preconditioners in the FP-LAPW scheme, we firstly discuss the expression of the charge density. Here, the space of a unit cell consists of an interstitial region, I, as well as atomic spheres around the centers of atoms, which are called muffin-tin spheres. The muffintin part of the charge density is expanded in terms of spherical harmonics, while the density is represented by planewaves in the interstitial part:
55To make such preconditioners compatible with the FP-LAPW method, we need to transform them into the real space representation. For this reason, we can rewrite Eqs. 3 and 5 as P(r) Kerker
56and
57respectively. It should be noted that we approximate
58in Eq. 5 via a Taylor expansion, and this is truncated before the quadratic term. A further challenge that makes the proconditioner in Eqs. 10 and 11 difficult to develop is how to apply the operator, (∇ 2 − λ 2 (or κ 2 )) −1 , directly for the FP-LAPW case. Alternatively, we consider the screened Coulomb potential V (r) that is the solution of the screened Poisson equation:
59The input density ρ(r) in Eq. 12 can be expressed it in terms of the residual obtained from a mixing approach,
60We can solve Eq. 12 by employing Weinert's pseudocharge method [40]. According to this method, a smooth charge densitỹ ρ α (r) is used instead of the input charge density in muffin-tin spheres, therefore, the modified charge density can be expressed as
61where the first term of the right-hand side is the density in the interstitial region. Equation 13 then allows to perform a Fourier transformation. Now, one can calculate the screened potential in the interstitial region:
62The Fourier component ofρ(r) is analytically defined as
63with j l and i l being the spherical Bessel functions and modified spherical Bessel functions of the first kind. We, in turn, determine the potential inside muffin-tin spheres by solving the Dirichlet boundary-value problem, and it reads
64Here, G(r) is a Green-function that is given as
65where k l denote the modified spherical Bessel functions of the second kind. Detailed derivations of the pseudocharge method for the screened Poisson equation are provided in Refs. 27, 41, and 42.
PULAY MIXING
66In general, Pulay mixing [5,6], which is called direct inversion in the iterative subspace (DIIS), performs better than linear mixing. The main difference between Pulay and linear mixings is that an iterative history of the input densities ρ in i (r) and residuals R in i (r), which are the difference between ρ out i (r) and ρ in i (r), is stored for the former scheme, determining optimum densities and residuals:
67Minimizing the norm of the residual is required for the optimum residual. To do so, weights ω i in Eq. 18 satisfy the constraint as
68These weights can be obtained by solving a system of linear equations [17]:
69with λ being a Lagrange multiplier. With a preconditioner P, the new input density for the next iteration in the Pulay mixing is updated as follows:
70where α is the same parameter discussed for the linear mixing case. In this work, we also consider Kerker and Resta-like preconditioners for this mixing. It should be noted that one can exploit the same approach of the pseudo-charge method explained in Sec. when these preconditioners are involved in the second term of the righthand side of Eq. 21.
COMPUTATIONAL DETAILS
71As test cases, the two systems of MoS 2 slabs and Prich, p(2 × 2) GaP(100) surfaces are considered. We depict both structures in Fig 1. In particular, we model 10 layers (30 atoms) and 20 layers (60 atoms) for the former, which has an AB stacking pattern, and 15 layers (64 atoms) and 19 layers (80 atoms) for the latter. In the latter structures, a surface reconstruction is formed, containing buckled P-P dimers on top, together with one hydrogen atom per dimer. For the sake of comparison, we also consider the Au(111) surface (with 15 layers) as generic example for a metallic system. Such structures are constructed with lattice constants of 3.19 Å, 5.45 Å, and 4.19 Å for the MoS 2 , GaP(100), and Au(111), respectively. As mentioned before, an elongated unit cell tends to exhibit slow SCF convergence due to the charge sloshing. We therefore set around 30 Å of vacuum along the perpendicular direction that also prevents spurious interactions between neighboring replica for both systems.
72The aforementioned methods in Secs. and are implemented in the full-potential all-electron densityfunctional theory (DFT) code exciting. All calculations are performed using this code. We employ the muffin-tin radii R M T of 2.4, 2.1, 1.7, 1.5, 0.9, 1.9 bohr for Mo, S, Ga, P, H, and Au atoms, respectively. For the exchangecorrelation functional, we adopt the generalized gradient approximation in the Perdew-Burke-Ernzerhof (PBE) parametrization [43]. A basis-cutoff of R M T G max = 6. GaP(100), and Au(111) surfaces. We assume that calculations are converged when the root mean squared (RMS) change of residual matrices is smaller than 10 −6 e/bohr 1.5 between two consecutive iterations. The RMS is defined as
73where Ω denotes the unit cell volume. In our investigated systems, the mixing parameter α is set to 0.4, and we fix a history length of densities as well as residuals obtained from previous steps to 15 for the case of Pulay mixing (m = 15). We set λ = 0.529 bohr −1 of the Kerker preconditioner for the MoS 2 and GaP(100) systems. In the case of Au(111), Eq. 4 is used for the determination of λ.
RESULTS AND DISCUSSION
74To verify the efficiency of our implemented methods, we first start with 10 layers of MoS 2 slab. In this case, we use linear mixing and the corresponding mixings that include Kerker and Resta-like preconditioners (termed Kerker mixing and Resta mixing, respectively). Figure 2 exhibits the convergence behavior of the SCF iteration in terms of RMS change of residuals between two consecutive steps, ∆RMS. We find that the performance is highly sensitive to the type of preconditioner in this structure. It is clear that standard linear mixing (no preconditioner) does not reach the target threshold within 100 iterations. This scheme shows that the RMS fluctuation remains mainly around 10 −1 e/bohr 1.5 . On the contrary, its performance is improved by employing preconditioners. Both preconitioners show smoothly varying lines as shown in Fig. 2. The Kerker mixing, however, does not achieve the self-consistency during the first 100 steps. This mixing decays ∆RMS well until 35 steps, but it remains almost unchanged after that. Compared to other two methods, the Resta mixing converges to the target precision in 40 steps. Unfortunately, convergence is rather too slow to be practical. To further improve the efficiency, the Pulay mixing method with preconditioners is required. We observe that the slow convergence issue is tackled by Pulay-based approaches. This is displayed in the top panel of Fig. 3. Like for our previous results, computed by linear, Kerker, and Resta mixing methods (see Fig. 2), we compare the convergence of ∆RMS for three different cases, i.e., the Pulay without and with Kerker and Restalike preconditioners. In contrast to linear and Kerker mixings, those three approaches achieve the convergence within 50 steps. The Pulay approach with the Restalike preconditioner outperforms the other methods. This method converges in only 15 steps, and it is faster by at least 50 % than the standard Pulay (no preconditioner), but also faster than with the Kerker preconditioner.
75To analyze the dependence of system size on the SCF convergence, we increase the number of layers to 20. The RMS convergence behavior is depicted in the bottom panel of Fig. 3. Compared to the 10 layers case, the behavior of the Pulay mixing without any preconditioner is significantly changed, showing no convergence. This is attributed to the further elongated unit cell that causes the above-mentioned charge sloshing. Interestingly, the Pulay mixing methods with both preconditioners are insensitive to the system size. For instance, the required number of steps for the 20 layers case to reach the tar- get precision is 14 in the Resta-like preconditioning approach, which is only one step less than in the case of 10 layers MoS 2 . For the Kerker one, the difference of the convergence steps between both structures is three. This implies that the long-wavelength instability is magnificently suppressed. Overall, the Pulay with the Resta-like preconditioner is the most effective and efficient among discussed methods for our insulating system. Next, we choose P-rich, p(2 × 2) GaP(100) surfaces consisting of 15 and 19 layers as the second benchmark system with a classical surface reconstruction. In Fig. 4, for both structures, we present the RMS convergence using different methods, i.e., the Pulay without and with Kerker and Resta-like preconditioners during the selfconsistency cycle. Note that our results exhibit a similar tendency compared to those for the MoS 2 slabs. The conventional Pulay mixing has a dependence on the size of the system, while others are independent of it. We demonstrate that Pulay mixings with both preconditioner are practical since they converge in 15-30 steps, almost irrespective of the number of layers. The Pulay mixing combined with the Resta preconditioner is indeed superior to that with the Kerker one, saving around 30 % of the number of iterations. This indicates that such a scheme can capture the incomplete screening feature well in these surfaces. We conclude that the Resta-like preconditioner is more appropriate for use with insulators or semiconductors with large unit cells.
76In cases, the Pulay mixings with Kerker and Resta-like preconditioners exhibit robust convergence. On the other hand, unlike our previous calculations, the Kerker case is slightly faster than the Resta-like one. The difference of their steps is 4, corresponding to 15 % more steps until convergence is reached. This is not surprising because the Resta model has been originally designed to describe screening in semiconductors. In principle, the static dielectric constant of metals is ideally infinite, yet our calculation yields a finite value that leads to deteriorating the performance. Despite the slightly slower convergence compared to Kerker, the Resta-like preconditioner is also applicable to metallic systems with a moderately slower convergence.
SUMMARY AND CONCLUSIONS
77In this work, we have established a formulation of the Resta-like preconditioner that can be directly applied in the FP-LAPW method, and evaluated its performance for insulating and semiconducting systems. This algorithm has been implemented in the all-electron fullpotential code exciting. We have demonstrated that using this preconditioner in mixing methods leads to a more stable and faster SCF convergence than without preconditioner or with the Kerker preconditioner, and which is not sensitive to the system size. The performance improvement for insulating and semiconducting systems is significant, while the performance loss for metallic systems is only moderate. The increased robustness and efficiency extend the range of systems accessible in the FP-LAPW method, especially for materials of semiconducting or insulating nature as well as inhomomgeneous systems.
참고문헌 46건
- Restarted Pulay mixing for efficient and robust acceleration of fixed-point iterations Chemical Physics Letters · Elsevier BV · 2015 10.1016/j.cplett.2015.06.029
- Improved <scp>SCF</scp> convergence acceleration Journal of Computational Chemistry · Wiley · 1982 10.1002/jcc.540030413
- An efficient and robust technique for achieving self consistency in electronic structure calculations Chemical Physics Letters · Elsevier BV · 2000 10.1016/s0009-2614(00)00750-8
- Total energies of diamond (111) surface reconstructions by a linear combination of atomic orbitals method Physical review. B, Condensed matter · American Physical Society · 1984 10.1103/physrevb.30.6118
- Efficient iteration scheme for self-consistent pseudopotential calculations Physical review. B, Condensed matter · American Physical Society · 1981 10.1103/physrevb.23.3082
- A class of methods for solving nonlinear simultaneous equations Mathematics of Computation · American Mathematical Society · 1965 10.1090/s0025-5718-1965-0198670-6
- A rapidly converging algorithm for solving the Kohn—Sham and related equations in electronic structure theory Computer Physics Communications · Elsevier BV · 1999 10.1016/s0010-4655(98)00202-1
- Towards a potential-based conjugate gradient algorithm for order-<i>N</i>self-consistent total energy calculations Physical review. B, Condensed matter · American Physical Society · 1996 10.1103/physrevb.54.4383
- Generalized Gradient Approximation Made Simple Physical Review Letters · American Physical Society · 1996 10.1103/physrevlett.77.3865
- Robust mixing for<i>ab initio</i>quantum mechanical calculations Physical Review B · American Physical Society · 2008 10.1103/physrevb.78.075114
- Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set Computational Materials Science · Elsevier BV · 1996 10.1016/0927-0256(96)00008-0
- Convergence acceleration of iterative sequences. the case of scf iteration Chemical Physics Letters · Elsevier BV · 1980 10.1016/0009-2614(80)80396-4
- Thomas-Fermi dielectric screening in semiconductors Physical review. B, Solid state · American Physical Society · 1977 10.1103/physrevb.16.2717
- Inhomogeneous Electron Gas Physical Review · American Institute of Physics · 1964 10.1103/physrev.136.b864
- Implementation of screened hybrid functionals based on the Yukawa potential within the LAPW basis set Physical Review B · American Physical Society · 2011 10.1103/physrevb.83.235118
- Dielectric matrix scheme for fast convergence in self-consistent electronic-structure calculations Physical review. B, Condensed matter · American Physical Society · 1982 10.1103/physrevb.25.4260
- Solution of Poisson’s equation: Beyond Ewald-type methods Journal of Mathematical Physics · American Institute of Physics · 1981 10.1063/1.524800
- Efficiency of algorithms for Kohn-Sham density functional theory Computational Materials Science · Elsevier BV · 1995 10.1016/0927-0256(94)00013-3
- Real-space Kerker method for self-consistent calculation using non-orthogonal basis functions Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2008 10.1088/0965-0393/16/3/035004
- Broyden's method in nuclear structure calculations Physical Review C · American Institute of Physics · 2008 10.1103/physrevc.78.014318
- exciting: a full-potential all-electron package implementing density-functional theory and many-body perturbation theory Journal of Physics Condensed Matter · IOP Publishing · 2014 10.1088/0953-8984/26/36/363202
- Thomas-Fermi charge mixing for obtaining self-consistency in density functional calculations Physical review. B, Condensed matter · American Physical Society · 2001 10.1103/physrevb.64.121101
- Modified Broyden’s method for accelerating convergence in self-consistent calculations Physical review. B, Condensed matter · American Physical Society · 1988 10.1103/physrevb.38.12807
- Efficient iterative schemes for<i>ab initio</i>total-energy calculations using a plane-wave basis set Physical review. B, Condensed matter · American Physical Society · 1996 10.1103/physrevb.54.11169
- The Electrical Resistance of Dilute Solid Solutions Mathematical Proceedings of the Cambridge Philosophical Society · Cambridge University Press · 1936 10.1017/s0305004100001845
- Preconditioning of self-consistent-field cycles in density-functional theory: The extrapolar method Physical Review B · American Physical Society · 2008 10.1103/physrevb.78.045126
- Fixed-Point Optimization of Atoms and Density in DFT Journal of Chemical Theory and Computation · American Chemical Society · 2013 10.1021/ct4001685
- Two classes of multisecant methods for nonlinear acceleration Numerical Linear Algebra with Applications · Wiley · 2008 10.1002/nla.617
- <i>Ab initio</i>calculations for SiC - Al interfaces: tests of electronic-minimization techniques Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 1996 10.1088/0965-0393/4/4/005
- Thomas‐Fermi Dielectric Screening in Some Binary Semiconductors Crystal Research and Technology · Wiley · 1992 10.1002/crat.2170270217
- A Second-Variational Prediction Operator for Fast Convergence in Self-Consistent Electronic-Structure Calculations MATERIALS TRANSACTIONS · The Japan Institute of Metals · 2004 10.2320/matertrans.45.1422
- Self-Consistent Equations Including Exchange and Correlation Effects Physical Review · American Institute of Physics · 1965 10.1103/physrev.140.a1133
- Periodic Pulay method for robust and efficient convergence acceleration of self-consistent field iterations Chemical Physics Letters · Elsevier BV · 2016 10.1016/j.cplett.2016.01.033
- Grand canonical electronic density-functional theory: Algorithms and applications to electrochemistry The Journal of Chemical Physics · American Institute of Physics · 2017 10.1063/1.4978411
- Applicability of Kerker preconditioning scheme to the self-consistent density functional theory calculations of inhomogeneous systems Physical review. E · American Physical Society · 2018 10.1103/physreve.97.033305
- Computing the self-consistent field in Kohn–Sham density functional theory Journal of Physics Condensed Matter · IOP Publishing · 2019 1010881361648xab31c0
- Elliptic Preconditioner for Accelerating the Self-Consistent Field Iteration in Kohn--Sham Density Functional Theory SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2013 10.1137/120880604
- On preconditioning the self-consistent field iteration in real-space Density Functional Theory Chemical Physics Letters · Elsevier BV · 2019 10.1016/j.cplett.2019.136983
- WIEN2k: An APW+lo program for calculating the properties of solids The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/1.5143061
- Robust mixing in self-consistent linearized augmented planewave calculations Electronic Structure · IOP Publishing · 2020 10.1088/2516-1075/ababde
- Black-box inhomogeneous preconditioning for self-consistent field iterations in density functional theory Journal of Physics Condensed Matter · IOP Publishing · 2020 1010881361648xabcbdb
- Computing the self-consistent field in Kohn–Sham density functional theory Journal of Physics Condensed Matter · IOP Publishing · 2019 10.1088/1361-648x/ab31c0
- Black-box inhomogeneous preconditioning for self-consistent field iterations in density functional theory Journal of Physics Condensed Matter · IOP Publishing · 2020 10.1088/1361-648x/abcbdb
- Kerker mixing scheme for self-consistent muffin-tin based all-electron electronic structure calculations Physical review. B./Physical review. B · American Physical Society · 2020 10.1103/physrevb.102.195138
- Solution to the Modified Helmholtz Equation for Arbitrary Periodic Charge Densities Frontiers in Physics · Frontiers Media · 2021 10.3389/fphy.2020.618142
- Predictive Mixing for Density Functional Theory (and Other Fixed-Point Problems) Journal of Chemical Theory and Computation · American Chemical Society · 2021 10.1021/acs.jctc.1c00630