Ewald sum
   HOME

TheInfoList



OR:

Ewald summation, named after
Paul Peter Ewald Paul Peter Ewald, FRS (January 23, 1888 in Berlin, Germany – August 22, 1985 in Ithaca, New York) was a German crystallographer and physicist, a pioneer of X-ray diffraction methods. Education Ewald received his early education in the clas ...
, is a method for computing long-range interactions (e.g.
electrostatic interaction Electrostatics is a branch of physics that studies electric charges at rest (static electricity). Since classical times, it has been known that some materials, such as amber, attract lightweight particles after triboelectric effect, rubbing. ...
s) in periodic systems. It was first developed as the method for calculating electrostatic energies of
ionic crystal In chemistry, an ionic crystal is a crystalline form of an ionic compound. They are solids consisting of ions bound together by their electrostatic attraction into a regular lattice. Examples of such crystals are the alkali halides, including ...
s, and is now commonly used for calculating long-range interactions in computational chemistry. Ewald summation is a special case of the
Poisson summation formula In mathematics, the Poisson summation formula is an equation that relates the Fourier series coefficients of the periodic summation of a function to values of the function's continuous Fourier transform. Consequently, the periodic summation of ...
, replacing the summation of interaction energies in real space with an equivalent summation in
Fourier space In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a s ...
. In this method, the long-range interaction is divided into two parts: a short-range contribution, and a long-range contribution which does not have a singularity. The short-range contribution is calculated in real space, whereas the long-range contribution is calculated using a Fourier transform. The advantage of this method is the rapid
convergence Convergence may refer to: Arts and media Literature *''Convergence'' (book series), edited by Ruth Nanda Anshen *Convergence (comics), "Convergence" (comics), two separate story lines published by DC Comics: **A four-part crossover storyline that ...
of the energy compared with that of a direct summation. This means that the method has high accuracy and reasonable speed when computing long-range interactions, and it is thus the de facto standard method for calculating long-range interactions in periodic systems. The method requires charge neutrality of the molecular system in order to accurately calculate the total Coulombic interaction. A study of the truncation errors introduced in the energy and force calculations of disordered point-charge systems is provided by Kolafa and Perram.


Derivation

