http://doc.rero.ch
Energy gradients with respect to atomic positions and cell parameters for the Kohn-Sham density-functional theory at the ⌫ point
Valéry Weber
Department of Chemistry, University of Fribourg, 1700 Fribourg, Switzerland
and Los Alamos National Laboratory, Theoretical Division, Los Alamos, New Mexico 87545 Christopher J. Tymczaka兲and Matt Challacombe
Los Alamos National Laboratory, Theoretical Division, Los Alamos, New Mexico 87545
The application of theoretical methods based on density-functional theory is known to provide atomic and cell parameters in very good agreement with experimental values. Recently, construction of the exact Hartree-Fock exchange gradients with respect to atomic positions and cell parameters within the⌫-point approximation has been introduced关V. Weberet al., J. Chem. Phys. 124, 214105 共2006兲兴. In this article, the formalism is extended to the evaluation of analytical ⌫-point density-functional atomic and cell gradients. The infinite Coulomb summation is solved with an effective periodic summation of multipole tensors关M. Challacombeet al., J. Chem. Phys. 107, 9708 共1997兲兴. While the evaluation of Coulomb and exchange-correlation gradients with respect to atomic positions are similar to those in the gas phase limit, the gradients with respect to cell parameters needs to be treated with some care. The derivative of the periodic multipole interaction tensor needs to be carefully handled in both direct and reciprocal space and the exchange-correlation energy derivative leads to a surface term that has its origin in derivatives of the integration limits that depend on the cell. As an illustration, the analytical gradients have been used in conjunction with the
QUICCAalgorithm关K. Németh and M. Challacombe, J. Chem. Phys. 121, 2877共2004兲兴to optimize one-dimensional and three-dimensional periodic systems at the density-functional theory and hybrid Hartree-Fock/density-functional theory levels. We also report the full relaxation of forsterite supercells at the B3LYP level of theory.
I. INTRODUCTION
The Kohn-Sham approach to density-functional theory has been proven to be a highly competitive method for a wide range of applications in solid-state physics and chem- istry. The hybrid Hartree-Fock/density-functional theory 共hybrid-HF/DFT兲 model chemistries are an important next step in accuracy beyond the generalized gradient approximation.1–4
In preceding papers, we have developed linear scaling quantum chemical methods for construction of the periodic Coulomb, exchange-correlation,5and the exact Hartree-Fock exchange6matrices within the⌫-point approximation. In this paper, the implementation of the Coulomb and exchange- correlation energy gradients with respect to atomic positions and cell parameters at the⌫point is presented.
While the ⌫-point approximation uses only the k= 0 point to sample the Brillouin zone, it does, however, con- verge to thek-space integration limit, in the worst case with the inverse unit cell volume共see for example Refs.7and8兲. Convergence of the ⌫-point approximation to the corre- spondingk-space limit was recently demonstrated by us for DFT,5 HF, and hybrid-HF/DFT共Ref.6兲theories, as well as for the Hartree-Fock atomic and cell gradients.9 For one-
dimensional fluoric acid chains 共HF兲n, convergence of the Hartree-Fock minimum image convention共HF-MIC兲⌫-point energy, atomic, and cell forces to the converged large cell
⌫-point approximation with respect to cell length have been explicitly shown to be exponential in the cell size.9 A fast convergence of the total energy and geometrical parameters have also been observed for three-dimensional共3D兲systems such as MgO and urea.5,6,9In general, the⌫-point approach enables study of very large complex and disordered systems such as liquids, low concentration defects, adsorption of large molecule on surfaces, etc., where conventional methods of sampling the Brillouin zone may become computationally too demanding, and where the⌫-point approximation is well justified.
Finding crystal structures of condensed systems can be formulated as a minimization of the total energy with respect to atomic coordinates and cell vectors. The problem is then minimization of the total energy with Ldegrees of freedom, whereL= 3Natm+ 3;Natmis the number of atoms, 3Natm− 3 is the number of independent coordinates after the elimination of translation, and the number of independent vector ele- ments after the elimination of cell rotations is 6. This mini- mization can be achieved with the help of an efficient optimizer10–12and knowledge of the gradients with respect to atomic positions and cell parameters.
The analytical cell gradient method of density-functional
a兲Electronic mail: [email protected]
Published in "The Journal of Chemical Physics 124: 224107, 2006"
which should be cited to refer to this work.
http://doc.rero.ch
theory using Gaussian-type atomic orbital共GTAO兲 for one- dimensional extended systems was implemented by Hirata and Iwata.13 The 3D case has been implemented by Kudin and Scuseria.14,15Their approach for the Coulomb problem is based on the direct space fast multipole method. Recently Doll et al.16 presented an implementation of Hartree-Fock cell gradients17 in the CRYSTAL03共Ref. 18兲 package for 3D systems. Their code is based on GTAO and the summation of the Coulomb energy is performed with the Ewald method,19 which is a combination of direct and reciprocal cell summa- tions. The strategy to compute the analytic Hartree-Fock gra- dients for periodic systems, in the frame of the CRYSTAL03
package has been presented by Dollet al.20,21 Their imple- mentation is based on the Hermite-Gaussian-type functions in the context of the McMurchie-Davidson algorithm.22
This paper describes the complete implementation of the atomic and lattice gradients within the Kohn-Sham approach to density-functional theory at the⌫point. The infinite Cou- lomb summation is solved with an effective periodic summa- tion of multipole tensors.5,23We show that, like for the exact HF exchange, the evaluation of the atomic gradients within the ⌫-point approximation does not lead to special difficul- ties. The implementation requires mainly the evaluation of the derivative of the basis function with respect to atomic positions. However, difficulties arise when the derivative of the total energy is taken with respect to lattice parameters.
For the periodic far-field Coulomb term, the derivative of the multipole interaction tensor needs to be carefully handled in both direct and reciprocal space. The exchange-correlation energy derivative leads to a surface term, which has its origin in derivatives of the integration limits that depend on the cell. We finally demonstrate the convergence of geometrical parameters and total energy for a few periodic systems within the DFT and hybrid-HF/DFT ⌫-point supercell ap- proach. The full relaxation of the geometrical parameters were done with theQUICCAalgorithm.10,12
The remainder of this paper is organized as follows: In Sec. II, we introduce the formalism and discuss the imple- mentation of the Coulomb and exchange-correlation gradi- ents with respect to atomic positions and cell parameters at the⌫-point approximation. Then full optimization of several 3D periodic systems are given in Sec. III as an illustration of the formalism. Finally in Sec. IV we summarize our results.
II. FORMALISM
The primitive cell can be represented by the three vec- tors a, b, and c. Let us define M as the 3⫻3 matrix com- posed of the primitive cell vectors,
M=共a,b,c兲.
The position of any replicated cell is R共n兲=Mn, with n
=共na,nb,nc兲, a vector of integers. The position of atomA in the cell R共n兲 is A=M共fA+n兲, with fA=共fAa,fAb,fAc兲, the fractional coordinates of atomAin the central cell.
An unnormalized Cartesian-Gaussian-type function 共CGTF兲centered on atomAis
a共r兲=共x−Ax兲ax共y−Ay兲ay共z−Az兲aze−a共r−A兲2,
where the triada=共ax,ay,az兲sets the angular symmetry and the exponent a is chosen to describe a particular length scale. Gaussian basis functions are often contracted to ap- proximate atomic eigenfunctions.
The total energy within the⌫-point approximation5,6can be expressed as
E共fA,fB, . . . ,M兲=
兺
ab Pab共
Tab+12共Jab+␣1Kab兲兲
+␣2Exc+hnuc, 共1兲 wherePis the density matrix,Tis the kinetic-energy matrix, Jis the electron-electron and electron-nuclear Coulomb ma- trix, Exc is the exchange-correlation energy, K is the exact Hartree-Fock exchange matrix, and hnuc is the nuclear- nuclear and nuclear-electron energy. The factors ␣1 and␣2
are mixing coefficients of the exact Hartree-Fock exchange and exchange-correlation energies, respectively.
The derivative of the total energy, Eq.共1兲, with respect to a general external perturbationis
E
=
兺
ab Pab冏
Tab+hnuc
冏
P+1
2
兺
ab Pab冉 冏
Jab冏
P+
冏
␣1Kab冏
P冊
+冏
␣2Exc冏
P−
兺
ab WabSab,where 兩兩P means that P is held constant, W=PFP is the energy-weighted density matrix, andFthe Fockian or Kohn- Sham Hamiltonian. The gradients with respect to fractional coordinates and cell parameters are simply given by =fGj
and=Mij, respectively. The Hartree-Fock exchange gradi- ents with respect to atomic and cell parameters, i.e.,兩Kab/兩P, have been previously derived.9
The energy gradient with respect to the fractional coor- dinate fGj can be obtained through the linear transform
E
fGj
=
兺
i=x,y,z
MijE
Gi
,
whereE/Giis the standard gradient with respect to atomic position. In the following, we describe the implementation of the Coulomb and exchange-correlation gradients with re- spect to atomic and cell parameters.
A. Coulomb integrals
The periodic quantum Coulomb sum involves the three contributions共for more detail about the formalism see Refs.
5 and23兲,
Jab=JabIn+JabPFF+JabTF,
whereJabIn is the inner cell set sum evaluated by the quantum chemical tree code 共QCTC兲,24 JabPFF is the periodic far-field term andJabTFis a surface term which corrects the boundary at infinity.
http://doc.rero.ch
1. Inner sum
The inner cell set contribution to the Coulomb matrix is JabIn=R
兺
苸In
冕冕
ab共r兲兩r−r⬘+R兩−1tot共r⬘兲dVdV⬘, 共2兲where
ab共r兲=
兺
R⬘a共r兲b共r+R⬘兲,
tot共r兲=
兺
ab Pabab共r兲−兺
A ZA␦共r−A兲,the indexAruns over the atoms in the cell,ZA is the charge of atomA, and ␦共r兲is the Dirac delta function. The deriva- tives of Eq. 共2兲with respect to atomic position Giand cell parameterMijare
冏
JGabIni冏
P= 2R
兺
苸In冕冕
abG共ir兲兩r−r⬘ +R兩−1tot共r⬘兲dVdV⬘, and
冏
MJabInij冏
P=R
兺
苸In冕冕 冉
2abM共ijr兲兩r−r⬘+R兩−1
+ab共r兲兩r−r⬘+R兩−1
Mij
冊
tot共r⬘兲dVdV⬘,where the factors of two arise from the bra/ket symmetry; the derivatives ab/Gi, 兩r−r⬘+R兩−1/Mij and ab/Mij are straightforward and do not need to be addressed in more detail. Note that similar terms arise forhnucand are treated in an equivalent way asJabIn.
2. Periodic far field
We use a spherical multipole method in order to compute the periodic far field correction to the Coulomb matrix,5,23 which is
JabPFF=
兺
lml⬘m⬘
共− 1兲lab
lmMl+lm+m⬘⬘tot
l⬘m⬘, 共3兲
where Ml
m is an effective multipole interaction tensor that accounts for the direct infinite lattice summation. The spheri- cal densities ab
lm and tot
lm are obtained by projecting ab共r兲 andtot共r兲, respectively, onto the regular spherical harmonics Olm共r兲as
ab
lm=
冕
ab共r兲Olm共r兲dV and totlm=tot共r兲Olm共r兲dV.The derivatives of Eq.共3兲with respect to atomic positionGi
and the cell parameter Mijare
冏
JGabPFFi冏
P= 2
兺
lml⬘m⬘
共− 1兲lab lm
Gi
Ml+lm+m⬘⬘tot l⬘m⬘, and
冏
JMabPFFij冏
P=
兺
lml⬘m⬘
共− 1兲l
冉
2MablmijMl+lm+m⬘⬘
+ab
lmMl+lm+m⬘⬘
Mij
冊
totl⬘m⬘,whereab
lm/Giandab
lm/Mijare simple and do not need to be shown here. The calculation ofMl
m/Mijis shown in the Appendix.
3. Tin foil
The tin-foil correction to the Coulomb matrix is JabTF= 2
3Vuc共QSab− 2dab·D兲, 共4兲 whereVucis the unit cell volume,Qis the trace of the system quadrupole, Sab is an element of the overlap matrix, D the dipole moment of the system, anddabthe dipole moment of the distributionab. The derivatives of Eq.共4兲with respect to atomic positionGiand the cell parameter Mijare
冏
JGabTFi冏
P= 2
3Vuc
冉 冏
GQi冏
PSab+QSab
Gi
− 2dab
Gi
·D− 2dab·
冏
GDi冏
P冊
,and
冏
JMabTFij冏
P= 2
3Vuc
冉 冏
MQij冏
PSab+QSab
Mij
− 2dab
Mij
·D− 2dab·
冏
MDij冏
P− 1 Vuc
Vuc
Mij
共QSab− 2dab·D兲
冊
,where the derivatives 兩Q/Gi兩P, dab/Gi, 兩D/Gi兩P,
Sab/Gi, 兩Q/Mij兩P, dab/Mij, and 兩D/Mij兩P are straightforward; the terms Sab/Mij and Vuc/Mij are given, e.g., in Ref.16.
B. Exchange-correlation integrals
In Ref. 5, Tymczak and Challacombe showed that the exchange-correlation energy, for a periodic system, can be computed over a cubic regionV䊐, and is completely equiva- lent to the integration over the unit cellVuc. The exchange- correlation energy is thus
Exc关兴=
冕
Vucf共r兲dV⬅
冕
V䊐f共r兲dV, 共5兲
where共r兲=兺abRPabab共r+R兲is the periodic electronic den- sity. In the following, the subscript䊐will always refer to the cuboid cell. This simple integration volume should be con- trasted with more conventional methods for computing the exchange-correlation matrix, involving the “Becke weights,”25 which requires integration over all space, V⬁. While Eq.共5兲is written in an abstract form for simplicity, in
http://doc.rero.ch
practice the code relies on the approach of Popleet al.26and Challacombe.27
The derivatives of Eq.共5兲with respect to atomic position Giand cell parameter Mijare given by
冏
EGxci冏
P=
冕
V䊐冏
G共r兲i冏
Pvxc关共r兲兴dV,
and
冏
MExcij冏
P=
冕
V䊐冏
M共r兲ij冏
Pvxc关共r兲兴dV+␦ij
冕
Sj䊐f共r兲dS, 共6兲 where Sj䊐 is the surface area of the cuboid cell with its normal vector along the jth Cartesian direction. The deriva- tive 兩共r兲/Mij兩P is simple and does not need to be ad- dressed in more detail.
The surface integral关rightmost term in Eq.共6兲兴, which is not present in previous derivations,15,28 has its origin in the derivative of the limits of the integral in Eq.共5兲. The surface integral is approximated by
冕
Sj䊐f共r兲dS= 1 2h
冕
Vj䊐f共r兲dV+O共h2兲,
where h is a small number 共typically 10−4a.u.兲 and Vj䊐
=Sj䊐⫻关−h,h兴 is a thin volume where the integration over the interval 关−h,h兴 is carried out along the normal to the surface Si䊐 共i.e., along the jth Cartesian direction兲. This simple domain, i.e., Vj䊐, can be efficiently integrated with the help of theHICUalgorithm27 to any desired accuracy.
III. NUMERICAL EXAMPLES
All developments were implemented in the MONDOSCF
共Ref. 29兲 suite of linear scaling quantum chemistry pro- grams. The code was compiled using the HPFORTRANcom- pilerF95 V5.5A共Ref.30兲and the −04option and the Compaq
CcompilerCC V6.5共Ref.31兲and the −01flag. All calculations were carried out on a cluster of 256 4-CPU HP/Compaq Alphaserver ES45s with the Quadrics QsNet High Speed In- terconnect.
The TIGHT level of numerical accuracy has been used throughout this work. Thresholds that define the TIGHT
accuracy level include a matrix threshold= 10−6, as well as other numerical thresholds detailed in Ref.5, which deliver at least eight digits of relative accuracy in the total energy and four digits of absolute accuracy in the forces.
In order to demonstrate the capabilities of our implemen- tation of the Kohn-Sham density-functional analytic atomic and cell gradients, we present in this section full optimiza- tion studies of one-dimensional 共1D兲 and 3D periodic sys- tems without any cell or atomic positions symmetry con- straints. The optimizations were carried out with theQUICCA
algorithm.10,12
Our first benchmark case is the optimization of 1D poly- tetrafluoroethylene 共CF2兲2n at the Perdew-Wang32 level of theory. The PW91 functional has been obtained from the Density-Functional Repository.33 The second benchmark is cubic MgO and was optimized at the Perdew- Burke-Ernzerhof34 共PBE兲 and Becke 3-parameter Lee-Yang-Parr35 共B3LYP兲 level of theory. Finally, ortho- rhombic magnesium orthosilicate 共Mg2SiO4, forsterite兲 was optimized at the B3LYP共Refs.35and36兲level of theory.
TableIshows the progression of the cell parametersa0, bond lengths共C–C and C–F兲, bond angle共F–C–F兲, and total energies E computed for polytetrafluoroethylene 共CF2兲2n at the ⌫-point PW91 with the split-valence 6-31G**basis set.
Comparisons are made to cell parameter, bond length, and bond angle values obtained with the CRYSTAL03 共Ref. 18兲 package and a 12k-points net at the PW91/ 6-31G**level of theory. While the atomic and cell parameters for polytet- rafluoroethylene agree perfectly between thek-space integra- tion and the⌫-point approximation, the energies do not. The reason for this disagreement can be found in the different basis set used. CRYSTAL03 uses spherical harmonicsd shell consisting of five atomic orbitals whileMONDOSCFemploys pure Cartesian basis functions, i.e., six atomic orbitals per Cartesiandshells. This leads to a slightly lower energy in the
MONDOSCFcalculations.
Table II shows the progression of the cell parameters, total energies, and fractional coordinates of oxygen com- puted for various MgO supercells 共cubic symmetry兲 at the
⌫-point PBE共Ref.34兲and B3LYP共Ref.35兲level of theories using the 8-61G共Mg兲/8-51G共O兲 basis sets. The basis sets
TABLE I. Progression of the cell parametera0, bond lengths共C–C and C–F兲, bond angle共F–C–F兲, and total energyEfor polytetrafluoroethylene共CF2兲2nusing the periodic⌫-point PW91/ 6-31G**level of theory and the
TIGHTthresholds. Lengths, angles, and energies are in angstroms, degrees, and atomic units, respectively.
n a0 CC CF FCF E/n
MONDOSCFa 1 3.400 1.823 1.339 116.9 −475.261 618
2 2.701 1.588 1.360 109.9 −475.418 440
3 2.640 1.571 1.361 109.5 −475.433 042
4 2.634 1.570 1.361 109.5 −475.435 044
5 2.633 1.571 1.361 109.5 −475.435 451
6 2.632 1.570 1.361 109.5 −475.435 536
CRYSTAL03b 1 2.628 1.569 1.360 109.5 −475.430 945
a⌫point.
b12kpoints.
http://doc.rero.ch
were specially optimized at the HF level for MgO by Causà et al.37and were obtained from Ref.38. The primitive cubic cell coordinates used for this system are given in Ref.39. For comparison, we report the optimized cell parameter of cubic MgO obtained with the CRYSTAL03 code and an 8⫻8⫻8 k-points integration grid as well as the experimental cell parameter.40 For both PBE and B3LYP, the smallest system 共MgO兲4 shows a large discrepancy of the cell parameter, energy, and fractional coordinate of the oxygen with respect to its k-space integration counterpart. The larger systems give cell parameter and fractional coordinate of the oxygen in very good agreement with the CRYSTAL03results, and the energies systematical converge while the system grows.
In Table III, we present the optimization of forsterite 共orthorhombic symmetry兲 at the B3LYP/ 8-61G*共Mg兲/ 88-31G*共Si兲/ 8-51G*共O兲 ⌫-point approximation. The basis sets were obtained from Ref.38. For comparison, we report the optimized cell parameters of forsterite obtained by Jo- chym et al.41 at the PW91 level of theory and a 3⫻3⫻3 k-points integration grid with the VASP 共Refs. 42 and 43兲 package. We also report the experimental cell parameters
measured by Yoder and Sahama.44As for the MgO case, the smallest system 共Mg2SiO4兲4 shows a large discrepancy for the cell parameters with respect to theVASPand experimental values. The larger systems, i.e., the 2⫻1⫻2 and 3⫻1⫻2 supercells, give cell parameters in very good agreement with the experimental data, and the energies systematically con- verge while the system grows. The cell parameters obtained from the ⌫-point B3LYP/ 8-61G*共Mg兲/ 88-31G*共Si兲/ 8-51G*共O兲level of theory deviate less than 1% with respect to the experimental values.
IV. CONCLUSIONS
In a previous paper, construction of the analytical exact Hartree-Fock exchange gradients with respect to atomic and cell parameters within the ⌫-point approximation has been introduced. In this article, the formalism for evaluation of the density-functional analytic gradients in ⌫-point approxima- tion for Cartesian-Gaussian-type basis functions was pre- sented and implemented in theMONDOSCFpackage. We show that, like for the exact HF exchange, the evaluation of the atomic gradients within the ⌫-point approximation does not lead to difficulties. The implementation requires mainly the evaluation of the derivative of the basis function with respect to atomic positions. However, complications arise when de- rivatives of the total energy are taken with respect to lattice parameters. For the periodic far-field Coulomb term, the de- rivative of the multipole interaction tensor needs to be care- fully handled in both direct and reciprocal space. The exchange-correlation energy derivative leads to a surface term, which has its origin in the derivative of the limits of the integration over the cell.
The analytical atomic and cell gradients have been used in conjunction with theQUICCAalgorithm to optimize a few 1D and 3D periodic systems at the DFT and hybrid-HF/DFT level of theory. Convergence of bond lengths, bond angles, and cell parameters within the DFT and hybrid-HF/DFT
⌫-point supercell approach and under full relaxation with no symmetry has been demonstrated for 1D and 3D systems to better than three digits. Thus, we could show that a relative accuracy better than three digits can be already achieved with cubic cells of about 600 Å3.
ACKNOWLEDGMENTS
This work has been supported by the Swiss National Science Foundation, the Swiss Office for Education and Sci- ence through the European COST Action D14, and the US Department of Energy under Contract No. W-7405-ENG-36 and the ASCI project. The advanced Computing Laboratory of Los Alamos National Laboratory is acknowledged.
TABLE II. Progression of the cell parametera0, total energyE, and frac- tional coordinate of the oxygen fOin the primitive cell for cubic共MgO兲n
using the periodic ⌫-point PBE/8-61G共Mg兲/8-51G共O兲 and B3LYP/8- 61G共Mg兲/8-51G共O兲level of theories and theTIGHTthresholds. Cell param- eters and energies are in angstroms and atomic units, respectively.
n a0 E/n fO
MONDOSCFa PBE 4 4.331 −275.243 165 0.4998
32 4.213 −275.284 428 0.5000 108 4.212 −275.284 641 0.5000
CRYSTAL03b PBE 1 4.212 −275.284 731 1 / 2
MONDOSCFa B3LYP 4 4.328 −275.389 093 0.4972
32 4.204 −275.431 167 0.5000 108 4.204 −275.431 343 0.5000
CRYSTAL03b B3LYP 1 4.204 −275.431 235 1 / 2
Expt.c 1 4.20
a⌫point.
b8⫻8⫻8kpoints.
cExperimental value共Ref.40兲.
TABLE III. Progression of the cell parametersa0,b0,c0, and total energy E for orthorhombic 共Mg2SiO4兲n using the periodic ⌫-point B3LYP/ 8 -31G*共Mg兲/ 88-31G*共Si兲/ 8-51G*共O兲level of theory and theTIGHTthresh- olds. The numbern= 4 , 8 , 16, 24 correspond to the共super兲cells 1⫻1⫻1, 2⫻1⫻1, 2⫻1⫻2, and 3⫻1⫻2, respectively. Cell parameters and ener- gies are in angstroms and atomic units, respectively.
n a0 b0 c0 E/n
MONDOSCFa 4 4.726 10.181 6.119 −991.264 858
8 4.762 10.184 6.119 −991.260 767
16 4.787 10.258 5.996 −991.271 696
24 4.787 10.257 5.995 −991.271 841
VASPb 4 4.800 10.306 6.041
Expt.c 4 4.756 10.195 5.981
a⌫point.
b3⫻3⫻3kpoints and PW91共Ref.41兲.
cExperimental values共Ref.40兲.
http://doc.rero.ch
APPENDIX: COMPUTATION OF THE DERIVATIVE OF THEMTENSOR WITH RESPECT TO
CELL PARAMETERS
Following the work of Challacombeet al.23 and Tymc- zak and Challacombe,5 the Ml
m tensor can be written into direct and reciprocal space terms as
Ml
m=R苸PFF
兺
P˜lm共cosR兲eimRGl共,R兲−R
兺
苸In
P˜
l
m共cosR兲eimRFl共,R兲
+ 43/2共i/2兲l
Vuc⌫共l+ 1/2兲G
兺
⫽兵0”其Gl−2e−2G2/2⫻P˜
l
m共cosG兲eimG,
whereGis a reciprocal lattice vector,G=兩G兩,R=兩R兩,˜P
l mis a scaled associated Legendre polynomial,=
冑
/Vuc1/3for con- venience,Gl共,R兲=␥共l+ 1/2,2R2兲
⌫共l+ 1/2兲Rl+1 , and
Fl共,R兲=⌫共l+ 1/2,2R2兲
⌫共l+ 1/2兲Rl+1 ,
where ⌫共a,x兲=兰x⬁ta−1exp共−t兲dt is the gamma function,
⌫共a兲=⌫共a, 0兲, and␥共a,x兲=兰0xta−1exp共−t兲dtis the incomplete gamma function.45The derivative ofMl
mwith respect to cell parametersMijis
Ml m
Mij
=R
兺
苸PFF
eimR
冉
P˜lm冏
MGlij冏
+冉
MP˜lmij+imP˜
l mR
Mij
冊
Gl冊
−R兺
苸IneimR
冉
˜Plm冏
MFijl冏
+冉
M˜Plmij+imP˜
l mR
Mij
冊
Fl冊
+ 43/2共i/2兲l
Vuc⌫共l+ 1/2兲G
兺
⫽兵0”其Gl−3e−2G2/2eimG⫻冉
− 1VucVuc
Mij
GP˜
l
m+
冉
共l− 2兲− 2冉
G冊
2冊
MGijP˜
l m
+G
冉
MP˜lmij+imP˜
l mG
Mij
冊冊
.Note that because Ml m⫽Ml
m共兲, it follows that Ml m/
= 0. The derivative of the scaled associated Legendre poly- nomialP˜
l
m共cos兲is
˜Pl m
Mij
共cos兲=lcosP˜l
m−共l+m兲P˜
l−1 m
冑
1 − cos2
Mij
,
which holds for both=Rand=G. Derivation ofGl共,R兲 andFl共,R兲are given by
冏
MGlij冏
=冉
⌫共l2共+ 1/2兲RR兲2le−2l+1R2 −Gl共,R兲共l+ 1兲 R冊
MRij, and
冏
MFijl冏
= −冉
⌫共2共l+ 1/2R兲2le−兲R2l+1R2 +Fl共,R兲共l+ 1兲R
冊
MRij. The derivativesVuc/MijandG/Mijcan be found in Ref.
16 and the remaining derivatives, i.e., R/Mij, R/Mij,
G/Mij,R/Mij, andG/Mijare easily computed.
1P. M. Gill, B. J. Johnson, J. A. Pople, and M. J. Frisch, Int. J. Quantum Chem. S26, 319共1992兲.
2A. D. Becke, J. Chem. Phys. 98, 1372共1993兲.
3V. Barone, C. Adamo, and F. Mele, Chem. Phys. Lett. 249, 290共1996兲.
4C. Adamo, M. Cossi, and V. Barone, THEOCHEM 493, 145共1999兲.
5C. J. Tymczak and M. Challacombe, J. Chem. Phys.122, 134102共2005兲.
6C. J. Tymczak, V. Weber, E. Schwegler, and M. Challacombe, J. Chem.
Phys. 122, 124105共2005兲.
7C. Kittel,Introduction to Solid State Physics共Wiley, New York, 1971兲.
8N. W. Ashcroft and N. D. Mermin,Solid State Physics共Holt, Rinehart, and Winston, New York, 1976兲.
9V. Weber, C. Daul, and M. Challacombe, J. Chem. Phys. 124, 214105 共2006兲.
10K. Németh and M. Challacombe, J. Chem. Phys. 121, 2877共2004兲.
11T. Bučko, J. Hafner, and J. Ángyán, J. Chem. Phys. 122, 124508共2005兲.
12K. Németh and M. Challacombe, J. Chem. Phys. 123, 194112共2005兲.
13S. Hirata and S. Iwata, J. Phys. Chem. A 102, 8426共1998兲.
14K. N. Kudin and G. E. Scuseria, Phys. Rev. B 61, 5141共2000兲.
15K. N. Kudin and G. E. Scuseria, Phys. Rev. B 61, 16440共2000兲.
16K. Doll, R. Dovesi, and R. Orlando, Theor. Chim. Acta 112, 394共2004兲.
17R. Dovesi, R. Orlando, C. Roetti, C. Pisani, and V. V. R. Saunders, Phys.
Status Solidi B 217, 63共2000兲.
18R. Dovesi, V. R. Saunders, C. Roetti, M. Causà, N. M. Harrison, R.
Orlando, and E. Apra, computer codeCRYSTAL03共University of Torino, Torino, 2003兲.
19P. P. Ewald, Ann. Phys. 64, 253共1921兲.
20K. Doll, V. R. Saunders, and N. M. Harrison, Int. J. Quantum Chem.82, 1共2001兲.
21K. Doll, Comput. Phys. Commun. 137, 74共2001兲.
22L. E. McMurchie and E. R. Davidson, J. Comput. Phys. 26, 218共1978兲.
23M. Challacombe, C. White, and M. HeadGordon, J. Chem. Phys. 107, 10131共1997兲.
24M. Challacombe and E. Schwegler, J. Chem. Phys. 106, 5526共1997兲.
25A. D. Becke, J. Chem. Phys. 88, 2547共1988兲.
26J. A. Pople, P. M. W. Gill, and B. G. Johnson, Chem. Phys. Lett. 199, 557共1992兲.
27M. Challacombe, J. Chem. Phys. 113, 10037共2000兲.
28M. Tobita, S. Hirata, and R. J. Bartlett, J. Chem. Phys. 118, 5776共2003兲.
29M. Challacombe, C. Tymczak, K. Németh, V. Weber, C. K. Gan, E.
Schwegler, G. Henkelman, and A. Niklasson, computer codeMONDOSCF
共Los Alamos National Laboratory, Los Alamos, New Mexico, 2001兲.
30Computer code Hewlett-Packard Fortran compiler, F95 V5.5A共Compaq
http://doc.rero.ch
Computer Corporation, Houston, 2003兲.
31Computer code Compaq C compiler, C V6.5共Compaq Computer Corpo- ration, Houston, 2002兲.
32J. Perdew, J. Chevary, S. Vosko, K. Jackson, M. Pederson, D. Singh, and C. Fiolhais, Phys. Rev. B 46, 6671共1992兲.
33Functionals were obtained from the Density Functional Repository as developed and distributed by the Quantum Chemistry Group, CCLRC Daresbury Laboratory, Daresbury, Cheshire, WA4 4AD United Kingdom.
Contact Huub van Dam共[email protected]兲or Paul Sherwood for further information共2003兲.
34J. P. Perdew, K. Burke, and M. Ernzerhof, Phys. Rev. Lett. 77, 3865 共1996兲.
35A. D. Becke, J. Chem. Phys. 98, 5648共1993兲.
36P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch, J. Phys.
Chem. 98, 11623共1994兲.
37M. Causà, R. Dovesi, C. Pisani, and C. Roetti, Phys. Rev. B 33, 1308 共1986兲.
38R. Dovesi, V. Saunders, C. Roetti, M. Causà, N. Harrison, R. Orlando, and C. Zicovich-Wilson, computer codeCRYSTAL98Basis Sets共University of Torino, Torino, 1998兲.
39Periodic coordinates used inMONDOSCFvalidation 共2004兲, URL http://
www.t12.lanl.gov/~mchalla/.
40R. W. G. Wyckoff,Crystal Structure共Wiley, New York, 1963兲.
41P. T. Jochym, K. Parlinski, and P. Krzywiec, Comput. Mat. Sci. 29, 414418共2004兲.
42G. Kresse and J. Furthmuller, Phys. Rev. B 54, 11169共1996兲.
43G. Kresse and J. Furthmuller, Comp. Math. Sci. 6, 15共1996兲.
44H. S. Yoder and G. Sahama, Am. Mineral. 42, 475共1957兲.
45Handbook of Mathematical Functions共Dover, New York, 1987兲.