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 class ...
, is a method for computing long-range interactions (e.g. electrostatic interactions) in periodic systems. It was first developed as the method for calculating electrostatic energies of ionic crystals, and is now commonly used for calculating long-range interactions in
computational chemistry Computational chemistry is a branch of chemistry that uses computer simulation to assist in solving chemical problems. It uses methods of theoretical chemistry, incorporated into computer programs, to calculate the structures and properties of mo ...
. Ewald summation is a special case of the Poisson summation formula, 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 signa ...
. 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 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, ...
. The advantage of this method is the rapid convergence 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 In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is : f(x) = \frac e^ The parameter \mu i ...
. 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 In mathematics, the Dirac delta distribution ( distribution), also known as the unit impulse, is a generalized function or distribution over the real numbers, whose value is zero everywhere except at zero, and whose integral over the entire ...
, \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 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 In geometry, a parallelepiped is a three-dimensional figure formed by six parallelograms (the term '' rhomboid'' is also sometimes used with this meaning). By analogy, it relates to a parallelogram just as a cube relates to a square. In Euclid ...
, 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, 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 experi ...
, long before the advent of computers. However, the Ewald method has enjoyed widespread use since the 1970s in
computer simulation Computer simulation is the process of mathematical modelling, performed on a computer, which is designed to predict the behaviour of, or the outcome of, a real-world or physical system. The reliability of some mathematical models can be dete ...
s of particle systems, especially those whose particles interact via an inverse square
force In physics, a force is an influence that can change the motion of an object. A force can cause an object with mass to change its velocity (e.g. moving from a state of rest), i.e., to accelerate. Force can also be described intuitively as a ...
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 str ...
or
electrostatics 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 rubbing. The Greek word for am ...
. Recently, PME has also been used to calculate the r^ part of the
Lennard-Jones potential The Lennard-Jones potential (also termed the LJ potential or 12-6 potential) is an intermolecular pair potential. Out of all the intermolecular potentials, the Lennard-Jones potential is probably the one that has been the most extensively studied ...
in order to eliminate artifacts due to truncation. Applications include simulations of plasmas,
galaxies A galaxy is a system of stars, stellar remnants, interstellar gas, dust, dark matter, bound together by gravity. The word is derived from the Greek ' (), literally 'milky', a reference to the Milky Way galaxy that contains the Solar System. ...
and
molecules A molecule is a group of two or more atoms held together by attractive forces known as chemical bonds; depending on context, the term may or may not include ions which satisfy this criterion. In quantum physics, organic chemistry, and bioc ...
. 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 transform 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, ...
s 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 A fast Fourier transform (FFT) is an algorithm that computes the discrete Fourier transform (DFT) of a sequence, or its inverse (IDFT). Fourier analysis converts a signal from its original domain (often time or space) to a representation in t ...
, 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 th ...
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 Periodic boundary conditions (PBCs) are a set of boundary conditions which are often chosen for approximating a large (infinite) system by using a small part called a ''unit cell''. PBCs are often used in computer simulations and mathematical mod ...
. 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 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, 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 conventio ...
) : 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 class ...
in 1921 (see References below) to determine the electrostatic energy (and, hence, the Madelung constant) of ionic crystals.


Scaling

Generally, different Ewald summation methods give different
time complexities In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by t ...
. 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 class ...
* Madelung constant * Poisson summation formula * Molecular modeling *
Wolf summation The Wolf summation is a method for computing the electrostatic interactions of systems (e.g. crystals). This method is generally more computationally efficient than the Ewald summation Ewald summation, named after Paul Peter Ewald, is a method f ...


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