Ewald summation rewrites the interaction potential as the sum of two terms, :\varphi(\mathbf) \ \stackrel\ \varphi_(\mathbf) + \varphi_(\mathbf), where \varphi_(\mathbf) represents the short-range term whose sum quickly converges in real space and \varphi_(\mathbf) represents the long-range term whose sum quickly converges in Fourier (reciprocal) space. The long-ranged part should be finite for all arguments (most notably ''r'' = 0) but may have any convenient mathematical form, most typically a Gaussian distribution. The method assumes that the short-range part can be summed easily; hence, the problem becomes the summation of the long-range term. Due to the use of the Fourier sum, the method implicitly assumes that the system under study is infinitely periodic (a sensible assumption for the interiors of crystals). One repeating unit of this hypothetical periodic system is called a ''unit cell''. One such cell is chosen as the "central cell" for reference and the remaining cells are called ''images''. The long-range interaction energy is the sum of interaction energies between the charges of a central unit cell and all the charges of the lattice. Hence, it can be represented as a ''double'' integral over two charge density fields representing the fields of the unit cell and the crystal lattice : E_ = \iint d\mathbf\, d\mathbf^\prime\, \rho_\text(\mathbf) \rho_(\mathbf^\prime) \ \varphi_(\mathbf - \mathbf^\prime) where the unit-cell charge density field \rho_(\mathbf) is a sum over the positions \mathbf_k of the charges q_k in the central unit cell : \rho_(\mathbf) \ \stackrel\ \sum_ q_k \delta(\mathbf - \mathbf_k) and the ''total'' charge density field \rho_\text(\mathbf) is the same sum over the unit-cell charges q_ and their periodic images : \rho_\text(\mathbf) \ \stackrel\ \sum_ \sum_ q_k \delta(\mathbf - \mathbf_k - n_1 \mathbf_1 - n_2 \mathbf_2 - n_3 \mathbf_3) Here, \delta(\mathbf) is the Dirac delta function, \mathbf_1, \mathbf_2 and \mathbf_3 are the lattice vectors and n_1, n_2 and n_3 range over all integers. The total field \rho_\text(\mathbf) can be represented as a
convolution In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution'' ...
of \rho_(\mathbf) with a ''lattice function'' L(\mathbf) : L(\mathbf) \ \stackrel\ \sum_ \delta(\mathbf - n_1 \mathbf_ - n_ \mathbf_2 - n_3 \mathbf_3) Since this is a
convolution In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution'' ...
, the
Fourier transformation A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed ...
of \rho_\text(\mathbf) is a product : \tilde_\text(\mathbf) = \tilde(\mathbf) \tilde_(\mathbf) where the Fourier transform of the lattice function is another sum over delta functions : \tilde(\mathbf) = \frac \sum_ \delta(\mathbf - m_1 \mathbf_1 - m_2 \mathbf_2 - m_3 \mathbf_3) where the reciprocal space vectors are defined \mathbf_ \ \stackrel\ 2 \pi \frac (and cyclic permutations) where \Omega \ \stackrel\ \mathbf_ \cdot \left( \mathbf_ \times \mathbf_ \right) is the volume of the central unit cell (if it is geometrically a parallelepiped, which is often but not necessarily the case). Note that both L(\mathbf) and \tilde(\mathbf) are real, even functions. For brevity, define an effective single-particle potential : v(\mathbf) \ \stackrel\ \int d\mathbf^\, \rho_(\mathbf^\prime) \ \varphi_(\mathbf - \mathbf^\prime) Since this is also a convolution, the Fourier transformation of the same equation is a product : \tilde(\mathbf) \ \stackrel\ \tilde_(\mathbf) \tilde(\mathbf) where the Fourier transform is defined : \tilde(\mathbf) = \int d\mathbf \ v(\mathbf) \ e^ The energy can now be written as a ''single'' field integral : E_ = \int d\mathbf \ \rho_\text(\mathbf) \ v(\mathbf) Using
Plancherel theorem In mathematics, the Plancherel theorem (sometimes called the Parseval–Plancherel identity) is a result in harmonic analysis, proven by Michel Plancherel in 1910. It states that the integral of a function's squared modulus is equal to the integ ...
, the energy can also be summed in Fourier space : E_ = \int \frac \ \tilde_\text^*(\mathbf) \tilde(\mathbf) = \int \frac \tilde^*(\mathbf) \left, \tilde_(\mathbf)\^2 \tilde(\mathbf) = \frac \sum_ \left, \tilde_(\mathbf)\^2 \tilde(\mathbf) where \mathbf = m_1 \mathbf_1 + m_2 \mathbf_2 + m_3 \mathbf_3 in the final summation. This is the essential result. Once \tilde_(\mathbf) is calculated, the summation/integration over \mathbf is straightforward and should converge quickly. The most common reason for lack of convergence is a poorly defined unit cell, which must be charge neutral to avoid infinite sums.


Particle mesh Ewald (PME) method

