Skip to content
@article{stamm-coherent-2018,
  title = {A coherent derivation of the Ewald summation for arbitrary orders of multipoles: The self-terms},
  author = {Stamm, Benjamin and Lagardère, Louis and Polack, Étienne and Maday, Yvon and Piquemal, Jean-Philip},
  year = {2018},
  month = {9},
  journal = {The Journal of Chemical Physics},
  volume = {149},
  number = {12},
  pages = {124103},
  doi = {10.1063/1.5044541},
  url = {https://pubs.aip.org/jcp/article/149/12/124103/196540/A-coherent-derivation-of-the-Ewald-summation-for}
}

A coherent derivation of the Ewald summation for arbitrary orders of multipoles: The self-terms

Benjamin Stamm Affiliation: Center for Computational Engineering Science, RWTH Aachen University, Aachen, Germany   Louis Lagardère Affiliation: Sorbonne Université, Institut des Sciences du Calcul et des Données, Paris, France Affiliation: Sorbonne Université, Institut Parisien de Chimie Physique et Théorique, FR 2622 CNRS, Paris, France Affiliation: Sorbonne Université, Laboratoire de Chimie Théorique, UMR 7616 CNRS, Paris, France   Étienne Polack Affiliation: Sorbonne Université, Laboratoire de Chimie Théorique, UMR 7616 CNRS, Paris, France Affiliation: Sorbonne Université, Université Paris-Diderot SPC, CNRS, Laboratoire Jacques-Louis Lions, LJLL, F-75005 Paris   Yvon Maday Affiliation: Sorbonne Université, Université Paris-Diderot SPC, CNRS, Laboratoire Jacques-Louis Lions, LJLL, F-75005 Paris Affiliation: Institut Universitaire de France, Paris, France Affiliation: Brown Univ, Division of Applied Maths, Providence, RI, USA   Jean-Philip Piquemal Affiliation: Sorbonne Université, Laboratoire de Chimie Théorique, UMR 7616 CNRS, Paris, France Affiliation: Institut Universitaire de France, Paris, France Affiliation: The University of Texas at Austin, Department of Biomedical Engineering, TX, USA

The Journal of Chemical Physics 149(12), 2018 DOI arXiv HAL

Abstract

In this work, we provide the mathematical elements we think essential for a proper understanding of the calculus of the electrostatic energy of point-multipoles of arbitrary order under periodic boundary conditions. The emphasis is put on the expressions of the so-called self parts of the Ewald  summation where different expressions can be found in literature. Indeed, such expressions are of prime importance in the context of new generation polarizable force field where the self field appears in the polarization equations. We provide a general framework, where the idea of the Ewald splitting is applied to the electric potential and subsequently, all other quantities such as the electric field, the energy and the forces are derived consistently thereof. Mathematical well-posedness is shown for all these contributions for any order of multipolar distribution.

Research Summary We derive the Ewald summation for point multipoles of any order from a splitting of the electric potential, from which the field, the energy and the forces follow consistently, and prove that the self-terms are well-defined.

Conflicting self-terms in the literature

The Ewald summation gives a well-defined electrostatic energy to a periodic system of point multipoles, whose lattice sum converges only conditionally. For multipoles beyond charges, the expressions go back to Weenk and Harwig and to Smith, but parts of Smith's rest on physical insight, and later works use different, sometimes inconsistent ones: the electric field differs between authors, so does the quadrupolar self-energy, and the potential, field, energy and forces are seldom given together. The differences lie in the self-terms, which remove the interaction of each multipole with itself. They matter for polarizable force fields, where the self-field enters the polarization equations Lagardère et al. (2015): in a Tinker-HP simulation of 4,000 AMOEBA water molecules, leaving it out visibly changes the oxygen-oxygen radial distribution function.

Split the potential, not the energy

We apply the Ewald splitting to the electric potential generated by the multipoles, and derive the field, the energy and the forces from it. The potential felt by a multipole then has three parts: the direct and reciprocal sums, which converge absolutely; a self part, independent of the other positions; and a surface part, which depends on the order of summation (the macroscopic shape of the system) and vanishes in the tinfoil model; its convergence is left for later work. With the recursive functions Smith introduced, we prove that the self-potential, the self-field and the self-energy are well-defined for multipoles of any order, and give them explicitly up to quadrupoles.

Smith's expressions, now proven

The derivation introduces no new model: it confirms Smith's expressions and gives them a proof. It shows that each multipole has a nonzero self-field, proportional to its dipole, contrary to an earlier work. The self-potential at the multipole's own position depends only on its charge, and the self-energy on none of the positions: it gives no force and cancels in energy differences, but we state it for a complete theory. One derivation thus gives, consistently, every quantity a polarizable code needs.

Introduction

The computation of physical quantities involving the Coulomb potential is a challenging issue due to the slow decay of the interacting kernel as the inverse of the distance. This long-range potential often prevents the use of simple techniques like cutoffs methods that only take into account short-range interactions. This problem has been addressed with the use of hierarchical methods (of order 𝒪​(N)\mathcal{O}(N) or 𝒪​(N​log⁡N)\mathcal{O}(N\log N) complexity) that approximate the long-range interactions and Fourier (of order 𝒪​(N​log⁡N)\mathcal{O}(N\log N)) methods that compute part of the Coulomb interaction in the dual space by considering the physical system under periodic boundary conditions.

For molecular dynamics simulations of biological systems, the most widely used method is a Fourier method, the particle-mesh Ewald[1, 2] — or shortly pme. This method is based on the Ewald summation[3], which gives a well-posed definition for the energy of the system. This is indeed not granted at all, since the energy is not well defined due to the conditional convergence of the involved series of the infinite periodic system if the (neutral) unit cell has a non-zero dipolar moment. In this case, different orders of summation provide different energies.

Background on the Ewald summation.

The mathematical derivation of the Ewald energy summation for point charges in three dimensions was carried out by Redlack and Grindlay [4], de Leeuw, Perram, and Smith [5]. With respect to the focus of this paper involving multipoles of any order, Weenk and Harwig [6] and Smith [7] gave expressions for the energy using Ewald summation for density of charges expressed as a sum of multipoles up to quadrupoles. Those expressions have been used, for example, in the works of of Nymand and Linse [8], Toukmaji et al. [9], Wang and Skeel [10] for dipoles and by Aguado and Madden [11] for quadrupoles.

However some expressions in the paper by Smith [7] are justified using physical insight, and only the Ewald energies and forces are given. We think this is the reason why some other authors use other (inconsistent) expressions. For example Nymand and Linse [8] give an expression for the electric field that is different from the one by Toukmaji et al. [9]. This difference was then discussed by Laino and Hutter [12] and corrected in Stenhammar, Trulsson, and Linse [13].

Moreover all the terms (potential, field, energy, forces) for the Ewald summation are in our knowledge never presented all together in one place consistently, and the derivation is seldom explained. For example, Aguado and Madden [11], Wang and Skeel [10] don’t give expression for the field and Toukmaji et al. [9] give no expression for the potential. Stenhammar, Trulsson, and Linse [13] builds an exception, however, the proposed self-energy differs for quadrupolar distributions as the work by Stenhammar, Trulsson, and Linse [13] does not include a quadruple-quadrupol interaction whereas Aguado and Madden [11] does. The latter is however with a different formula than what we propose later in this work. This may be explained by a missing double factorial in Aguado and Madden [11] and Nymand and Linse [8] that was pointed out by Laino and Hutter [12]. As only the net expressions are provided, it is difficult to trace back this difference. Recent developments have been made for efficient PME calculations using spherical harmonic point multipoles in Giese et al. [14] and Simmonett et al. [15], where in particular the former also provides expressions for energies, potentials, and forces using arbitrary order point multipoles.

Contribution.

This paper should be seen as an extension of the work of Smith [7]. Although not fully rigorous and lead by physical intuition, his reasoning for the expression of the self-energy can be proven with the use of some mathematical arguments, which can then be used to find the self-terms of any multipolar distribution. While we do not introduce a new theory, model or mathematical expressions, we introduce here a coherent mathematical framework to derive the self-terms of multipolar distributions of any order for the electric potential and field as well as the associated energy and forces and confirm the results proposed by Smith [7]. Further, we present proofs of the well-posedness of the self parts to the energy, electric potential and field for multipolar distributions of any order.

Our derivation is different from what has been proposed in the past, and emphasizes that the Ewald splitting should first be done on the potential or the field — and not directly on the energy. We derive the self-potential and self-field from scratch using Ewald splitting and deduce from those expressions the results for the self-energy and self-forces.

The purpose of the present article is to provide a coherent mathematically driven derivation of all self-terms, which, in consequence, provides a base for methodology developments of force-fields. We present in the appendix of a complete and precise derivation of all self-terms such that differences in expressions as highlighted above can be traced back. In particular, and this is our main motivation, a correct derivation of the self-field is indispensable for polarizable force-fields. Indeed, to solve the polarization equation, the total field, and thus the self-field, is required to compute the polarization field[16]. In practice, such terms are well implemented in production codes like Tinker and Amber. However, other codes exist and omitting these terms would result in highly different properties. Indeed, as shown in Figure 1, omitting the self-field in the computation of the polarization energy results in highly different oxygen-oxygen radial distribution function. Therefore, it is of prime importance for developers to have a robust justification of the expression to implement. This is in contrast to non-polarizable force-fields where only the energy and forces are needed to derive a correct dynamics.

Computational experiment performed with the Tinker-HP [17] software and the AMOEBA force field. Removing the self-field terms in the computation of the polarization energy gives rise to strong diff...
Figure 1: Computational experiment performed with the Tinker-HP [17] software and the AMOEBA force field. Removing the self-field terms in the computation of the polarization energy gives rise to strong differences in the oxygen-oxygen radial distribution function compared to the correct Tinker-HP initial implementation. Simulation settings: 1ns NVT simulation at 300K, 4000 water molecules within a 49.323349.323^{3} Angstrom square box.

Outline.

First, in Section I we introduce the notations that we use and review general results about the Ewald summation. In Section II, Section III and Section IV we give, respectively, a derivation for the potential, the field and the energy using Ewald summation. Finally, in Section V we give explicit expressions of the self-terms and provide the proof that justifies the existence of the self-terms for any multipolar distribution.

I Ewald summation for multipoles

In this article, we consider a system composed of a discrete distribution of NN point multipoles in ℝ3\mathbb{R}^{3} under periodic boundary conditions. The system consists in an electronically neutral primitive triclinic cell UU with charges in form of multipoles located at 𝐫i∈U\boldsymbol{\mathbf{r}}_{i}\in U for i∈{1,…,N}i\in\{1,\ldots,N\}. The set of positions 𝐫i\boldsymbol{\mathbf{r}}_{i} is represented by the global vector r¯{N}≔(𝐫1,…,𝐫N)\underline{r}^{\{N\}}\coloneqq(\boldsymbol{\mathbf{r}}_{1},\ldots,\boldsymbol{\mathbf{r}}_{N}). The unit cell UU is then duplicated in all directions and the system derived from r¯{N}\underline{r}^{\{N\}} is therefore composed of an infinity of charges.

The unit cell UU is spanned by the three vectors (𝐚1,𝐚2,𝐚3)(\boldsymbol{\mathbf{a}}_{1},\boldsymbol{\mathbf{a}}_{2},\boldsymbol{\mathbf{a}}_{3}) which is called the basis of UU. We then introduce the lattice-indices 𝐧\boldsymbol{\mathbf{n}} and 𝐦\boldsymbol{\mathbf{m}} of the form

where nγ,mγ∈ℕn_{\gamma},m_{\gamma}\in\mathbb{N} and (𝐚1∗,𝐚2∗,𝐚3∗)(\boldsymbol{\mathbf{a}}_{1}^{*},\boldsymbol{\mathbf{a}}_{2}^{*},\boldsymbol{\mathbf{a}}_{3}^{*}) is the dual basis of (𝐚1,𝐚2,𝐚3)(\boldsymbol{\mathbf{a}}_{1},\boldsymbol{\mathbf{a}}_{2},\boldsymbol{\mathbf{a}}_{3}): that is 𝐚γ∗⋅𝐚γ′=δγ​γ′\boldsymbol{\mathbf{a}}_{\gamma}^{*}\cdot\boldsymbol{\mathbf{a}}_{\gamma^{\prime}}=\delta_{\gamma\gamma^{\prime}} (the Kronecker symbol). We will also denote by VV the volume of the primitive cell UU and by U∗U^{*} the dual of the primitive cell.

Then, one can informally introduce “the” electrostatic interaction energy of r¯{N}\underline{r}^{\{N\}} up to 2p2^{p}-poles, p∈ℕp\in\mathbb{N} as

where 𝐫i​j​𝐧≔𝐫i−𝐫j+𝐧\boldsymbol{\mathbf{r}}_{ij\boldsymbol{\mathbf{n}}}\coloneqq\boldsymbol{\mathbf{r}}_{i}-\boldsymbol{\mathbf{r}}_{j}+\boldsymbol{\mathbf{n}}, the sign ′ on the sum means that for i=ji=j when 𝐧=0\boldsymbol{\mathbf{n}}=0 the interaction is not counted (this avoids self-interaction of a point multipole with itself) and the multipolar operator 𝖫i{\mathsf{L}}_{i} is defined as

Here, 𝖬ik{\mathsf{M}}^{k}_{i} is a kk-dimensional array of dimension 3k3^{k} describing moment of the point 2k2^{k}-pole, 𝖣ik{\mathsf{D}}^{k}_{i} is the matrix of kk-order partial derivatives with respect to the variable 𝐫i\boldsymbol{\mathbf{r}}_{i} and ⋅\cdot is the point-wise product which writes

for two arbitrary kk-dimensional arrays 𝖠,𝖡∈ℝ3​k{\mathsf{A}},{\mathsf{B}}\in\mathbb{R}^{3k} and where α=(α1,…,αk)\alpha=(\alpha_{1},\ldots,\alpha_{k}), αi∈{1,2,3}\alpha_{i}\in\{1,2,3\}, is a kk-dimensional multi-index.

For instance, k=0k=0 represents a point-charge of charge 𝖬i0{\mathsf{M}}^{0}_{i} at 𝐫i\boldsymbol{\mathbf{r}}_{i} and k=1k=1 a dipole where 𝖣i1{\mathsf{D}}^{1}_{i} is equivalent to the usual ∇\nabla notation with respect to 𝐫i\boldsymbol{\mathbf{r}}_{i} and 𝖬i1{\mathsf{M}}^{1}_{i} denotes the dipolar moment for each location 𝐫i\boldsymbol{\mathbf{r}}_{i}. Next, k=2k=2 represents a quadrupole, 𝖣i2{\mathsf{D}}^{2}_{i} denotes the Hessian matrix and 𝖬i2{\mathsf{M}}^{2}_{i} is a 3×33\times 3 matrix that incorporates the quadrupolar moments.

We will see that the energy in (2) is actually not well defined: As in the case of single point charges, it can be shown, by a Taylor expansion with respect to 𝐧\boldsymbol{\mathbf{n}}, that the series in equation (2) is what is called conditionally convergent. That implies that the result of the energy ℰ​(r¯{N})\mathcal{E}(\underline{r}^{\{N\}}) depends on the order of summation and is thus not uniquely defined.

The electrostatic energy can equivalently be stated in the following form

so that ϕi​(𝐫i)\phi^{i}(\boldsymbol{\mathbf{r}}_{i}) denotes the potential at 𝐫i\boldsymbol{\mathbf{r}}_{i} which is generated by all multipoles different than the one located at 𝐫i\boldsymbol{\mathbf{r}}_{i}. In consequence, equation (2) represents indeed the interaction energy between every multipole ii in the unit cell with the potential created by all other multipoles (indexed by jj and 𝐧\boldsymbol{\mathbf{n}}) of the infinite lattice.

Let us make a subtle comment. While 𝐫i\boldsymbol{\mathbf{r}}_{i} is the fixed position of the ii-th multipole, the multipole operator 𝖫i{\mathsf{L}}_{i} involves derivatives which requires to consider the potential ϕi\phi^{i} in a local neighborhood of 𝐫i\boldsymbol{\mathbf{r}}_{i}. We denote therefore by 𝐫\boldsymbol{\mathbf{r}} the variable belonging to a local neighborhood of 𝐫i\boldsymbol{\mathbf{r}}_{i} and write

since we have to consider the potential ϕi​(𝐫)\phi^{i}(\boldsymbol{\mathbf{r}}) and its derivatives ultimately evaluated at 𝐫=𝐫i\boldsymbol{\mathbf{r}}=\boldsymbol{\mathbf{r}}_{i}.

As anticipated above, equations (2) and (4) are not well-defined and hence the need to use a definition of an expression for the energy that is well defined. One possible remedy is the introduction of the Ewald energy to give a unique meaning of this expression by

where α\alpha is a positive real number,

is the structure factor and ℱ\mathcal{F} is the discrete Fourier transform of the operator 𝖫j{\mathsf{L}}_{j}. For example for a point-multipoles up to order p=2p=2 (quadrupoles), ℱ\mathcal{F} reads

with Mγ​γ′=mγ​mγ′M_{\gamma\gamma^{\prime}}=m_{\gamma}m_{\gamma^{\prime}}. The third term in (6) is commonly referred to as the self-energy. In the realm of polarizable force-fields, the commonly used definition of the self-energy is the one from Smith [7].

The fundamental property of the Ewald energy is that it is independent on the order of summation due of the absolute convergence of the involved sums.

It can be shown[5, 18] that the interaction energy (2) of the system is related to the Ewald energy through the relation

where the surface term J​(𝖣,𝖬)J({\mathsf{D}},{\mathsf{M}}) depends on the dipolar moment 𝖣=∑1≤i≤N𝖬i0​𝐫i{\mathsf{D}}=\sum_{1\leq i\leq N}{\mathsf{M}}^{0}_{i}\,\boldsymbol{\mathbf{r}}_{i} and the sum of dipoles 𝖬=∑1≤i≤N𝖬i1{\mathsf{M}}=\sum_{1\leq i\leq N}{\mathsf{M}}^{1}_{i} of the primitive cell UU. Only this term is responsible for the order of summation in equation (2), it reflects the macroscopic shape of the system (see the upcoming Remark 1 for a discussion on the notion of macroscopic shape). The order of summation of the conditionally convergent series is therefore a factor to choose in order to specify the exact value of the interaction energy ℰ​(r¯{N})\mathcal{E}(\underline{r}^{\{N\}}) and is often supposed to be spherical (by shells of 𝐧\boldsymbol{\mathbf{n}} such that |𝐧|\absolutevalue{\boldsymbol{\mathbf{n}}} is increasing).

By supposing that the macroscopic system is surrounded by a continuum dielectric with some dielectric permittivity ε\varepsilon, the interaction of the microscopic system with the continuum can be taken into account and explicitly dealt with for spherical summation orders. Further, in the limiting case of a perfect conductor ε=∞\varepsilon=\infty as surrounding environment (and still with spherical summation order), it can be proven that the surface term vanishes[19, 18]. This model is called the tinfoil model. In consequence, this implies that the energy of the system is in this case the Ewald energy.

In this paper, we do not longer comment on the convergence issues, which will be subject of a forthcoming paper, and concentrate on the proper definition of the self-energy ℰ𝗌𝖾𝗅𝖿​(r¯{N})\mathcal{E}_{\mathsf{self}}(\underline{r}^{\{N\}}), which requires some subtle development if general multipoles are considered that go beyond the results for point charges.

More precisely, there are two aspects that we address in the work. First, we investigate a mathematically clean derivation of the self-potential (and thus of the energy thanks to equation (4)) and self-field when general multipoles are considered and not only point-charges. We then deduce thereof the expression of the self-energy. Second, we present the proofs which demonstrates that these quantities are mathematically well-defined.

II Derivation of the potential

First, we revisit the derivation of the Ewald summation for the potential generated by the multipoles. The conditionally convergent series in (4) defining the potential ϕj\phi^{j} is given a precise meaning by considering the limit

for some domain PP in ℝ3\mathbb{R}^{3} containing the origin that represents the macroscopic shape of the system (see Remark 1) and where

At the base of the derivation of the potential is the splitting

for any positive α\alpha and which can be deduced[18] from the integral expression of the gamma function at the point 12\frac{1}{2} for all 𝐫\boldsymbol{\mathbf{r}} but at the origin.

Using the present splitting and following the arguments presented in Darden [18] (Sections 3.5.2.3.2 and 3.5.2.3.1), one can define

such that

as k→∞k\to\infty and which consists of potential at 𝐫\boldsymbol{\mathbf{r}} that is generated by unit point charges located at the vertices of the lattice indexed by 𝐧\boldsymbol{\mathbf{n}} such that 𝐧∈Ω​(P,k)\boldsymbol{\mathbf{n}}\in\Omega(P,k). For sake of completeness, we outline this step in Appendix A where we also give the definition of Hk​(𝐫)H_{k}(\boldsymbol{\mathbf{r}}) in Eqn. (A2). Based on ζk\zeta_{k}, we now introduce the function

defined everywhere but at the location of the point multipoles located in UU. The function 𝐫↦Φk​(𝐫)\boldsymbol{\mathbf{r}}\mapsto\Phi_{k}(\boldsymbol{\mathbf{r}}) represents the potential at 𝐫∈U\boldsymbol{\mathbf{r}}\in U generated by all the multipoles and their images contained in periodic lattice cells indexed by 𝐧\boldsymbol{\mathbf{n}} such that 𝐧∈Ω​(P,k)\boldsymbol{\mathbf{n}}\in\Omega(P,k).

In consequence, the limit as 𝐫\boldsymbol{\mathbf{r}} tends to any point multipole 𝐫j\boldsymbol{\mathbf{r}}_{j} is not finite. Note that this has been handled above with the ′ sign after the sum since only the interaction energy is considered. Instead, if one considers the potential at position 𝐫\boldsymbol{\mathbf{r}} generated by all multipoles except the multipole located at 𝐫i\boldsymbol{\mathbf{r}}_{i}, then one has to substract the contribution for 𝐧=0\boldsymbol{\mathbf{n}}=0 in equation (11) for ζk​(𝐫−𝐫i)\zeta_{k}(\boldsymbol{\mathbf{r}}-\boldsymbol{\mathbf{r}}_{i}) to get

with finite limit at 𝐫i\boldsymbol{\mathbf{r}}_{i} given by

The function 𝐫↦ϕki​(𝐫)\boldsymbol{\mathbf{r}}\mapsto\phi_{k}^{i}(\boldsymbol{\mathbf{r}}) denotes the potential at an arbitrary position 𝐫\boldsymbol{\mathbf{r}} generated by all multipoles contained in periodic lattice cells indexed by 𝐧\boldsymbol{\mathbf{n}} such that 𝐧∈Ω​(P,k)\boldsymbol{\mathbf{n}}\in\Omega(P,k) except multipole ii in the unit cell (𝐧=0\boldsymbol{\mathbf{n}}=0).

Hence, using the splitting introduced in equation (11) combined with (12) and (13), it follows that

with rj​𝐧≔|𝐫−𝐫j+𝐧|r_{j\boldsymbol{\mathbf{n}}}\coloneqq\absolutevalue{\boldsymbol{\mathbf{r}}-\boldsymbol{\mathbf{r}}_{j}+\boldsymbol{\mathbf{n}}} and where 𝒮​(𝐦)\mathcal{S}(\boldsymbol{\mathbf{m}}) was defined in equation (7).

We have therefore introduced the splitting (precisely defined in the listing below)

where each individual term is defined and discussed in the following.

The absolutely converging part of the potential

Due to their quick convergence in k→∞k\to\infty the first two terms in equation (15), denoted by ϕ0,ki\phi_{0,k}^{i} in equation (16), do not depend on the order of summation. The first term is called the direct potential and the second the reciprocal potential.

The self-potential

The third term in equation (15) is what we call the self potential ϕ𝗌𝖾𝗅𝖿i​(𝐫)\phi_{\mathsf{self}}^{i}(\boldsymbol{\mathbf{r}}) in (16) and does not depend on the other nuclear position 𝐫i\boldsymbol{\mathbf{r}}_{i}, i≠ji\neq j, and kk, and is non-constant in 𝐫\boldsymbol{\mathbf{r}} around 𝐫i\boldsymbol{\mathbf{r}}_{i}. This term being independent on the other nuclear positions can by no means model the interaction potential, hence the name.

From the derivation it becomes clear that in the limit 𝐫→𝐫i\boldsymbol{\mathbf{r}}\to\boldsymbol{\mathbf{r}}_{i}, ϕ𝗌𝖾𝗅𝖿i​(𝐫i)\phi_{\mathsf{self}}^{i}(\boldsymbol{\mathbf{r}}_{i}) is the quantity to be subtracted from the reciprocal potential in order that the potential at 𝐫=𝐫i\boldsymbol{\mathbf{r}}=\boldsymbol{\mathbf{r}}_{i} is the potential created by all other multipoles except multipole ii. Note that the contribution in the direct space has already been taken into account in equation (15) since the sign ′ appears on the first sum.

We will provide in Section V explicit values of this terms in limit 𝐫→𝐫i\boldsymbol{\mathbf{r}}\to\boldsymbol{\mathbf{r}}_{i} for arbitrary multipolar distributions.

The surface-potential

The fourth term (15), denoted by ϕk,𝗌𝗎𝗋𝖿i\phi_{k,\mathsf{surf}}^{i} in equation (16), is the surface potential which will be well-defined only if the sum converges as kk tends to infinity. It is intimately linked with the order of summation and is related to subtle questions. We want to focus in this article to the self-terms and are therefore assuming convergence in kk here.

Remark 1.

It is not very intuitive to understand what is meant by the macroscopic shape of the system and its environment, and how this is mathematically accounted for. From the microscopic viewpoint, the sequence of shapes (Ω​(P,k))k∈ℕ{(\Omega(P,k))}_{k\in\mathbb{N}} should be seen as the scaling of one macroscopic shape PP, i.e. Ω​(P,k)=k​P\Omega(P,k)=kP. Then, the sequence Ω​(P,k)\Omega(P,k) covers larger and larger parts of the microscopic space ℝ3\mathbb{R}^{3} as kk increases. We would like to advocate also the viewpoint of introducing a change of variables from the microscopic variable 𝐧\boldsymbol{\mathbf{n}} to the macroscopic variable 𝐧^=𝐧/k\hat{\boldsymbol{\mathbf{n}}}=\boldsymbol{\mathbf{n}}/k that can be used to rewrite sums of the form

This means that the microscopic space contracts more and more within the macroscopic shape PP, see Figure 2 for an illustration. The role of the macroscopic shape PP becomes visible and the exterior of PP is then the surrounding environment to PP.

(a) Microscopic space
(a) Microscopic space
(b) Macroscopic space
(b) Macroscopic space
Figure 2: The limiting process k→∞k\to\infty observed in the microscopic and macroscopic space

In the following, we introduce

where we have assumed that the second term converges as we want to study the self-terms.

Thus

denotes the potential at position 𝐫\boldsymbol{\mathbf{r}} generated by all multipoles except multipole ii in the unit cell. Recall that the term ϕ𝗌𝗎𝗋𝖿i​(𝐫)\phi_{\mathsf{surf}}^{i}(\boldsymbol{\mathbf{r}}) depends on the order of summation represented by a particular shape PP, whereas the other terms ϕ0,ki​(𝐫)\phi_{0,k}^{i}(\boldsymbol{\mathbf{r}}) and ϕ𝗌𝖾𝗅𝖿i​(𝐫)\phi_{{\mathsf{self}}}^{i}(\boldsymbol{\mathbf{r}}) do not.

III Derivation of the field

The derivation we have given for the potential gives a straightforward one for the field. It is based on the splitting of ϕki​(𝐫)\phi_{k}^{i}(\boldsymbol{\mathbf{r}}) developed in the previous section and uses the fact that the electric field is minus the gradient of the electric potential. Indeed, taking the derivative 𝖣𝐫{\mathsf{D}}_{\boldsymbol{\mathbf{r}}} (thus with respect to 𝐫\boldsymbol{\mathbf{r}}) in equation (15) yields

Therefore, 𝐄ki​(𝐫)\boldsymbol{\mathbf{\boldsymbol{\mathbf{E}}}}_{k}^{i}(\boldsymbol{\mathbf{r}}) denotes the electric field at a general position 𝐫\boldsymbol{\mathbf{r}} generated by all multipoles in a cell belonging to Ω​(P,k)\Omega(P,k) except multipole ii in the unit cell.

In consequence, we define each term individually as for the potential:

In particular, we defined the self electric field 𝐄𝗌𝖾𝗅𝖿i​(𝐫)\boldsymbol{\mathbf{E}}_{\mathsf{self}}^{i}(\boldsymbol{\mathbf{r}}) as the third term in (20), which will be shown in Section V to be well-defined, in particular at 𝐫i\boldsymbol{\mathbf{r}}_{i}, and give explicit expressions. Evaluating 𝐄ki​(𝐫)\boldsymbol{\mathbf{\boldsymbol{\mathbf{E}}}}_{k}^{i}(\boldsymbol{\mathbf{r}}) at 𝐫=𝐫i\boldsymbol{\mathbf{r}}=\boldsymbol{\mathbf{r}}_{i} then yields

Using classical results from convergence of series, we obtain that as soon as the surface-potential converges (in the limit k→∞k\to\infty) and the surface-field converges uniformly in 𝐫\boldsymbol{\mathbf{r}} in a neighborhood of 𝐫i\boldsymbol{\mathbf{r}}_{i}, the gradient of the limit of the surface-potential is exactly the surface-field:

Again, this is a subtle question related to the convergence in kk that will be addressed in an upcoming work. The focus of this article is shed on the self-terms.

IV Derivation of the energy

Recalling equation (5) combined with the splitting (19) of the potential into different parts, we define the following energy contributions

Note that the self-potential is non-constant in a neighborhood of 𝐫i\boldsymbol{\mathbf{r}}_{i} so that the higher multipolar moments, i.e. the derivatives, act on the self-potential ϕ𝗌𝖾𝗅𝖿i\phi_{\mathsf{self}}^{i}. Further, notice that ℰ0​(r¯{N})\mathcal{E}_{0}(\underline{r}^{\{N\}}) can be written as

and in consequence, we write

Note that we confirm with this derivation equation (8) and that the Ewald energy and the self-energy do not depend on the order of summation whereas the surface energy does.

The corresponding force-terms then naturally result from differentiating the different energies with respect to the nuclear coordinates. In particular, as we will see further below, the self-energy is independent on any nuclear coordinate and the self-energy therefore doesn’t induce any force term. However, the correct term of the self-field is mandatory in the context of polarizable force-fields.[16]

V Well-posedness of the self-terms

In this part, we outline the proofs that the self-potential, field and (24b) are well-defined in the limit 𝐫→𝐫j\boldsymbol{\mathbf{r}}\to\boldsymbol{\mathbf{r}}_{j} and in consequence also the self-energy. As done by Smith [7], we introduce recursively the functions BnB_{n} for any n∈ℕn\in\mathbb{N} and all r∈ℝ+∖{0}r\in\mathbb{R}_{+}\setminus\{0\} by

Then, the following result holds.

Theorem 1.

For any n∈ℕn\in\mathbb{N}, there holds that

and

The proof of Theorem 1 is presented in Appendix B.

In order to give explicit formulae for the self-terms, we first note that from (29) follows

Since we have derived the values of Bn​(0)B_{n}(0) in (28), we can give explicit formulae for the self-potential, the self-field and the self-energy in consequence.

For sake of a simple presentation, we consider a multipolar charge distribution up to quadrupoles in the following. Intrinsically, the quadrupolar moments 𝖬i2{\mathsf{M}}_{i}^{2} are symmetric matrices with zero trace.

The self-potential

Therefore, the ii-th self-potential ϕ𝗌𝖾𝗅𝖿\phi_{\mathsf{self}} at an arbitrary point 𝐫\boldsymbol{\mathbf{r}} in a neighborhood of 𝐫i\boldsymbol{\mathbf{r}}_{i} writes as

Then, the evaluation of the ii-th self-potential at 𝐫=𝐫i\boldsymbol{\mathbf{r}}=\boldsymbol{\mathbf{r}}_{i} is given by

which does no longer depend on 𝐫i\boldsymbol{\mathbf{r}}_{i}, only depends on the charge 𝖬i0{\mathsf{M}}_{i}^{0} and is well-defined. This formula is of course valid for any kind of multipolar distribution and not restricted to orders to up to quadrupoles only. Note that the self-potential is not constant in a neighborhood of 𝐫i\boldsymbol{\mathbf{r}}_{i} in this derivation.

The self-field

We want to stress that in contrast to what is presented in Nymand and Linse [8], there is indeed a non-zero self-contribution to the electric field. The ii-th part of the self-field at 𝐫=𝐫i\boldsymbol{\mathbf{r}}=\boldsymbol{\mathbf{r}}_{i} is defined by

which only depends on the dipole moment at site ii and is also valid for any kind of multipolar distribution.

The self-energy

Finally, the self energy as defined above writes as

We recognize the current practice that for relative energies and forces, the correct term of the self-energy is not needed since a constant misfit cancels out in energy differences. However, for sake of having a complete theory based on a rigorous development, we think that it is important to state the self-energy as well.

VI Conclusion

In that paper, we proposed a new mathematically clean and coherent derivation of the Ewald summation for a system consisting of NN-body electrostatic interaction with multipolar charges of any order. The existing results in the literature differ between different authors and no common development of all quantities can be found. The essential differences lie in the self-term expressions. We presented a clean derivation and confirm the expressions proposed by Smith [7] for which we proved well-posedness. Our model is derived from a clean application of the Ewald splitting to the electric potential and the subsequent quantities such as the electric field, the energy and the forces are derived thereof. A complete derivation of all these quantities is mandatory in the context of next generation polararizable force-fields where in particular the self-field is required and needs to be consistent with the theory.

Overall, the new model which is mathematically sound maintains the use of the tinfoil model and provides simpler expressions for the self-energy that are closer to the original idea of Ewald to work on the potential and not on the energy.

Acknowledgements

This work was made possible thanks to the French state funds managed by the CalSimLab LABEX and the ANR within the Investissements d’Avenir program (reference ANR-11-IDEX-0004-02) and through support of the Direction Générale de l’Armement (DGA) Maîtrise NRBC of the French Ministry of Defense.

Benjamin Stamm acknowledges the funding from the German Academic Exchange Service (DAAD) from funds of the “Bundesministeriums fu¨\ddot{\mbox{u}}r Bildung und Forschung” (BMBF) for the project Aa-Par-T (Project-ID 57317909).

Yvon Maday and Etienne Polack acknowledge the funding from the PICS-CNRS (Project N∘{\text{N}}^{\circ} 230509) and the PHC PROCOPE 2017 (Project N∘{\text{N}}^{\circ} 37855ZK).

References

  1. [1] T. Darden, D. York, and L. Pedersen, The Journal of Chemical Physics 98, 10089 (1993), http://dx.doi.org/10.1063/1.464397 .
  2. [2] U. Essmann, L. Perera, M. L. Berkowitz, T. Darden, H. Lee, and L. G. Pedersen, The Journal of Chemical Physics 103, 8577 (1995), http://dx.doi.org/10.1063/1.470117 .
  3. [3] P. P. Ewald, Annalen der Physik 369, 253 (1921).
  4. [4] A. Redlack and J. Grindlay, Journal of Physics and Chemistry of Solids 36, 73 (1975).
  5. [5] S. W. de Leeuw, J. W. Perram, and E. R. Smith, Proceedings of the Royal Society of London A: Mathematical, Physical and Engineering Sciences 373, 27 (1980a), http://rspa.royalsocietypublishing.org/content/373/1752/27.full.pdf .
  6. [6] J. Weenk and H. Harwig, Journal of Physics and Chemistry of Solids 38, 1047 (1977).
  7. [7] W. Smith, ccp5 Newsletter 46, 18 (1998), reprint of a 1982 paper by the same author.
  8. [8] T. M. Nymand and P. Linse, Journal of Chemical Physics 112, 6152 (2000).
  9. [9] A. Y. Toukmaji, C. Sagui, J. Board, and T. A. Darden, Journal of Chemical Physics 113, 10913 (2000).
  10. [10] W. Wang and R. D. Skeel, Journal of Chemical Physics 123, 164107 (2005).
  11. [11] A. Aguado and P. A. Madden, Journal of Chemical Physics 119, 7471 (2003).
  12. [12] T. Laino and J. Hutter, The Journal of chemical physics 129, 074102 (2008).
  13. [13] J. Stenhammar, M. Trulsson, and P. Linse, The Journal of chemical physics 134, 224104 (2011).
  14. [14] T. J. Giese, M. T. Panteva, H. Chen, and D. M. York, Journal of Chemical Theory and Computation 11, 436 (2015).
  15. [15] A. C. Simmonett, F. C. Pickard, H. F. Schaefer, and B. R. Brooks, The Journal of Chemical Physics 140, 184101 (2014).
  16. [16] L. Lagardère, F. Lipparini, E. Polack, B. Stamm, E. Cancès, M. Schnieders, P. Ren, Y. Maday, and J. P. Piquemal, Journal of Chemical Theory and Computation 11, 2589 (2015).
  17. [17] L. Lagardère, L. H. Jolly, F. Lipparini, F. Aviat, B. Stamm, Z. F. Jing, M. Harger, H. Torabifard, G. A. Cisneros, M. J. Schnieders, N. Gresh, Y. Maday, P. Y. Ren, J. W. Ponder, and J.-P. Piquemal, Chem. Sci. 9, 956 (2018).
  18. [18] T. A. Darden, “Extensions of the Ewald method for Coulomb interactions in crystals,” in International Tables for Crystallography Volume B: Reciprocal space, edited by U. Shmueli (Wiley, 2008) Chap. 3.5, pp. 458–481.
  19. [19] S. W. de Leeuw, J. W. Perram, and E. R. Smith, Proc. R. Soc. Lond. A 373, 27 (1980b).
  20. [20] E. R. Smith, Proceedings of the Royal Society of London A: Mathematical, Physical and Engineering Sciences 375, 475 (1981), http://rspa.royalsocietypublishing.org/content/375/1763/475.full.pdf .
  21. [21] E. R. Smith, Journal of Statistical Physics 77, 449 (1994).

Appendix A

Essentially, for sake of a complete presentation we present here the derivation of (11) in a compact way following the arguments presented in Darden [18], see also [20, 21]. As briefly mentioned in Section II, we start with the following splitting

see Eq. (3.5.2.16) in Darden [18]. Then, one can write

with

and where we used that

since 𝐦⋅𝐧∈ℕ\boldsymbol{\mathbf{m}}\cdot\boldsymbol{\mathbf{n}}\in\mathbb{N}.

Case 𝐦≠0\boldsymbol{\mathbf{m}}\neq 0: We first recognize that

where h^𝐦,𝐫\widehat{h}_{\boldsymbol{\mathbf{m}},\boldsymbol{\mathbf{r}}} denotes the Fourier coefficient of h𝐦,𝐫h_{\boldsymbol{\mathbf{m}},\boldsymbol{\mathbf{r}}} and we recall that V=1|U∗|V=\frac{1}{|U^{*}|}. Then, there holds that

and thus

as k→∞k\to\infty.

Case 𝐦=0\boldsymbol{\mathbf{m}}=0: As visible from above, this development does not hold for 𝐦=0\boldsymbol{\mathbf{m}}=0 and is more subtle. We have that

and the combination of two Taylor expansions yields

This motivates the definition

and note that

Then

as k→∞k\to\infty. Further there holds

so that combining all terms yields

as k→∞k\to\infty. Note that we do not shed emphasis on the different arguments that guarantee existence of the different limits but put rather emphasis on the compact development to derive (11).

Appendix B: Mathematical proofs

Before we really tackle the proof of Theorem 1, we first prove some auxiliary results.

Lemma 1.

For any integer nn, the function BnB_{n} is explicitly given by

where (2​n−1)!!≔(2​n−1)×⋯×3×1(2n-1)!!\coloneqq(2n-1)\times\cdots\times 3\times 1 with the convention that for any non-positive integer kk, k!!=1k!!=1 and that a sum from 0 to −1-1 is zero.

Proof.

The proof follows by induction. For n=0n=0 we see that the proposition holds by inspection. Now, let us assume that (B1) holds for a given nn. Inserting (B1) into the definition of Bn+1B_{n+1} in (27) implies

∎

Lemma 2.

The functions BnB_{n} can be rewritten for all positive rr as

Proof.

The result is obtained by inserting the expression of the error and exponential functions as a power series, i.e.,

in equation (B1). ∎

We now need to prepare some result that is used in a later proof.

Lemma 3.

For any n∈ℕ0n\in\mathbb{N}_{0}, there holds

Proof.

We denote by Γ\Gamma the usual gamma-function. Introduce as well the double-factorial for even numbers (2​n)!!=2​n×(2​n−2)×…×2(2n)!!=2n\times(2n-2)\times\ldots\times 2 and observe that the following identities hold

In consequence, there holds

where B​(⋅,⋅)B(\cdot,\cdot) denotes the beta-function. Next, we observe that

by exploiting the change of variable s=1−ts=1-t and the fact that t​(1−t)=s​(1−s)t(1-t)=s(1-s). Further using the identity 4​t​(1−t)=1−(2​t−1)24t(1-t)=1-(2t-1)^{2} and another change of variable s=2​t−1s=2t-1 yields

Combining (B3)–(B5) then yields

Now, we use (B6) in combination with the the binomial coefficient theorem as follows

Then replacing the double factorial (2​k)!!=2k​k!(2k)!!=2^{k}k! and shifting the index kk by one yields the desired result. ∎

The first claim of Theorem 1 is formulated in the following lemma.

Lemma 4.

For any n∈ℕn\in\mathbb{N}, there holds that

Proof.

It remains only to study the limit as rr tends to zero in (B2) of the terms where ℓ−n\ell-n and ℓ−k−1\ell-k-1 are nonpositive, as positive powers of rr will converge to zero.

In order to have a clear picture, we first reorder the sums over ℓ\ell and kk of the first term in (B2) by introducing the following change of indices ℓ=q−s+1\ell=q-s+1 and k=n−sk=n-s as follows

where S​(ℓ,k)S(\ell,k) denotes the summand of the first term in (B2). The second term in (B2) is modified by the change of indices ℓ=q−s+1\ell=q-s+1 and k=n−sk=n-s resulting in the following expression

As outlined in the beginning of the proof, we focus on the non-negative powers of rr, thus for non-negative q−nq-n. The coefficient for such a non-negative power q−nq-n of rr is given by

which vanishes by Lemma 3. This proves well-posedness of the limit r→0r\to 0 and the limit is given by the coefficient of the zero-th power in rr, i.e. for q=nq=n. Note that min⁡(n,q+1)=n=q−1\min(n,q+1)=n=q-1 and we apply once again Lemma  3 to obtain the desired limit. ∎

The second claim of Theorem 1 is formulated in the following lemma.

Lemma 5.

For any n∈ℕ0n\in\mathbb{N}_{0}, there holds that

Proof.

This proof follows by induction. For n=0n=0, the claim can easily be proven by inspection using the definition (27). Consider now the recursive definition of Bn+1B_{n+1} in (27) and deriving the expression with respect to rr yields

Assuming that (B10) holds for nn and applying once again the definition (27) of Bn+2B_{n+2} implies

which completes the proof by induction. ∎