25 |
|
|
26 |
|
\begin{document} |
27 |
|
|
28 |
< |
\title{Is the Ewald Summation necessary? \\ |
28 |
> |
\title{Is the Ewald summation still necessary? \\ |
29 |
|
Pairwise alternatives to the accepted standard for \\ |
30 |
< |
long-range electrostatics} |
30 |
> |
long-range electrostatics in molecular simulations} |
31 |
|
|
32 |
|
\author{Christopher J. Fennell and J. Daniel Gezelter\footnote{Corresponding author. \ Electronic mail: |
33 |
|
gezelter@nd.edu} \\ |
40 |
|
\maketitle |
41 |
|
\doublespacing |
42 |
|
|
43 |
– |
\nobibliography{} |
43 |
|
\begin{abstract} |
44 |
|
We investigate pairwise electrostatic interaction methods and show |
45 |
|
that there are viable and computationally efficient $(\mathscr{O}(N))$ |
46 |
|
alternatives to the Ewald summation for typical modern molecular |
47 |
|
simulations. These methods are extended from the damped and |
48 |
< |
cutoff-neutralized Coulombic sum originally proposed by Wolf |
49 |
< |
\textit{et al.} One of these, the damped shifted force method, shows |
48 |
> |
cutoff-neutralized Coulombic sum originally proposed by |
49 |
> |
[D. Wolf, P. Keblinski, S.~R. Phillpot, and J. Eggebrecht, {\it J. Chem. Phys.} {\bf 110}, 8255 (1999)] One of these, the damped shifted force method, shows |
50 |
|
a remarkable ability to reproduce the energetic and dynamic |
51 |
|
characteristics exhibited by simulations employing lattice summation |
52 |
|
techniques. Comparisons were performed with this and other pairwise |
53 |
< |
methods against the smooth particle mesh Ewald ({\sc spme}) summation to see |
54 |
< |
how well they reproduce the energetics and dynamics of a variety of |
55 |
< |
simulation types. |
53 |
> |
methods against the smooth particle mesh Ewald ({\sc spme}) summation |
54 |
> |
to see how well they reproduce the energetics and dynamics of a |
55 |
> |
variety of simulation types. |
56 |
|
\end{abstract} |
57 |
|
|
58 |
|
\newpage |
95 |
|
regarding possible artifacts caused by the inherent periodicity of the |
96 |
|
explicit Ewald summation.\cite{Tobias01} |
97 |
|
|
98 |
< |
In this paper, we focus on a new set of shifted methods devised by |
98 |
> |
In this paper, we focus on a new set of pairwise methods devised by |
99 |
|
Wolf {\it et al.},\cite{Wolf99} which we further extend. These |
100 |
|
methods along with a few other mixed methods (i.e. reaction field) are |
101 |
|
compared with the smooth particle mesh Ewald |
106 |
|
to the direct pairwise sum. They also lack the added periodicity of |
107 |
|
the Ewald sum, so they can be used for systems which are non-periodic |
108 |
|
or which have one- or two-dimensional periodicity. Below, these |
109 |
< |
methods are evaluated using a variety of model systems to establish |
110 |
< |
their usability in molecular simulations. |
109 |
> |
methods are evaluated using a variety of model systems to |
110 |
> |
establish their usability in molecular simulations. |
111 |
|
|
112 |
|
\subsection{The Ewald Sum} |
113 |
< |
The complete accumulation electrostatic interactions in a system with |
113 |
> |
The complete accumulation of the electrostatic interactions in a system with |
114 |
|
periodic boundary conditions (PBC) requires the consideration of the |
115 |
|
effect of all charges within a (cubic) simulation box as well as those |
116 |
|
in the periodic replicas, |
167 |
|
\begin{figure} |
168 |
|
\centering |
169 |
|
\includegraphics[width = \linewidth]{./ewaldProgression.pdf} |
170 |
< |
\caption{The change in the application of the Ewald sum with |
171 |
< |
increasing computational power. Initially, only small systems could |
172 |
< |
be studied, and the Ewald sum replicated the simulation box to |
173 |
< |
convergence. Now, much larger systems of charges are investigated |
174 |
< |
with fixed-distance cutoffs.} |
170 |
> |
\caption{The change in the need for the Ewald sum with |
171 |
> |
increasing computational power. A:~Initially, only small systems |
172 |
> |
could be studied, and the Ewald sum replicated the simulation box to |
173 |
> |
convergence. B:~Now, radial cutoff methods should be able to reach |
174 |
> |
convergence for the larger systems of charges that are common today.} |
175 |
|
\label{fig:ewaldTime} |
176 |
|
\end{figure} |
177 |
|
|
201 |
|
interfaces and membranes, the intrinsic three-dimensional periodicity |
202 |
|
can prove problematic. The Ewald sum has been reformulated to handle |
203 |
|
2D systems,\cite{Parry75,Parry76,Heyes77,deLeeuw79,Rhee89}, but the |
204 |
< |
new methods are computationally expensive.\cite{Spohr97,Yeh99} |
205 |
< |
Inclusion of a correction term in the Ewald summation is a possible |
206 |
< |
direction for handling 2D systems while still enabling the use of the |
207 |
< |
modern optimizations.\cite{Yeh99} |
204 |
> |
new methods are computationally expensive.\cite{Spohr97,Yeh99} More |
205 |
> |
recently, there have been several successful efforts toward reducing |
206 |
> |
the computational cost of 2D lattice summations, often enabling the |
207 |
> |
use of the mentioned |
208 |
> |
optimizations.\cite{Yeh99,Kawata01,Arnold02,deJoannis02,Brodka04} |
209 |
|
|
210 |
|
Several studies have recognized that the inherent periodicity in the |
211 |
|
Ewald sum can also have an effect on three-dimensional |
228 |
|
charge contained within the cutoff radius is crucial for potential |
229 |
|
stability. They devised a pairwise summation method that ensures |
230 |
|
charge neutrality and gives results similar to those obtained with the |
231 |
< |
Ewald summation. The resulting shifted Coulomb potential |
232 |
< |
(Eq. \ref{eq:WolfPot}) includes image-charges subtracted out through |
233 |
< |
placement on the cutoff sphere and a distance-dependent damping |
234 |
< |
function (identical to that seen in the real-space portion of the |
235 |
< |
Ewald sum) to aid convergence |
231 |
> |
Ewald summation. The resulting shifted Coulomb potential includes |
232 |
> |
image-charges subtracted out through placement on the cutoff sphere |
233 |
> |
and a distance-dependent damping function (identical to that seen in |
234 |
> |
the real-space portion of the Ewald sum) to aid convergence |
235 |
|
\begin{equation} |
236 |
|
V_{\textrm{Wolf}}(r_{ij})= \frac{q_i q_j \textrm{erfc}(\alpha r_{ij})}{r_{ij}}-\lim_{r_{ij}\rightarrow R_\textrm{c}}\left\{\frac{q_iq_j \textrm{erfc}(\alpha r_{ij})}{r_{ij}}\right\}. |
237 |
|
\label{eq:WolfPot} |
539 |
|
\label{fig:linearFit} |
540 |
|
\end{figure} |
541 |
|
|
542 |
< |
Each system type (detailed in section \ref{sec:RepSims}) was |
543 |
< |
represented using 500 independent configurations. Additionally, we |
544 |
< |
used seven different system types, so each of the alternative |
545 |
< |
(non-Ewald) electrostatic summation methods was evaluated using |
546 |
< |
873,250 configurational energy differences. |
542 |
> |
Each of the seven system types (detailed in section \ref{sec:RepSims}) |
543 |
> |
were represented using 500 independent configurations. Thus, each of |
544 |
> |
the alternative (non-Ewald) electrostatic summation methods was |
545 |
> |
evaluated using an accumulated 873,250 configurational energy |
546 |
> |
differences. |
547 |
|
|
548 |
|
Results and discussion for the individual analysis of each of the |
549 |
|
system types appear in the supporting information, while the |
580 |
|
between two different electrostatic summation methods, there is no |
581 |
|
{\it a priori} reason for the profile to adhere to any specific |
582 |
|
shape. Thus, gaussian fits were used to measure the width of the |
583 |
< |
resulting distributions. |
584 |
< |
% |
585 |
< |
%\begin{figure} |
586 |
< |
%\centering |
587 |
< |
%\includegraphics[width = \linewidth]{./gaussFit.pdf} |
589 |
< |
%\caption{Sample fit of the angular distribution of the force vectors |
590 |
< |
%accumulated using all of the studied systems. Gaussian fits were used |
591 |
< |
%to obtain values for the variance in force and torque vectors.} |
592 |
< |
%\label{fig:gaussian} |
593 |
< |
%\end{figure} |
594 |
< |
% |
595 |
< |
%Figure \ref{fig:gaussian} shows an example distribution with applied |
596 |
< |
%non-linear fits. The solid line is a Gaussian profile, while the |
597 |
< |
%dotted line is a Voigt profile, a convolution of a Gaussian and a |
598 |
< |
%Lorentzian. |
599 |
< |
%Since this distribution is a measure of angular error between two |
600 |
< |
%different electrostatic summation methods, there is no {\it a priori} |
601 |
< |
%reason for the profile to adhere to any specific shape. |
602 |
< |
%Gaussian fits was used to compare all the tested methods. |
603 |
< |
The variance ($\sigma^2$) was extracted from each of these fits and |
604 |
< |
was used to compare distribution widths. Values of $\sigma^2$ near |
605 |
< |
zero indicate vector directions indistinguishable from those |
606 |
< |
calculated when using the reference method ({\sc spme}). |
583 |
> |
resulting distributions. The variance ($\sigma^2$) was extracted from |
584 |
> |
each of these fits and was used to compare distribution widths. |
585 |
> |
Values of $\sigma^2$ near zero indicate vector directions |
586 |
> |
indistinguishable from those calculated when using the reference |
587 |
> |
method ({\sc spme}). |
588 |
|
|
589 |
|
\subsection{Short-time Dynamics} |
590 |
|
|
612 |
|
|
613 |
|
The effects of the same subset of alternative electrostatic methods on |
614 |
|
the {\it long-time} dynamics of charged systems were evaluated using |
615 |
< |
the same model system (NaCl crystals at 1000K). The power spectrum |
615 |
> |
the same model system (NaCl crystals at 1000~K). The power spectrum |
616 |
|
($I(\omega)$) was obtained via Fourier transform of the velocity |
617 |
|
autocorrelation function, \begin{equation} I(\omega) = |
618 |
|
\frac{1}{2\pi}\int^{\infty}_{-\infty}C_v(t)e^{-i\omega t}dt, |
622 |
|
NaCl crystal is composed of two different atom types, the average of |
623 |
|
the two resulting power spectra was used for comparisons. Simulations |
624 |
|
were performed under the microcanonical ensemble, and velocity |
625 |
< |
information was saved every 5 fs over 100 ps trajectories. |
625 |
> |
information was saved every 5~fs over 100~ps trajectories. |
626 |
|
|
627 |
|
\subsection{Representative Simulations}\label{sec:RepSims} |
628 |
< |
A variety of representative simulations were analyzed to determine the |
629 |
< |
relative effectiveness of the pairwise summation techniques in |
630 |
< |
reproducing the energetics and dynamics exhibited by {\sc spme}. We wanted |
631 |
< |
to span the space of modern simulations (i.e. from liquids of neutral |
632 |
< |
molecules to ionic crystals), so the systems studied were: |
628 |
> |
A variety of representative molecular simulations were analyzed to |
629 |
> |
determine the relative effectiveness of the pairwise summation |
630 |
> |
techniques in reproducing the energetics and dynamics exhibited by |
631 |
> |
{\sc spme}. We wanted to span the space of typical molecular |
632 |
> |
simulations (i.e. from liquids of neutral molecules to ionic |
633 |
> |
crystals), so the systems studied were: |
634 |
|
\begin{enumerate} |
635 |
|
\item liquid water (SPC/E),\cite{Berendsen87} |
636 |
|
\item crystalline water (Ice I$_\textrm{c}$ crystals of SPC/E), |
653 |
|
the crystal). The solid and liquid NaCl systems consisted of 500 |
654 |
|
$\textrm{Na}^{+}$ and 500 $\textrm{Cl}^{-}$ ions. Configurations for |
655 |
|
these systems were selected and equilibrated in the same manner as the |
656 |
< |
water systems. The equilibrated temperatures were 1000~K for the NaCl |
657 |
< |
crystal and 7000~K for the liquid. The ionic solutions were made by |
658 |
< |
solvating 4 (or 40) ions in a periodic box containing 1000 SPC/E water |
659 |
< |
molecules. Ion and water positions were then randomly swapped, and |
660 |
< |
the resulting configurations were again equilibrated individually. |
661 |
< |
Finally, for the Argon / Water ``charge void'' systems, the identities |
662 |
< |
of all the SPC/E waters within 6 \AA\ of the center of the |
663 |
< |
equilibrated water configurations were converted to argon. |
664 |
< |
%(Fig. \ref{fig:argonSlice}). |
656 |
> |
water systems. In order to introduce measurable fluctuations in the |
657 |
> |
configuration energy differences, the crystalline simulations were |
658 |
> |
equilibrated at 1000~K, near the $T_\textrm{m}$ for NaCl. The liquid |
659 |
> |
NaCl configurations needed to represent a fully disordered array of |
660 |
> |
point charges, so the high temperature of 7000~K was selected for |
661 |
> |
equilibration. The ionic solutions were made by solvating 4 (or 40) |
662 |
> |
ions in a periodic box containing 1000 SPC/E water molecules. Ion and |
663 |
> |
water positions were then randomly swapped, and the resulting |
664 |
> |
configurations were again equilibrated individually. Finally, for the |
665 |
> |
Argon / Water ``charge void'' systems, the identities of all the SPC/E |
666 |
> |
waters within 6 \AA\ of the center of the equilibrated water |
667 |
> |
configurations were converted to argon. |
668 |
|
|
669 |
|
These procedures guaranteed us a set of representative configurations |
670 |
|
from chemically-relevant systems sampled from appropriate |
671 |
|
ensembles. Force field parameters for the ions and Argon were taken |
672 |
|
from the force field utilized by {\sc oopse}.\cite{Meineke05} |
688 |
– |
|
689 |
– |
%\begin{figure} |
690 |
– |
%\centering |
691 |
– |
%\includegraphics[width = \linewidth]{./slice.pdf} |
692 |
– |
%\caption{A slice from the center of a water box used in a charge void |
693 |
– |
%simulation. The darkened region represents the boundary sphere within |
694 |
– |
%which the water molecules were converted to argon atoms.} |
695 |
– |
%\label{fig:argonSlice} |
696 |
– |
%\end{figure} |
673 |
|
|
674 |
|
\subsection{Comparison of Summation Methods}\label{sec:ESMethods} |
675 |
|
We compared the following alternative summation methods with results |
692 |
|
(i.e. Lennard-Jones interactions) were handled in exactly the same |
693 |
|
manner across all systems and configurations. |
694 |
|
|
695 |
< |
The althernative methods were also evaluated with three different |
695 |
> |
The alternative methods were also evaluated with three different |
696 |
|
cutoff radii (9, 12, and 15 \AA). As noted previously, the |
697 |
|
convergence parameter ($\alpha$) plays a role in the balance of the |
698 |
|
real-space and reciprocal-space portions of the Ewald calculation. |
1072 |
|
\centering |
1073 |
|
\includegraphics[width = \linewidth]{./increasedDamping.pdf} |
1074 |
|
\caption{Effect of damping on the two lowest-frequency phonon modes in |
1075 |
< |
the NaCl crystal at 1000K. The undamped shifted force ({\sc sf}) |
1075 |
> |
the NaCl crystal at 1000~K. The undamped shifted force ({\sc sf}) |
1076 |
|
method is off by less than 10 cm$^{-1}$, and increasing the |
1077 |
|
electrostatic damping to 0.25 \AA$^{-1}$ gives quantitative agreement |
1078 |
|
with the power spectrum obtained using the Ewald sum. Overdamping can |