Ewald summation was developed as a method in
theoretical physics Theoretical physics is a branch of physics that employs mathematical models and abstractions of physical objects and systems to rationalize, explain and predict natural phenomena. This is in contrast to experimental physics, which uses experim ...
, long before the advent of computers. However, the Ewald method has enjoyed widespread use since the 1970s in computer simulations of particle systems, especially those whose particles interact via an
inverse square In science, an inverse-square law is any scientific law stating that a specified physical quantity is inversely proportional to the square of the distance from the source of that physical quantity. The fundamental cause for this can be understoo ...
force law such as
gravity In physics, gravity () is a fundamental interaction which causes mutual attraction between all things with mass or energy. Gravity is, by far, the weakest of the four fundamental interactions, approximately 1038 times weaker than the stro ...
or electrostatics. Recently, PME has also been used to calculate the r^ part of the Lennard-Jones potential in order to eliminate artifacts due to truncation. Applications include simulations of plasmas, galaxies and molecules. In the particle mesh method, just as in standard Ewald summation, the generic interaction potential is separated into two terms \varphi(\mathbf) \ \stackrel\ \varphi_(\mathbf) + \varphi_(\mathbf). The basic idea of particle mesh Ewald summation is to replace the direct summation of interaction energies between point particles : E_\text = \sum_ \varphi(\mathbf_ - \mathbf_i) = E_ + E_ with two summations, a direct sum E_ of the short-ranged potential in real space : E_ = \sum_ \varphi_(\mathbf_j - \mathbf_i) (this is the particle part of particle mesh Ewald) and a summation in Fourier space of the long-ranged part : E_ = \sum_ \tilde_(\mathbf) \left, \tilde(\mathbf) \^2 where \tilde_ and \tilde(\mathbf) represent the Fourier transforms of the
potential Potential generally refers to a currently unrealized ability. The term is used in a wide variety of fields, from physics to the social sciences to indicate things that are in a state where they are able to change in ways ranging from the simple r ...
and the
charge density In electromagnetism, charge density is the amount of electric charge per unit length, surface area, or volume. Volume charge density (symbolized by the Greek letter ρ) is the quantity of charge per unit volume, measured in the SI system in ...
(this is the Ewald part). Since both summations converge quickly in their respective spaces (real and Fourier), they may be truncated with little loss of accuracy and great improvement in required computational time. To evaluate the Fourier transform \tilde(\mathbf) of the charge density field efficiently, one uses the fast Fourier transform, which requires that the density field be evaluated on a discrete lattice in space (this is the mesh part). Due to the periodicity assumption implicit in Ewald summation, applications of the PME method to physical systems require the imposition of periodic symmetry. Thus, the method is best suited to systems that can be simulated as infinite in spatial extent. In
molecular dynamics Molecular dynamics (MD) is a computer simulation method for analyzing the physical movements of atoms and molecules. The atoms and molecules are allowed to interact for a fixed period of time, giving a view of the dynamic "evolution" of t ...
simulations this is normally accomplished by deliberately constructing a charge-neutral unit cell that can be infinitely "tiled" to form images; however, to properly account for the effects of this approximation, these images are reincorporated back into the original simulation cell. The overall effect is called a periodic boundary condition. To visualize this most clearly, think of a unit cube; the upper face is effectively in contact with the lower face, the right with the left face, and the front with the back face. As a result, the unit cell size must be carefully chosen to be large enough to avoid improper motion correlations between two faces "in contact", but still small enough to be computationally feasible. The definition of the cutoff between short- and long-range interactions can also introduce artifacts. The restriction of the density field to a mesh makes the PME method more efficient for systems with "smooth" variations in density, or continuous potential functions. Localized systems or those with large fluctuations in density may be treated more efficiently with the
fast multipole method __NOTOC__ The fast multipole method (FMM) is a numerical technique that was developed to speed up the calculation of long-ranged forces in the ''n''-body problem. It does this by expanding the system Green's function using a multipole expansion, w ...
of Greengard and Rokhlin.


Dipole term

The electrostatic energy of a polar crystal (i.e. a crystal with a net dipole \mathbf_ in the unit cell) is
conditionally convergent In mathematics, a series or integral is said to be conditionally convergent if it converges, but it does not converge absolutely. Definition More precisely, a series of real numbers \sum_^\infty a_n is said to converge conditionally if \lim_\,\s ...
, i.e. depends on the order of the summation. For example, if the dipole-dipole interactions of a central unit cell with unit cells located on an ever-increasing cube, the energy converges to a different value than if the interaction energies had been summed spherically. Roughly speaking, this conditional convergence arises because (1) the number of interacting dipoles on a shell of radius R grows like R^; (2) the strength of a single dipole-dipole interaction falls like \frac; and (3) the mathematical summation \sum_^ \frac diverges. This somewhat surprising result can be reconciled with the finite energy of real crystals because such crystals are not infinite, i.e. have a particular boundary. More specifically, the boundary of a polar crystal has an effective surface charge density on its surface \sigma = \mathbf \cdot \mathbf where \mathbf is the surface normal vector and \mathbf represents the net dipole moment per volume. The interaction energy U of the dipole in a central unit cell with that surface charge density can be written : U = \frac \int \frac where \mathbf_ and V_ are the net dipole moment and volume of the unit cell, dS is an infinitesimal area on the crystal surface and \mathbf is the vector from the central unit cell to the infinitesimal area. This formula results from integrating the energy dU = -\mathbf_ \cdot \mathbf where d\mathbf represents the infinitesimal electric field generated by an infinitesimal surface charge dq \ \stackrel\ \sigma dS (
Coulomb's law Coulomb's inverse-square law, or simply Coulomb's law, is an experimental law of physics that quantifies the amount of force between two stationary, electrically charged particles. The electric force between charged bodies at rest is convention ...
) : d\mathbf \ \stackrel\ \left( \frac \right) \frac = \left( \frac \right) \frac The negative sign derives from the definition of \mathbf, which points towards the charge, not away from it.


History

The Ewald summation was developed by
Paul Peter Ewald Paul Peter Ewald, FRS (January 23, 1888 in Berlin, Germany – August 22, 1985 in Ithaca, New York) was a German crystallographer and physicist, a pioneer of X-ray diffraction methods. Education Ewald received his early education in the clas ...
in 1921 (see References below) to determine the electrostatic energy (and, hence, the
Madelung constant The Madelung constant is used in determining the electrostatic potential of a single ion in a crystal by approximating the ions by point charges. It is named after Erwin Madelung, a German physicist. Because the anions and cations in an ionic sol ...
) of ionic crystals.


Scaling

Generally, different Ewald summation methods give different time complexities. Direct calculation gives O(N^2), where N is the number of atoms in the system. The PME method gives O(N\,\log N).J. Chem. Phys. 98, 10089 (1993);


See also

*
Paul Peter Ewald Paul Peter Ewald, FRS (January 23, 1888 in Berlin, Germany – August 22, 1985 in Ithaca, New York) was a German crystallographer and physicist, a pioneer of X-ray diffraction methods. Education Ewald received his early education in the clas ...
*
Madelung constant The Madelung constant is used in determining the electrostatic potential of a single ion in a crystal by approximating the ions by point charges. It is named after Erwin Madelung, a German physicist. Because the anions and cations in an ionic sol ...
*
Poisson summation formula In mathematics, the Poisson summation formula is an equation that relates the Fourier series coefficients of the periodic summation of a function to values of the function's continuous Fourier transform. Consequently, the periodic summation of ...
*
Molecular modeling Molecular modelling encompasses all methods, theoretical and computational, used to model or mimic the behaviour of molecules. The methods are used in the fields of computational chemistry, drug design, computational biology and materials scien ...
* Wolf summation


References

* * {{cite journal , last1 = Darden , first1 = T , last2 = Perera , first2 = L , last3 = Li , first3 = L , last4 = Pedersen , first4 = L , year = 1999 , title = New tricks for modelers from the crystallography toolkit: the particle mesh Ewald algorithm and its use in nucleic acid simulations , journal = Structure , volume = 7 , issue = 3, pages = R55–R60 , doi = 10.1016/S0969-2126(99)80033-1 , pmid = 10368306 , s2cid = 40964921 *Frenkel, D., & Smit, B. (2001). ''Understanding molecular simulation: from algorithms to applications'', Academic press. Electromagnetism Potential theory Fourier analysis Computational chemistry Theoretical chemistry Computational electromagnetics