ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/electrostaticMethodsPaper/electrostaticMethods.tex
(Generate patch)

Comparing trunk/electrostaticMethodsPaper/electrostaticMethods.tex (file contents):
Revision 2629 by chrisfen, Thu Mar 16 03:48:32 2006 UTC vs.
Revision 2669 by gezelter, Fri Mar 24 16:54:13 2006 UTC

# Line 2 | Line 2
2   %\documentclass[aps,prb,preprint]{revtex4}
3   \documentclass[11pt]{article}
4   \usepackage{endfloat}
5 < \usepackage{amsmath}
5 > \usepackage{amsmath,bm}
6   \usepackage{amssymb}
7   \usepackage{epsf}
8   \usepackage{times}
# Line 25 | Line 25
25  
26   \begin{document}
27  
28 < \title{Is the Ewald Summation necessary? Pairwise alternatives to the accepted standard for long-range electrostatics}
28 > \title{Is the Ewald summation still necessary? \\
29 > Pairwise alternatives to the accepted standard for \\
30 > long-range electrostatics}
31  
32   \author{Christopher J. Fennell and J. Daniel Gezelter\footnote{Corresponding author. \ Electronic mail:
33   gezelter@nd.edu} \\
# Line 38 | Line 40 | Notre Dame, Indiana 46556}
40   \maketitle
41   \doublespacing
42  
41 \nobibliography{}
43   \begin{abstract}
44 < A new method for accumulating electrostatic interactions was derived
45 < from the previous efforts described in \bibentry{Wolf99} and
46 < \bibentry{Zahn02} as a possible replacement for lattice sum methods in
47 < molecular simulations.  Comparisons were performed with this and other
48 < pairwise electrostatic summation techniques against the smooth
49 < particle mesh Ewald (SPME) summation to see how well they reproduce
50 < the energetics and dynamics of a variety of simulation types.  The
51 < newly derived Shifted-Force technique shows a remarkable ability to
52 < reproduce the behavior exhibited in simulations using SPME with an
53 < $\mathscr{O}(N)$ computational cost, equivalent to merely the
54 < real-space portion of the lattice summation.
55 <
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
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
54 > to see how well they reproduce the energetics and dynamics of a
55 > variety of simulation types.
56   \end{abstract}
57  
58   \newpage
# Line 65 | Line 66 | In molecular simulations, proper accumulation of the e
66   \section{Introduction}
67  
68   In molecular simulations, proper accumulation of the electrostatic
69 < interactions is considered one of the most essential and
70 < computationally demanding tasks.  The common molecular mechanics force
71 < fields are founded on representation of the atomic sites centered on
72 < full or partial charges shielded by Lennard-Jones type interactions.
73 < This means that nearly every pair interaction involves an
74 < charge-charge calculation.  Coupled with $r^{-1}$ decay, the monopole
75 < interactions quickly become a burden for molecular systems of all
76 < sizes.  For example, in small systems, the electrostatic pair
77 < interaction may not have decayed appreciably within the box length
78 < leading to an effect excluded from the pair interactions within a unit
79 < box.  In large systems, excessively large cutoffs need to be used to
80 < accurately incorporate their effect, and since the computational cost
80 < increases proportionally with the cutoff sphere, it quickly becomes an
81 < impractical task to perform these calculations.
69 > interactions is essential and is one of the most
70 > computationally-demanding tasks.  The common molecular mechanics force
71 > fields represent atomic sites with full or partial charges protected
72 > by Lennard-Jones (short range) interactions.  This means that nearly
73 > every pair interaction involves a calculation of charge-charge forces.
74 > Coupled with relatively long-ranged $r^{-1}$ decay, the monopole
75 > interactions quickly become the most expensive part of molecular
76 > simulations.  Historically, the electrostatic pair interaction would
77 > not have decayed appreciably within the typical box lengths that could
78 > be feasibly simulated.  In the larger systems that are more typical of
79 > modern simulations, large cutoffs should be used to incorporate
80 > electrostatics correctly.
81  
82 + There have been many efforts to address the proper and practical
83 + handling of electrostatic interactions, and these have resulted in a
84 + variety of techniques.\cite{Roux99,Sagui99,Tobias01} These are
85 + typically classified as implicit methods (i.e., continuum dielectrics,
86 + static dipolar fields),\cite{Born20,Grossfield00} explicit methods
87 + (i.e., Ewald summations, interaction shifting or
88 + truncation),\cite{Ewald21,Steinbach94} or a mixture of the two (i.e.,
89 + reaction field type methods, fast multipole
90 + methods).\cite{Onsager36,Rokhlin85} The explicit or mixed methods are
91 + often preferred because they physically incorporate solvent molecules
92 + in the system of interest, but these methods are sometimes difficult
93 + to utilize because of their high computational cost.\cite{Roux99} In
94 + addition to the computational cost, there have been some questions
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 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
102 + sum,\cite{Onsager36,Essmann99} which is our reference method for
103 + handling long-range electrostatic interactions. The new methods for
104 + handling electrostatics have the potential to scale linearly with
105 + increasing system size since they involve only a simple modification
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.
111 +
112   \subsection{The Ewald Sum}
113 < blah blah blah Ewald Sum Important blah blah blah
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,
117 > \begin{equation}
118 > V_\textrm{elec} = \frac{1}{2} {\sum_{\mathbf{n}}}^\prime \left[ \sum_{i=1}^N\sum_{j=1}^N \phi\left( \mathbf{r}_{ij} + L\mathbf{n},\bm{\Omega}_i,\bm{\Omega}_j\right) \right],
119 > \label{eq:PBCSum}
120 > \end{equation}
121 > where the sum over $\mathbf{n}$ is a sum over all periodic box
122 > replicas with integer coordinates $\mathbf{n} = (l,m,n)$, and the
123 > prime indicates $i = j$ are neglected for $\mathbf{n} =
124 > 0$.\cite{deLeeuw80} Within the sum, $N$ is the number of electrostatic
125 > particles, $\mathbf{r}_{ij}$ is $\mathbf{r}_j - \mathbf{r}_i$, $L$ is
126 > the cell length, $\bm{\Omega}_{i,j}$ are the Euler angles for $i$ and
127 > $j$, and $\phi$ is the solution to Poisson's equation
128 > ($\phi(\mathbf{r}_{ij}) = q_i q_j |\mathbf{r}_{ij}|^{-1}$ for
129 > charge-charge interactions). In the case of monopole electrostatics,
130 > eq. (\ref{eq:PBCSum}) is conditionally convergent and is divergent for
131 > non-neutral systems.
132  
133 + The electrostatic summation problem was originally studied by Ewald
134 + for the case of an infinite crystal.\cite{Ewald21}. The approach he
135 + took was to convert this conditionally convergent sum into two
136 + absolutely convergent summations: a short-ranged real-space summation
137 + and a long-ranged reciprocal-space summation,
138 + \begin{equation}
139 + \begin{split}
140 + V_\textrm{elec} = \frac{1}{2}& \sum_{i=1}^N\sum_{j=1}^N \Biggr[ q_i q_j\Biggr( {\sum_{\mathbf{n}}}^\prime \frac{\textrm{erfc}\left( \alpha|\mathbf{r}_{ij}+\mathbf{n}|\right)}{|\mathbf{r}_{ij}+\mathbf{n}|} \\ &+ \frac{1}{\pi L^3}\sum_{\mathbf{k}\ne 0}\frac{4\pi^2}{|\mathbf{k}|^2} \exp{\left(-\frac{\pi^2|\mathbf{k}|^2}{\alpha^2}\right) \cos\left(\mathbf{k}\cdot\mathbf{r}_{ij}\right)}\Biggr)\Biggr] \\ &- \frac{\alpha}{\pi^{1/2}}\sum_{i=1}^N q_i^2 + \frac{2\pi}{(2\epsilon_\textrm{S}+1)L^3}\left|\sum_{i=1}^N q_i\mathbf{r}_i\right|^2,
141 + \end{split}
142 + \label{eq:EwaldSum}
143 + \end{equation}
144 + where $\alpha$ is the damping or convergence parameter with units of
145 + \AA$^{-1}$, $\mathbf{k}$ are the reciprocal vectors and are equal to
146 + $2\pi\mathbf{n}/L^2$, and $\epsilon_\textrm{S}$ is the dielectric
147 + constant of the surrounding medium. The final two terms of
148 + eq. (\ref{eq:EwaldSum}) are a particle-self term and a dipolar term
149 + for interacting with a surrounding dielectric.\cite{Allen87} This
150 + dipolar term was neglected in early applications in molecular
151 + simulations,\cite{Brush66,Woodcock71} until it was introduced by de
152 + Leeuw {\it et al.} to address situations where the unit cell has a
153 + dipole moment which is magnified through replication of the periodic
154 + images.\cite{deLeeuw80,Smith81} If this term is taken to be zero, the
155 + system is said to be using conducting (or ``tin-foil'') boundary
156 + conditions, $\epsilon_{\rm S} = \infty$. Figure
157 + \ref{fig:ewaldTime} shows how the Ewald sum has been applied over
158 + time.  Initially, due to the small system sizes that could be
159 + simulated feasibly, the entire simulation box was replicated to
160 + convergence.  In more modern simulations, the systems have grown large
161 + enough that a real-space cutoff could potentially give convergent
162 + behavior.  Indeed, it has been observed that with the choice of a
163 + small $\alpha$, the reciprocal-space portion of the Ewald sum can be
164 + rapidly convergent and small relative to the real-space
165 + portion.\cite{Karasawa89,Kolafa92}
166 +
167   \begin{figure}
168   \centering
169   \includegraphics[width = \linewidth]{./ewaldProgression.pdf}
170 < \caption{How the application of the Ewald summation has changed with
171 < the increase in computer power.  Initially, only small numbers of
172 < particles could be studied, and the Ewald sum acted to replicate the
173 < unit cell charge distribution out to convergence.  Now, much larger
174 < systems of charges are investigated with fixed distance cutoffs.  The
94 < calculated structure factor is used to sum out to great distance, and
95 < a surrounding dielectric term is included.}
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 +
178 + The original Ewald summation is an $\mathscr{O}(N^2)$ algorithm.  The
179 + convergence parameter $(\alpha)$ plays an important role in balancing
180 + the computational cost between the direct and reciprocal-space
181 + portions of the summation.  The choice of this value allows one to
182 + select whether the real-space or reciprocal space portion of the
183 + summation is an $\mathscr{O}(N^2)$ calculation (with the other being
184 + $\mathscr{O}(N)$).\cite{Sagui99} With the appropriate choice of
185 + $\alpha$ and thoughtful algorithm development, this cost can be
186 + reduced to $\mathscr{O}(N^{3/2})$.\cite{Perram88} The typical route
187 + taken to reduce the cost of the Ewald summation even further is to set
188 + $\alpha$ such that the real-space interactions decay rapidly, allowing
189 + for a short spherical cutoff. Then the reciprocal space summation is
190 + optimized.  These optimizations usually involve utilization of the
191 + fast Fourier transform (FFT),\cite{Hockney81} leading to the
192 + particle-particle particle-mesh (P3M) and particle mesh Ewald (PME)
193 + methods.\cite{Shimada93,Luty94,Luty95,Darden93,Essmann95} In these
194 + methods, the cost of the reciprocal-space portion of the Ewald
195 + summation is reduced from $\mathscr{O}(N^2)$ down to $\mathscr{O}(N
196 + \log N)$.
197  
198 + These developments and optimizations have made the use of the Ewald
199 + summation routine in simulations with periodic boundary
200 + conditions. However, in certain systems, such as vapor-liquid
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}
208 +
209 + Several studies have recognized that the inherent periodicity in the
210 + Ewald sum can also have an effect on three-dimensional
211 + systems.\cite{Roberts94,Roberts95,Luty96,Hunenberger99a,Hunenberger99b,Weber00}
212 + Solvated proteins are essentially kept at high concentration due to
213 + the periodicity of the electrostatic summation method.  In these
214 + systems, the more compact folded states of a protein can be
215 + artificially stabilized by the periodic replicas introduced by the
216 + Ewald summation.\cite{Weber00} Thus, care must be taken when
217 + considering the use of the Ewald summation where the assumed
218 + periodicity would introduce spurious effects in the system dynamics.
219 +
220   \subsection{The Wolf and Zahn Methods}
221   In a recent paper by Wolf \textit{et al.}, a procedure was outlined
222   for the accurate accumulation of electrostatic interactions in an
223 < efficient pairwise fashion.\cite{Wolf99} Wolf \textit{et al.} observed
224 < that the electrostatic interaction is effectively short-ranged in
225 < condensed phase systems and that neutralization of the charge
226 < contained within the cutoff radius is crucial for potential
223 > efficient pairwise fashion.  This procedure lacks the inherent
224 > periodicity of the Ewald summation.\cite{Wolf99} Wolf \textit{et al.}
225 > observed that the electrostatic interaction is effectively
226 > short-ranged in condensed phase systems and that neutralization of the
227 > charge contained within the cutoff radius is crucial for potential
228   stability. They devised a pairwise summation method that ensures
229 < charge neutrality and gives results similar to those obtained with
230 < the Ewald summation.  The resulting shifted Coulomb potential
231 < (Eq. \ref{eq:WolfPot}) includes image-charges subtracted out through
232 < placement on the cutoff sphere and a distance-dependent damping
233 < function (identical to that seen in the real-space portion of the
112 < Ewald sum) to aid convergence
229 > charge neutrality and gives results similar to those obtained with the
230 > Ewald summation.  The resulting shifted Coulomb potential includes
231 > image-charges subtracted out through placement on the cutoff sphere
232 > and a distance-dependent damping function (identical to that seen in
233 > the real-space portion of the Ewald sum) to aid convergence
234   \begin{equation}
235 < V_{\textrm{Wolf}}(r_{ij})= \frac{q_iq_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\}.
235 > 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\}.
236   \label{eq:WolfPot}
237   \end{equation}
238   Eq. (\ref{eq:WolfPot}) is essentially the common form of a shifted
# Line 126 | Line 247 | procedure gives an expression for the forces,
247   derivative of this potential prior to evaluation of the limit.  This
248   procedure gives an expression for the forces,
249   \begin{equation}
250 < F_{\textrm{Wolf}}(r_{ij}) = q_i q_j\left\{-\left[\frac{\textrm{erfc}(\alpha r_{ij})}{r^2_{ij}}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{(-\alpha^2r_{ij}^2)}}{r_{ij}}\right]+\left[\frac{\textrm{erfc}\left(\alpha R_{\textrm{c}}\right)}{R_{\textrm{c}}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2R_{\textrm{c}}^2\right)}}{R_{\textrm{c}}}\right]\right\},
250 > F_{\textrm{Wolf}}(r_{ij}) = q_i q_j\left\{\left[\frac{\textrm{erfc}\left(\alpha r_{ij}\right)}{r^2_{ij}}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2r_{ij}^2\right)}}{r_{ij}}\right]-\left[\frac{\textrm{erfc}\left(\alpha R_{\textrm{c}}\right)}{R_{\textrm{c}}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2R_{\textrm{c}}^2\right)}}{R_{\textrm{c}}}\right]\right\},
251   \label{eq:WolfForces}
252   \end{equation}
253   that incorporates both image charges and damping of the electrostatic
# Line 136 | Line 257 | the potential are not commensurate.  Attempts to use b
257   force expressions for use in simulations involving water.\cite{Zahn02}
258   In their work, they pointed out that the forces and derivative of
259   the potential are not commensurate.  Attempts to use both
260 < Eqs. (\ref{eq:WolfPot}) and (\ref{eq:WolfForces}) together will lead
260 > eqs. (\ref{eq:WolfPot}) and (\ref{eq:WolfForces}) together will lead
261   to poor energy conservation.  They correctly observed that taking the
262   limit shown in equation (\ref{eq:WolfPot}) {\it after} calculating the
263   derivatives gives forces for a different potential energy function
264 < than the one shown in Eq. (\ref{eq:WolfPot}).
264 > than the one shown in eq. (\ref{eq:WolfPot}).
265  
266 < Zahn \textit{et al.} proposed a modified form of this ``Wolf summation
267 < method'' as a way to use this technique in Molecular Dynamics
268 < simulations.  Taking the integral of the forces shown in equation
148 < \ref{eq:WolfForces}, they proposed a new damped Coulomb
149 < potential,
266 > Zahn \textit{et al.} introduced a modified form of this summation
267 > method as a way to use the technique in Molecular Dynamics
268 > simulations.  They proposed a new damped Coulomb potential,
269   \begin{equation}
270 < V_{\textrm{Zahn}}(r_{ij}) = q_iq_j\left\{\frac{\mathrm{erfc}\left(\alpha r_{ij}\right)}{r_{ij}}-\left[\frac{\mathrm{erfc}\left(\alpha R_\mathrm{c}\right)}{R_\mathrm{c}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp\left(-\alpha^2R_\mathrm{c}^2\right)}{R_\mathrm{c}}\right]\left(r_{ij}-R_\mathrm{c}\right)\right\}.
270 > V_{\textrm{Zahn}}(r_{ij}) = q_iq_j\left\{\frac{\mathrm{erfc}\left(\alpha r_{ij}\right)}{r_{ij}}-\left[\frac{\mathrm{erfc}\left(\alpha R_\mathrm{c}\right)}{R_\mathrm{c}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp\left(-\alpha^2R_\mathrm{c}^2\right)}{R_\mathrm{c}}\right]\left(r_{ij}-R_\mathrm{c}\right)\right\},
271   \label{eq:ZahnPot}
272   \end{equation}
273 < They showed that this potential does fairly well at capturing the
273 > and showed that this potential does fairly well at capturing the
274   structural and dynamic properties of water compared the same
275   properties obtained using the Ewald sum.
276  
# Line 182 | Line 301 | shifted potential,
301   \textit{et al.}  and Zahn \textit{et al.} by considering the standard
302   shifted potential,
303   \begin{equation}
304 < v_\textrm{SP}(r) =      \begin{cases}
304 > V_\textrm{SP}(r) =      \begin{cases}
305   v(r)-v_\textrm{c} &\quad r\leqslant R_\textrm{c} \\ 0 &\quad r >
306   R_\textrm{c}  
307   \end{cases},
# Line 190 | Line 309 | and shifted force,
309   \end{equation}
310   and shifted force,
311   \begin{equation}
312 < v_\textrm{SF}(r) =      \begin{cases}
312 > V_\textrm{SF}(r) =      \begin{cases}
313   v(r)-v_\textrm{c}-\left(\frac{d v(r)}{d r}\right)_{r=R_\textrm{c}}(r-R_\textrm{c})
314   &\quad r\leqslant R_\textrm{c} \\ 0 &\quad r > R_\textrm{c}
315                                                  \end{cases},
# Line 206 | Line 325 | of the unshifted potential itself (when inside the cut
325   The forces associated with the shifted potential are simply the forces
326   of the unshifted potential itself (when inside the cutoff sphere),
327   \begin{equation}
328 < F_{\textrm{SP}} = \left( \frac{d v(r)}{dr} \right),
328 > F_{\textrm{SP}} = -\left( \frac{d v(r)}{dr} \right),
329   \end{equation}
330   and are zero outside.  Inside the cutoff sphere, the forces associated
331   with the shifted force form can be written,
332   \begin{equation}
333 < F_{\textrm{SF}} = \left( \frac{d v(r)}{dr} \right) - \left(\frac{d
333 > F_{\textrm{SF}} = -\left( \frac{d v(r)}{dr} \right) + \left(\frac{d
334   v(r)}{dr} \right)_{r=R_\textrm{c}}.
335   \end{equation}
336  
337 < If the potential ($v(r)$) is taken to be the normal Coulomb potential,
337 > If the potential, $v(r)$, is taken to be the normal Coulomb potential,
338   \begin{equation}
339   v(r) = \frac{q_i q_j}{r},
340   \label{eq:Coulomb}
# Line 226 | Line 345 | r\leqslant R_\textrm{c},
345   V_\textrm{SP}(r) =
346   q_iq_j\left(\frac{1}{r}-\frac{1}{R_\textrm{c}}\right) \quad
347   r\leqslant R_\textrm{c},
348 < \label{eq:WolfSP}
348 > \label{eq:SPPot}
349   \end{equation}
350   with associated forces,
351   \begin{equation}
352 < F_\textrm{SP}(r) = q_iq_j\left(-\frac{1}{r^2}\right) \quad r\leqslant R_\textrm{c}.
353 < \label{eq:FWolfSP}
352 > F_\textrm{SP}(r) = q_iq_j\left(\frac{1}{r^2}\right) \quad r\leqslant R_\textrm{c}.
353 > \label{eq:SPForces}
354   \end{equation}
355   These forces are identical to the forces of the standard Coulomb
356   interaction, and cutting these off at $R_c$ was addressed by Wolf
# Line 250 | Line 369 | with associated forces,
369   \end{equation}
370   with associated forces,
371   \begin{equation}
372 < F_\textrm{SF}(r =  q_iq_j\left(-\frac{1}{r^2}+\frac{1}{R_\textrm{c}^2}\right) \quad r\leqslant R_\textrm{c}.
372 > F_\textrm{SF}(r) =  q_iq_j\left(\frac{1}{r^2}-\frac{1}{R_\textrm{c}^2}\right) \quad r\leqslant R_\textrm{c}.
373   \label{eq:SFForces}
374   \end{equation}
375   This formulation has the benefits that there are no discontinuities at
376 < the cutoff distance, while the neutralizing image charges are present
377 < in both the energy and force expressions.  It would be simple to add
378 < the self-neutralizing term back when computing the total energy of the
376 > the cutoff radius, while the neutralizing image charges are present in
377 > both the energy and force expressions.  It would be simple to add the
378 > self-neutralizing term back when computing the total energy of the
379   system, thereby maintaining the agreement with the Madelung energies.
380   A side effect of this treatment is the alteration in the shape of the
381   potential that comes from the derivative term.  Thus, a degree of
# Line 264 | Line 383 | Wolf \textit{et al.} originally discussed the energeti
383   to gain functionality in dynamics simulations.
384  
385   Wolf \textit{et al.} originally discussed the energetics of the
386 < shifted Coulomb potential (Eq. \ref{eq:WolfSP}), and they found that
387 < it was still insufficient for accurate determination of the energy
388 < with reasonable cutoff distances.  The calculated Madelung energies
389 < fluctuate around the expected value with increasing cutoff radius, but
390 < the oscillations converge toward the correct value.\cite{Wolf99} A
386 > shifted Coulomb potential (Eq. \ref{eq:SPPot}) and found that it was
387 > insufficient for accurate determination of the energy with reasonable
388 > cutoff distances.  The calculated Madelung energies fluctuated around
389 > the expected value as the cutoff radius was increased, but the
390 > oscillations converged toward the correct value.\cite{Wolf99} A
391   damping function was incorporated to accelerate the convergence; and
392 < though alternative functional forms could be
392 > though alternative forms for the damping function could be
393   used,\cite{Jones56,Heyes81} the complimentary error function was
394   chosen to mirror the effective screening used in the Ewald summation.
395   Incorporating this error function damping into the simple Coulomb
# Line 279 | Line 398 | v(r) = \frac{\mathrm{erfc}\left(\alpha r\right)}{r},
398   v(r) = \frac{\mathrm{erfc}\left(\alpha r\right)}{r},
399   \label{eq:dampCoulomb}
400   \end{equation}
401 < the shifted potential (Eq. (\ref{eq:WolfSP})) can be recovered
283 < using eq. (\ref{eq:shiftingForm}),
401 > the shifted potential (eq. (\ref{eq:SPPot})) becomes
402   \begin{equation}
403 < v_{\textrm{DSP}}(r) = q_iq_j\left(\frac{\textrm{erfc}(\alpha r)}{r}-\frac{\textrm{erfc}(\alpha R_\textrm{c})}{R_\textrm{c}}\right) \quad r\leqslant R_\textrm{c},
403 > V_{\textrm{DSP}}(r) = q_iq_j\left(\frac{\textrm{erfc}\left(\alpha r\right)}{r}-\frac{\textrm{erfc}\left(\alpha R_\textrm{c}\right)}{R_\textrm{c}}\right) \quad r\leqslant R_\textrm{c},
404   \label{eq:DSPPot}
405   \end{equation}
406   with associated forces,
407   \begin{equation}
408 < f_{\textrm{DSP}}(r) = q_iq_j\left(-\frac{\textrm{erfc}(\alpha r)}{r^2}-\frac{2\alpha}{\pi^{1/2}}\frac{\exp{(-\alpha^2r^2)}}{r}\right) \quad r\leqslant R_\textrm{c}.
408 > F_{\textrm{DSP}}(r) = q_iq_j\left(\frac{\textrm{erfc}\left(\alpha r\right)}{r^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2r^2\right)}}{r}\right) \quad r\leqslant R_\textrm{c}.
409   \label{eq:DSPForces}
410   \end{equation}
411 < Again, this damped shifted potential suffers from a discontinuity and
412 < a lack of the image charges in the forces.  To remedy these concerns,
413 < one may derive a {\sc sf} variant by including  the derivative
414 < term in eq. (\ref{eq:shiftingForm}),
411 > Again, this damped shifted potential suffers from a
412 > force-discontinuity at the cutoff radius, and the image charges play
413 > no role in the forces.  To remedy these concerns, one may derive a
414 > {\sc sf} variant by including the derivative term in
415 > eq. (\ref{eq:shiftingForm}),
416   \begin{equation}
417   \begin{split}
418 < v_\mathrm{DSF}(r) = q_iq_j\Biggr{[}&\frac{\mathrm{erfc}\left(\alpha r\right)}{r}-\frac{\mathrm{erfc}\left(\alpha R_\mathrm{c}\right)}{R_\mathrm{c}} \\ &\left.+\left(\frac{\mathrm{erfc}\left(\alpha R_\mathrm{c}\right)}{R_\mathrm{c}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp\left(-\alpha^2R_\mathrm{c}^2\right)}{R_\mathrm{c}}\right)\left(r-R_\mathrm{c}\right)\ \right] \quad r\leqslant R_\textrm{c}.
418 > V_\mathrm{DSF}(r) = q_iq_j\Biggr{[}&\frac{\mathrm{erfc}\left(\alpha r\right)}{r}-\frac{\mathrm{erfc}\left(\alpha R_\mathrm{c}\right)}{R_\mathrm{c}} \\ &\left.+\left(\frac{\mathrm{erfc}\left(\alpha R_\mathrm{c}\right)}{R_\mathrm{c}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp\left(-\alpha^2R_\mathrm{c}^2\right)}{R_\mathrm{c}}\right)\left(r-R_\mathrm{c}\right)\ \right] \quad r\leqslant R_\textrm{c}.
419   \label{eq:DSFPot}
420   \end{split}
421   \end{equation}
422 < The derivative of the above potential gives the following forces,
422 > The derivative of the above potential will lead to the following forces,
423   \begin{equation}
424   \begin{split}
425 < f_\mathrm{DSF}(r) = q_iq_j\Biggr{[}&-\left(\frac{\textrm{erfc}(\alpha r)}{r^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{(-\alpha^2r^2)}}{r}\right) \\ &\left.+\left(\frac{\textrm{erfc}(\alpha R_{\textrm{c}})}{R_{\textrm{c}}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2R_{\textrm{c}}^2\right)}}{R_{\textrm{c}}}\right)\right] \quad r\leqslant R_\textrm{c}.
425 > F_\mathrm{DSF}(r) = q_iq_j\Biggr{[}&\left(\frac{\textrm{erfc}\left(\alpha r\right)}{r^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2r^2\right)}}{r}\right) \\ &\left.-\left(\frac{\textrm{erfc}\left(\alpha R_{\textrm{c}}\right)}{R_{\textrm{c}}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2R_{\textrm{c}}^2\right)}}{R_{\textrm{c}}}\right)\right] \quad r\leqslant R_\textrm{c}.
426   \label{eq:DSFForces}
427   \end{split}
428   \end{equation}
429 + If the damping parameter $(\alpha)$ is set to zero, the undamped case,
430 + eqs. (\ref{eq:SPPot} through \ref{eq:SFForces}) are correctly
431 + recovered from eqs. (\ref{eq:DSPPot} through \ref{eq:DSFForces}).
432  
433 < This new {\sc sf} potential is similar to equation
434 < \ref{eq:ZahnPot} derived by Zahn \textit{et al.}; however, there are
435 < two important differences.\cite{Zahn02} First, the $v_\textrm{c}$ term
436 < from eq. (\ref{eq:shiftingForm}) is equal to
437 < eq. (\ref{eq:dampCoulomb}) with $r$ replaced by $R_\textrm{c}$.  This
438 < term is {\it not} present in the Zahn potential, resulting in a
439 < potential discontinuity as particles cross $R_\textrm{c}$.  Second,
440 < the sign of the derivative portion is different.  The missing
441 < $v_\textrm{c}$ term would not affect molecular dynamics simulations
442 < (although the computed energy would be expected to have sudden jumps
443 < as particle distances crossed $R_c$).  The sign problem would be a
444 < potential source of errors, however.  In fact, it introduces a
445 < discontinuity in the forces at the cutoff, because the force function
446 < is shifted in the wrong direction and doesn't cross zero at
325 < $R_\textrm{c}$.  
433 > This new {\sc sf} potential is similar to equation \ref{eq:ZahnPot}
434 > derived by Zahn \textit{et al.}; however, there are two important
435 > differences.\cite{Zahn02} First, the $v_\textrm{c}$ term from
436 > eq. (\ref{eq:shiftingForm}) is equal to eq. (\ref{eq:dampCoulomb})
437 > with $r$ replaced by $R_\textrm{c}$.  This term is {\it not} present
438 > in the Zahn potential, resulting in a potential discontinuity as
439 > particles cross $R_\textrm{c}$.  Second, the sign of the derivative
440 > portion is different.  The missing $v_\textrm{c}$ term would not
441 > affect molecular dynamics simulations (although the computed energy
442 > would be expected to have sudden jumps as particle distances crossed
443 > $R_c$).  The sign problem is a potential source of errors, however.
444 > In fact, it introduces a discontinuity in the forces at the cutoff,
445 > because the force function is shifted in the wrong direction and
446 > doesn't cross zero at $R_\textrm{c}$.
447  
448   Eqs. (\ref{eq:DSFPot}) and (\ref{eq:DSFForces}) result in an
449 < electrostatic summation method that is continuous in both the
450 < potential and forces and which incorporates the damping function
451 < proposed by Wolf \textit{et al.}\cite{Wolf99} In the rest of this
452 < paper, we will evaluate exactly how good these methods ({\sc sp}, {\sc
453 < sf}, damping) are at reproducing the correct electrostatic summation
454 < performed by the Ewald sum.
449 > electrostatic summation method in which the potential and forces are
450 > continuous at the cutoff radius and which incorporates the damping
451 > function proposed by Wolf \textit{et al.}\cite{Wolf99} In the rest of
452 > this paper, we will evaluate exactly how good these methods ({\sc sp},
453 > {\sc sf}, damping) are at reproducing the correct electrostatic
454 > summation performed by the Ewald sum.
455  
456   \subsection{Other alternatives}
457 < In addition to the methods described above, we will consider some
458 < other techniques that commonly get used in molecular simulations.  The
457 > In addition to the methods described above, we considered some other
458 > techniques that are commonly used in molecular simulations.  The
459   simplest of these is group-based cutoffs.  Though of little use for
460 < non-neutral molecules, collecting atoms into neutral groups takes
460 > charged molecules, collecting atoms into neutral groups takes
461   advantage of the observation that the electrostatic interactions decay
462   faster than those for monopolar pairs.\cite{Steinbach94} When
463 < considering these molecules as groups, an orientational aspect is
464 < introduced to the interactions.  Consequently, as these molecular
465 < particles move through $R_\textrm{c}$, the energy will drift upward
466 < due to the anisotropy of the net molecular dipole
467 < interactions.\cite{Rahman71} To maintain good energy conservation,
468 < both the potential and derivative need to be smoothly switched to zero
469 < at $R_\textrm{c}$.\cite{Adams79} This is accomplished using a
470 < switching function,
471 < \begin{equation}
472 < S(r) = \begin{cases} 1 &\quad r\leqslant r_\textrm{sw} \\
352 < \frac{(R_\textrm{c}+2r-3r_\textrm{sw})(R_\textrm{c}-r)^2}{(R_\textrm{c}-r_\textrm{sw})^3} &\quad r_\textrm{sw}<r\leqslant R_\textrm{c} \\
353 < 0 &\quad r>R_\textrm{c}
354 < \end{cases},
355 < \end{equation}
356 < where the above form is for a cubic function.  If a smooth second
357 < derivative is desired, a fifth (or higher) order polynomial can be
358 < used.\cite{Andrea83}
463 > considering these molecules as neutral groups, the relative
464 > orientations of the molecules control the strength of the interactions
465 > at the cutoff radius.  Consequently, as these molecular particles move
466 > through $R_\textrm{c}$, the energy will drift upward due to the
467 > anisotropy of the net molecular dipole interactions.\cite{Rahman71} To
468 > maintain good energy conservation, both the potential and derivative
469 > need to be smoothly switched to zero at $R_\textrm{c}$.\cite{Adams79}
470 > This is accomplished using a standard switching function.  If a smooth
471 > second derivative is desired, a fifth (or higher) order polynomial can
472 > be used.\cite{Andrea83}
473  
474   Group-based cutoffs neglect the surroundings beyond $R_\textrm{c}$,
475 < and to incorporate their effect, a method like Reaction Field ({\sc
476 < rf}) can be used.  The orignal theory for {\sc rf} was originally
477 < developed by Onsager,\cite{Onsager36} and it was applied in
478 < simulations for the study of water by Barker and Watts.\cite{Barker73}
479 < In application, it is simply an extension of the group-based cutoff
480 < method where the net dipole within the cutoff sphere polarizes an
481 < external dielectric, which reacts back on the central dipole.  The
482 < same switching function considerations for group-based cutoffs need to
483 < made for {\sc rf}, with the additional prespecification of a
484 < dielectric constant.
475 > and to incorporate the effects of the surroundings, a method like
476 > Reaction Field ({\sc rf}) can be used.  The original theory for {\sc
477 > rf} was originally developed by Onsager,\cite{Onsager36} and it was
478 > applied in simulations for the study of water by Barker and
479 > Watts.\cite{Barker73} In modern simulation codes, {\sc rf} is simply
480 > an extension of the group-based cutoff method where the net dipole
481 > within the cutoff sphere polarizes an external dielectric, which
482 > reacts back on the central dipole.  The same switching function
483 > considerations for group-based cutoffs need to made for {\sc rf}, with
484 > the additional pre-specification of a dielectric constant.
485  
486   \section{Methods}
487  
# Line 377 | Line 491 | particle sites, but they use these summations in diffe
491   techniques utilize pairwise summations of interactions between
492   particle sites, but they use these summations in different ways.
493  
494 < In MC, the potential energy difference between two subsequent
495 < configurations dictates the progression of MC sampling.  Going back to
496 < the origins of this method, the acceptance criterion for the canonical
497 < ensemble laid out by Metropolis \textit{et al.} states that a
498 < subsequent configuration is accepted if $\Delta E < 0$ or if $\xi <
499 < \exp(-\Delta E/kT)$, where $\xi$ is a random number between 0 and
500 < 1.\cite{Metropolis53} Maintaining the correct $\Delta E$ when using an
501 < alternate method for handling the long-range electrostatics will
502 < ensure proper sampling from the ensemble.
494 > In MC, the potential energy difference between configurations dictates
495 > the progression of MC sampling.  Going back to the origins of this
496 > method, the acceptance criterion for the canonical ensemble laid out
497 > by Metropolis \textit{et al.} states that a subsequent configuration
498 > is accepted if $\Delta E < 0$ or if $\xi < \exp(-\Delta E/kT)$, where
499 > $\xi$ is a random number between 0 and 1.\cite{Metropolis53}
500 > Maintaining the correct $\Delta E$ when using an alternate method for
501 > handling the long-range electrostatics will ensure proper sampling
502 > from the ensemble.
503  
504   In MD, the derivative of the potential governs how the system will
505   progress in time.  Consequently, the force and torque vectors on each
# Line 398 | Line 512 | vectors will diverge from each other more rapidly.
512   vectors will diverge from each other more rapidly.
513  
514   \subsection{Monte Carlo and the Energy Gap}\label{sec:MCMethods}
515 +
516   The pairwise summation techniques (outlined in section
517   \ref{sec:ESMethods}) were evaluated for use in MC simulations by
518   studying the energy differences between conformations.  We took the
519 < SPME-computed energy difference between two conformations to be the
519 > {\sc spme}-computed energy difference between two conformations to be the
520   correct behavior. An ideal performance by an alternative method would
521 < reproduce these energy differences exactly.  Since none of the methods
522 < provide exact energy differences, we used linear least squares
523 < regressions of the $\Delta E$ values between configurations using SPME
524 < against $\Delta E$ values using tested methods provides a quantitative
525 < comparison of this agreement.  Unitary results for both the
526 < correlation and correlation coefficient for these regressions indicate
527 < equivalent energetic results between the method under consideration
528 < and electrostatics handled using SPME.  Sample correlation plots for
529 < two alternate methods are shown in Fig. \ref{fig:linearFit}.
521 > reproduce these energy differences exactly (even if the absolute
522 > energies calculated by the methods are different).  Since none of the
523 > methods provide exact energy differences, we used linear least squares
524 > regressions of energy gap data to evaluate how closely the methods
525 > mimicked the Ewald energy gaps.  Unitary results for both the
526 > correlation (slope) and correlation coefficient for these regressions
527 > indicate perfect agreement between the alternative method and {\sc spme}.
528 > Sample correlation plots for two alternate methods are shown in
529 > Fig. \ref{fig:linearFit}.
530  
531   \begin{figure}
532   \centering
533   \includegraphics[width = \linewidth]{./dualLinear.pdf}
534 < \caption{Example least squares regressions of the configuration energy differences for SPC/E water systems. The upper plot shows a data set with a poor correlation coefficient ($R^2$), while the lower plot shows a data set with a good correlation coefficient.}
535 < \label{fig:linearFit}
534 > \caption{Example least squares regressions of the configuration energy
535 > differences for SPC/E water systems. The upper plot shows a data set
536 > with a poor correlation coefficient ($R^2$), while the lower plot
537 > shows a data set with a good correlation coefficient.}
538 > \label{fig:linearFit}
539   \end{figure}
540  
541   Each system type (detailed in section \ref{sec:RepSims}) was
542   represented using 500 independent configurations.  Additionally, we
543 < used seven different system types, so each of the alternate
543 > used seven different system types, so each of the alternative
544   (non-Ewald) electrostatic summation methods was evaluated using
545   873,250 configurational energy differences.
546  
# Line 435 | Line 553 | comparing the force and torque vectors with those obta
553   We evaluated the pairwise methods (outlined in section
554   \ref{sec:ESMethods}) for use in MD simulations by
555   comparing the force and torque vectors with those obtained using the
556 < reference Ewald summation (SPME).  Both the magnitude and the
556 > reference Ewald summation ({\sc spme}).  Both the magnitude and the
557   direction of these vectors on each of the bodies in the system were
558   analyzed.  For the magnitude of these vectors, linear least squares
559   regression analyses were performed as described previously for
# Line 450 | Line 568 | investigated through measurement of the angle ($\theta
568  
569   The {\it directionality} of the force and torque vectors was
570   investigated through measurement of the angle ($\theta$) formed
571 < between those computed from the particular method and those from SPME,
571 > between those computed from the particular method and those from {\sc spme},
572   \begin{equation}
573 < \theta_f = \cos^{-1} \hat{f}_\textrm{SPME} \cdot \hat{f}_\textrm{Method},
573 > \theta_f = \cos^{-1} \left(\hat{F}_\textrm{SPME} \cdot \hat{F}_\textrm{M}\right),
574   \end{equation}
575 < where $\hat{f}_\textrm{M}$ is the unit vector pointing along the
576 < force vector computed using method $M$.  
577 <
578 < Each of these $\theta$ values was accumulated in a distribution
461 < function, weighted by the area on the unit sphere.  Non-linear
462 < Gaussian fits were used to measure the width of the resulting
463 < distributions.
464 <
465 < \begin{figure}
466 < \centering
467 < \includegraphics[width = \linewidth]{./gaussFit.pdf}
468 < \caption{Sample fit of the angular distribution of the force vectors over all of the studied systems.  Gaussian fits were used to obtain values for the variance in force and torque vectors used in the following figure.}
469 < \label{fig:gaussian}
470 < \end{figure}
471 <
472 < Figure \ref{fig:gaussian} shows an example distribution with applied
473 < non-linear fits.  The solid line is a Gaussian profile, while the
474 < dotted line is a Voigt profile, a convolution of a Gaussian and a
475 < Lorentzian.  Since this distribution is a measure of angular error
575 > where $\hat{F}_\textrm{M}$ is the unit vector pointing along the force
576 > vector computed using method M.  Each of these $\theta$ values was
577 > accumulated in a distribution function and weighted by the area on the
578 > unit sphere.  Since this distribution is a measure of angular error
579   between two different electrostatic summation methods, there is no
580 < {\it a priori} reason for the profile to adhere to any specific shape.
581 < Gaussian fits was used to compare all the tested methods.  The
582 < variance ($\sigma^2$) was extracted from each of these fits and was
583 < used to compare distribution widths.  Values of $\sigma^2$ near zero
584 < indicate vector directions indistinguishable from those calculated
585 < when using the reference method (SPME).
580 > {\it a priori} reason for the profile to adhere to any specific
581 > shape. Thus, gaussian fits were used to measure the width of the
582 > resulting distributions. The variance ($\sigma^2$) was extracted from
583 > each of these fits and was used to compare distribution widths.
584 > Values of $\sigma^2$ near zero indicate vector directions
585 > indistinguishable from those calculated when using the reference
586 > method ({\sc spme}).
587  
588   \subsection{Short-time Dynamics}
589  
590 < \subsection{Long-Time and Collective Motion}\label{sec:LongTimeMethods}
591 < Evaluation of the long-time dynamics of charged systems was performed
592 < by considering the NaCl crystal system while using a subset of the
593 < best performing pairwise methods.  The NaCl crystal was chosen to
594 < avoid possible complications involving the propagation techniques of
595 < orientational motion in molecular systems.  To enhance the atomic
596 < motion, these crystals were equilibrated at 1000 K, near the
597 < experimental $T_m$ for NaCl.  Simulations were performed under the
598 < microcanonical ensemble, and velocity autocorrelation functions
599 < (Eq. \ref{eq:vCorr}) were computed for each of the trajectories,
590 > The effects of the alternative electrostatic summation methods on the
591 > short-time dynamics of charged systems were evaluated by considering a
592 > NaCl crystal at a temperature of 1000 K.  A subset of the best
593 > performing pairwise methods was used in this comparison.  The NaCl
594 > crystal was chosen to avoid possible complications from the treatment
595 > of orientational motion in molecular systems.  All systems were
596 > started with the same initial positions and velocities.  Simulations
597 > were performed under the microcanonical ensemble, and velocity
598 > autocorrelation functions (Eq. \ref{eq:vCorr}) were computed for each
599 > of the trajectories,
600   \begin{equation}
601 < C_v(t) = \langle v_i(0)\cdot v_i(t)\rangle.
601 > C_v(t) = \frac{\langle v(0)\cdot v(t)\rangle}{\langle v^2\rangle}.
602   \label{eq:vCorr}
603   \end{equation}
604 < Velocity autocorrelation functions require detailed short time data
605 < and long trajectories for good statistics, thus velocity information
606 < was saved every 5 fs over 100 ps trajectories.  The power spectrum
607 < ($I(\omega)$) is obtained via Fourier transform of the autocorrelation
608 < function
609 < \begin{equation}
610 < I(\omega) = \frac{1}{2\pi}\int^{\infty}_{-\infty}C_v(t)e^{-i\omega t}dt,
604 > Velocity autocorrelation functions require detailed short time data,
605 > thus velocity information was saved every 2 fs over 10 ps
606 > trajectories. Because the NaCl crystal is composed of two different
607 > atom types, the average of the two resulting velocity autocorrelation
608 > functions was used for comparisons.
609 >
610 > \subsection{Long-Time and Collective Motion}\label{sec:LongTimeMethods}
611 >
612 > The effects of the same subset of alternative electrostatic methods on
613 > the {\it long-time} dynamics of charged systems were evaluated using
614 > the same model system (NaCl crystals at 1000~K).  The power spectrum
615 > ($I(\omega)$) was obtained via Fourier transform of the velocity
616 > autocorrelation function, \begin{equation} I(\omega) =
617 > \frac{1}{2\pi}\int^{\infty}_{-\infty}C_v(t)e^{-i\omega t}dt,
618   \label{eq:powerSpec}
619   \end{equation}
620 < where the frequency, $\omega=0,\ 1,\ ...,\ N-1$.
620 > where the frequency, $\omega=0,\ 1,\ ...,\ N-1$. Again, because the
621 > NaCl crystal is composed of two different atom types, the average of
622 > the two resulting power spectra was used for comparisons. Simulations
623 > were performed under the microcanonical ensemble, and velocity
624 > information was saved every 5 fs over 100 ps trajectories.
625  
626   \subsection{Representative Simulations}\label{sec:RepSims}
627 < A variety of common and representative simulations were analyzed to
628 < determine the relative effectiveness of the pairwise summation
629 < techniques in reproducing the energetics and dynamics exhibited by
630 < SPME.  The studied systems were as follows:
627 > A variety of representative simulations were analyzed to determine the
628 > relative effectiveness of the pairwise summation techniques in
629 > reproducing the energetics and dynamics exhibited by {\sc spme}.  We wanted
630 > to span the space of modern simulations (i.e. from liquids of neutral
631 > molecules to ionic crystals), so the systems studied were:
632   \begin{enumerate}
633 < \item Liquid Water
634 < \item Crystalline Water (Ice I$_\textrm{c}$)
635 < \item NaCl Crystal
636 < \item NaCl Melt
637 < \item Low Ionic Strength Solution of NaCl in Water
638 < \item High Ionic Strength Solution of NaCl in Water
639 < \item 6 \AA\  Radius Sphere of Argon in Water
633 > \item liquid water (SPC/E),\cite{Berendsen87}
634 > \item crystalline water (Ice I$_\textrm{c}$ crystals of SPC/E),
635 > \item NaCl crystals,
636 > \item NaCl melts,
637 > \item a low ionic strength solution of NaCl in water (0.11 M),
638 > \item a high ionic strength solution of NaCl in water (1.1 M), and
639 > \item a 6 \AA\  radius sphere of Argon in water.
640   \end{enumerate}
641   By utilizing the pairwise techniques (outlined in section
642   \ref{sec:ESMethods}) in systems composed entirely of neutral groups,
643 < charged particles, and mixtures of the two, we can comment on possible
644 < system dependence and/or universal applicability of the techniques.
643 > charged particles, and mixtures of the two, we hope to discern under
644 > which conditions it will be possible to use one of the alternative
645 > summation methodologies instead of the Ewald sum.
646  
647 < Generation of the system configurations was dependent on the system
648 < type.  For the solid and liquid water configurations, configuration
649 < snapshots were taken at regular intervals from higher temperature 1000
650 < SPC/E water molecule trajectories and each equilibrated individually.
651 < The solid and liquid NaCl systems consisted of 500 Na+ and 500 Cl-
652 < ions and were selected and equilibrated in the same fashion as the
653 < water systems.  For the low and high ionic strength NaCl solutions, 4
654 < and 40 ions were first solvated in a 1000 water molecule boxes
655 < respectively.  Ion and water positions were then randomly swapped, and
656 < the resulting configurations were again equilibrated individually.
657 < Finally, for the Argon/Water "charge void" systems, the identities of
658 < all the SPC/E waters within 6 \AA\ of the center of the equilibrated
659 < water configurations were converted to argon
660 < (Fig. \ref{fig:argonSlice}).
647 > For the solid and liquid water configurations, configurations were
648 > taken at regular intervals from high temperature trajectories of 1000
649 > SPC/E water molecules.  Each configuration was equilibrated
650 > independently at a lower temperature (300~K for the liquid, 200~K for
651 > the crystal).  The solid and liquid NaCl systems consisted of 500
652 > $\textrm{Na}^{+}$ and 500 $\textrm{Cl}^{-}$ ions.  Configurations for
653 > these systems were selected and equilibrated in the same manner as the
654 > water systems. In order to introduce measurable fluctuations in the
655 > configuration energy differences, the crystalline simulations were
656 > equilibrated at 1000~K, near the $T_\textrm{m}$ for NaCl. The liquid
657 > NaCl configurations needed to represent a fully disordered array of
658 > point charges, so the high temperature of 7000~K was selected for
659 > equilibration. The ionic solutions were made by solvating 4 (or 40)
660 > ions in a periodic box containing 1000 SPC/E water molecules.  Ion and
661 > water positions were then randomly swapped, and the resulting
662 > configurations were again equilibrated individually.  Finally, for the
663 > Argon / Water ``charge void'' systems, the identities of all the SPC/E
664 > waters within 6 \AA\ of the center of the equilibrated water
665 > configurations were converted to argon.
666  
667 < \begin{figure}
668 < \centering
669 < \includegraphics[width = \linewidth]{./slice.pdf}
670 < \caption{A slice from the center of a water box used in a charge void simulation.  The darkened region represents the boundary sphere within which the water molecules were converted to argon atoms.}
549 < \label{fig:argonSlice}
550 < \end{figure}
667 > These procedures guaranteed us a set of representative configurations
668 > from chemically-relevant systems sampled from appropriate
669 > ensembles. Force field parameters for the ions and Argon were taken
670 > from the force field utilized by {\sc oopse}.\cite{Meineke05}
671  
672 < \subsection{Electrostatic Summation Methods}\label{sec:ESMethods}
673 < Electrostatic summation method comparisons were performed using SPME,
674 < the {\sc sp} and {\sc sf} methods - both with damping
675 < parameters ($\alpha$) of 0.0, 0.1, 0.2, and 0.3 \AA$^{-1}$ (no, weak,
676 < moderate, and strong damping respectively), reaction field with an
677 < infinite dielectric constant, and an unmodified cutoff.  Group-based
678 < cutoffs with a fifth-order polynomial switching function were
679 < necessary for the reaction field simulations and were utilized in the
680 < SP, SF, and pure cutoff methods for comparison to the standard lack of
681 < group-based cutoffs with a hard truncation.  The SPME calculations
682 < were performed using the TINKER implementation of SPME,\cite{Ponder87}
683 < while all other method calculations were performed using the OOPSE
684 < molecular mechanics package.\cite{Meineke05}
672 > \subsection{Comparison of Summation Methods}\label{sec:ESMethods}
673 > We compared the following alternative summation methods with results
674 > from the reference method ({\sc spme}):
675 > \begin{itemize}
676 > \item {\sc sp} with damping parameters ($\alpha$) of 0.0, 0.1, 0.2,
677 > and 0.3 \AA$^{-1}$,
678 > \item {\sc sf} with damping parameters ($\alpha$) of 0.0, 0.1, 0.2,
679 > and 0.3 \AA$^{-1}$,
680 > \item reaction field with an infinite dielectric constant, and
681 > \item an unmodified cutoff.
682 > \end{itemize}
683 > Group-based cutoffs with a fifth-order polynomial switching function
684 > were utilized for the reaction field simulations.  Additionally, we
685 > investigated the use of these cutoffs with the {\sc sp}, {\sc sf}, and pure
686 > cutoff.  The {\sc spme} electrostatics were performed using the {\sc tinker}
687 > implementation of {\sc spme},\cite{Ponder87} while all other calculations
688 > were performed using the {\sc oopse} molecular mechanics
689 > package.\cite{Meineke05} All other portions of the energy calculation
690 > (i.e. Lennard-Jones interactions) were handled in exactly the same
691 > manner across all systems and configurations.
692  
693 < These methods were additionally evaluated with three different cutoff
694 < radii (9, 12, and 15 \AA) to investigate possible cutoff radius
695 < dependence.  It should be noted that the damping parameter chosen in
696 < SPME, or so called ``Ewald Coefficient", has a significant effect on
697 < the energies and forces calculated.  Typical molecular mechanics
698 < packages default this to a value dependent on the cutoff radius and a
699 < tolerance (typically less than $1 \times 10^{-4}$ kcal/mol).  Smaller
700 < tolerances are typically associated with increased accuracy in the
701 < real-space portion of the summation.\cite{Essmann95} The default
702 < TINKER tolerance of $1 \times 10^{-8}$ kcal/mol was used in all SPME
703 < calculations, resulting in Ewald Coefficients of 0.4200, 0.3119, and
704 < 0.2476 \AA$^{-1}$ for cutoff radii of 9, 12, and 15 \AA\ respectively.
693 > The alternative methods were also evaluated with three different
694 > cutoff radii (9, 12, and 15 \AA).  As noted previously, the
695 > convergence parameter ($\alpha$) plays a role in the balance of the
696 > real-space and reciprocal-space portions of the Ewald calculation.
697 > Typical molecular mechanics packages set this to a value dependent on
698 > the cutoff radius and a tolerance (typically less than $1 \times
699 > 10^{-4}$ kcal/mol).  Smaller tolerances are typically associated with
700 > increasing accuracy at the expense of computational time spent on the
701 > reciprocal-space portion of the summation.\cite{Perram88,Essmann95}
702 > The default {\sc tinker} tolerance of $1 \times 10^{-8}$ kcal/mol was used
703 > in all {\sc spme} calculations, resulting in Ewald coefficients of 0.4200,
704 > 0.3119, and 0.2476 \AA$^{-1}$ for cutoff radii of 9, 12, and 15 \AA\
705 > respectively.
706  
707   \section{Results and Discussion}
708  
# Line 582 | Line 710 | between configurations were compared to the values obt
710   In order to evaluate the performance of the pairwise electrostatic
711   summation methods for Monte Carlo simulations, the energy differences
712   between configurations were compared to the values obtained when using
713 < SPME.  The results for the subsequent regression analysis are shown in
713 > {\sc spme}.  The results for the subsequent regression analysis are shown in
714   figure \ref{fig:delE}.
715  
716   \begin{figure}
717   \centering
718   \includegraphics[width=5.5in]{./delEplot.pdf}
719 < \caption{Statistical analysis of the quality of configurational energy differences for a given electrostatic method compared with the reference Ewald sum.  Results with a value equal to 1 (dashed line) indicate $\Delta E$ values indistinguishable from those obtained using SPME.  Different values of the cutoff radius are indicated with different symbols (9\AA\ = circles, 12\AA\ = squares, and 15\AA\ = inverted triangles).}
719 > \caption{Statistical analysis of the quality of configurational energy
720 > differences for a given electrostatic method compared with the
721 > reference Ewald sum.  Results with a value equal to 1 (dashed line)
722 > indicate $\Delta E$ values indistinguishable from those obtained using
723 > {\sc spme}.  Different values of the cutoff radius are indicated with
724 > different symbols (9\AA\ = circles, 12\AA\ = squares, and 15\AA\ =
725 > inverted triangles).}
726   \label{fig:delE}
727   \end{figure}
728  
729 < In this figure, it is apparent that it is unreasonable to expect
730 < realistic results using an unmodified cutoff.  This is not all that
731 < surprising since this results in large energy fluctuations as atoms
732 < move in and out of the cutoff radius.  These fluctuations can be
733 < alleviated to some degree by using group based cutoffs with a
734 < switching function.\cite{Steinbach94} The Group Switch Cutoff row
601 < doesn't show a significant improvement in this plot because the salt
602 < and salt solution systems contain non-neutral groups, see the
603 < accompanying supporting information for a comparison where all groups
604 < are neutral.
729 > The most striking feature of this plot is how well the Shifted Force
730 > ({\sc sf}) and Shifted Potential ({\sc sp}) methods capture the energy
731 > differences.  For the undamped {\sc sf} method, and the
732 > moderately-damped {\sc sp} methods, the results are nearly
733 > indistinguishable from the Ewald results.  The other common methods do
734 > significantly less well.  
735  
736 < Correcting the resulting charged cutoff sphere is one of the purposes
737 < of the damped Coulomb summation proposed by Wolf \textit{et
738 < al.},\cite{Wolf99} and this correction indeed improves the results as
739 < seen in the Shifted-Potental rows.  While the undamped case of this
740 < method is a significant improvement over the pure cutoff, it still
741 < doesn't correlate that well with SPME.  Inclusion of potential damping
742 < improves the results, and using an $\alpha$ of 0.2 \AA $^{-1}$ shows
743 < an excellent correlation and quality of fit with the SPME results,
744 < particularly with a cutoff radius greater than 12 \AA .  Use of a
745 < larger damping parameter is more helpful for the shortest cutoff
616 < shown, but it has a detrimental effect on simulations with larger
617 < cutoffs.  In the {\sc sf} sets, increasing damping results in
618 < progressively poorer correlation.  Overall, the undamped case is the
619 < best performing set, as the correlation and quality of fits are
620 < consistently superior regardless of the cutoff distance.  This result
621 < is beneficial in that the undamped case is less computationally
622 < prohibitive do to the lack of complimentary error function calculation
623 < when performing the electrostatic pair interaction.  The reaction
624 < field results illustrates some of that method's limitations, primarily
625 < that it was developed for use in homogenous systems; although it does
626 < provide results that are an improvement over those from an unmodified
627 < cutoff.
736 > The unmodified cutoff method is essentially unusable.  This is not
737 > surprising since hard cutoffs give large energy fluctuations as atoms
738 > or molecules move in and out of the cutoff
739 > radius.\cite{Rahman71,Adams79} These fluctuations can be alleviated to
740 > some degree by using group based cutoffs with a switching
741 > function.\cite{Adams79,Steinbach94,Leach01} However, we do not see
742 > significant improvement using the group-switched cutoff because the
743 > salt and salt solution systems contain non-neutral groups.  Interested
744 > readers can consult the accompanying supporting information for a
745 > comparison where all groups are neutral.
746  
747 + For the {\sc sp} method, inclusion of electrostatic damping improves
748 + the agreement with Ewald, and using an $\alpha$ of 0.2 \AA $^{-1}$
749 + shows an excellent correlation and quality of fit with the {\sc spme}
750 + results, particularly with a cutoff radius greater than 12
751 + \AA .  Use of a larger damping parameter is more helpful for the
752 + shortest cutoff shown, but it has a detrimental effect on simulations
753 + with larger cutoffs.  
754 +
755 + In the {\sc sf} sets, increasing damping results in progressively {\it
756 + worse} correlation with Ewald.  Overall, the undamped case is the best
757 + performing set, as the correlation and quality of fits are
758 + consistently superior regardless of the cutoff distance.  The undamped
759 + case is also less computationally demanding (because no evaluation of
760 + the complementary error function is required).
761 +
762 + The reaction field results illustrates some of that method's
763 + limitations, primarily that it was developed for use in homogenous
764 + systems; although it does provide results that are an improvement over
765 + those from an unmodified cutoff.
766 +
767   \subsection{Magnitudes of the Force and Torque Vectors}
768  
769   Evaluation of pairwise methods for use in Molecular Dynamics
770   simulations requires consideration of effects on the forces and
771 < torques.  Investigation of the force and torque vector magnitudes
772 < provides a measure of the strength of these values relative to SPME.
773 < Figures \ref{fig:frcMag} and \ref{fig:trqMag} respectively show the
774 < force and torque vector magnitude regression results for the
637 < accumulated analysis over all the system types.
771 > torques.  Figures \ref{fig:frcMag} and \ref{fig:trqMag} show the
772 > regression results for the force and torque vector magnitudes,
773 > respectively.  The data in these figures was generated from an
774 > accumulation of the statistics from all of the system types.
775  
776   \begin{figure}
777   \centering
778   \includegraphics[width=5.5in]{./frcMagplot.pdf}
779 < \caption{Statistical analysis of the quality of the force vector magnitudes for a given electrostatic method compared with the reference Ewald sum.  Results with a value equal to 1 (dashed line) indicate force magnitude values indistinguishable from those obtained using SPME.  Different values of the cutoff radius are indicated with different symbols (9\AA\ = circles, 12\AA\ = squares, and 15\AA\ = inverted triangles).}
779 > \caption{Statistical analysis of the quality of the force vector
780 > magnitudes for a given electrostatic method compared with the
781 > reference Ewald sum.  Results with a value equal to 1 (dashed line)
782 > indicate force magnitude values indistinguishable from those obtained
783 > using {\sc spme}.  Different values of the cutoff radius are indicated with
784 > different symbols (9\AA\ = circles, 12\AA\ = squares, and 15\AA\ =
785 > inverted triangles).}
786   \label{fig:frcMag}
787   \end{figure}
788  
789 + Again, it is striking how well the Shifted Potential and Shifted Force
790 + methods are doing at reproducing the {\sc spme} forces.  The undamped and
791 + weakly-damped {\sc sf} method gives the best agreement with Ewald.
792 + This is perhaps expected because this method explicitly incorporates a
793 + smooth transition in the forces at the cutoff radius as well as the
794 + neutralizing image charges.
795 +
796   Figure \ref{fig:frcMag}, for the most part, parallels the results seen
797   in the previous $\Delta E$ section.  The unmodified cutoff results are
798   poor, but using group based cutoffs and a switching function provides
799 < a improvement much more significant than what was seen with $\Delta
800 < E$.  Looking at the {\sc sp} sets, the slope and $R^2$
801 < improve with the use of damping to an optimal result of 0.2 \AA
802 < $^{-1}$ for the 12 and 15 \AA\ cutoffs.  Further increases in damping,
799 > an improvement much more significant than what was seen with $\Delta
800 > E$.
801 >
802 > With moderate damping and a large enough cutoff radius, the {\sc sp}
803 > method is generating usable forces.  Further increases in damping,
804   while beneficial for simulations with a cutoff radius of 9 \AA\ , is
805 < detrimental to simulations with larger cutoff radii.  The undamped
806 < {\sc sf} method gives forces in line with those obtained using
807 < SPME, and use of a damping function results in minor improvement.  The
657 < reaction field results are surprisingly good, considering the poor
805 > detrimental to simulations with larger cutoff radii.
806 >
807 > The reaction field results are surprisingly good, considering the poor
808   quality of the fits for the $\Delta E$ results.  There is still a
809 < considerable degree of scatter in the data, but it correlates well in
810 < general.  To be fair, we again note that the reaction field
811 < calculations do not encompass NaCl crystal and melt systems, so these
809 > considerable degree of scatter in the data, but the forces correlate
810 > well with the Ewald forces in general.  We note that the reaction
811 > field calculations do not include the pure NaCl systems, so these
812   results are partly biased towards conditions in which the method
813   performs more favorably.
814  
815   \begin{figure}
816   \centering
817   \includegraphics[width=5.5in]{./trqMagplot.pdf}
818 < \caption{Statistical analysis of the quality of the torque vector magnitudes for a given electrostatic method compared with the reference Ewald sum.  Results with a value equal to 1 (dashed line) indicate torque magnitude values indistinguishable from those obtained using SPME.  Different values of the cutoff radius are indicated with different symbols (9\AA\ = circles, 12\AA\ = squares, and 15\AA\ = inverted triangles).}
818 > \caption{Statistical analysis of the quality of the torque vector
819 > magnitudes for a given electrostatic method compared with the
820 > reference Ewald sum.  Results with a value equal to 1 (dashed line)
821 > indicate torque magnitude values indistinguishable from those obtained
822 > using {\sc spme}.  Different values of the cutoff radius are indicated with
823 > different symbols (9\AA\ = circles, 12\AA\ = squares, and 15\AA\ =
824 > inverted triangles).}
825   \label{fig:trqMag}
826   \end{figure}
827  
828 < To evaluate the torque vector magnitudes, the data set from which
829 < values are drawn is limited to rigid molecules in the systems
830 < (i.e. water molecules).  In spite of this smaller sampling pool, the
675 < torque vector magnitude results in figure \ref{fig:trqMag} are still
676 < similar to those seen for the forces; however, they more clearly show
677 < the improved behavior that comes with increasing the cutoff radius.
678 < Moderate damping is beneficial to the {\sc sp} and helpful
679 < yet possibly unnecessary with the {\sc sf} method, and they also
680 < show that over-damping adversely effects all cutoff radii rather than
681 < showing an improvement for systems with short cutoffs.  The reaction
682 < field method performs well when calculating the torques, better than
683 < the Shifted Force method over this limited data set.
828 > Molecular torques were only available from the systems which contained
829 > rigid molecules (i.e. the systems containing water).  The data in
830 > fig. \ref{fig:trqMag} is taken from this smaller sampling pool.
831  
832 + Torques appear to be much more sensitive to charges at a longer
833 + distance.   The striking feature in comparing the new electrostatic
834 + methods with {\sc spme} is how much the agreement improves with increasing
835 + cutoff radius.  Again, the weakly damped and undamped {\sc sf} method
836 + appears to be reproducing the {\sc spme} torques most accurately.  
837 +
838 + Water molecules are dipolar, and the reaction field method reproduces
839 + the effect of the surrounding polarized medium on each of the
840 + molecular bodies. Therefore it is not surprising that reaction field
841 + performs best of all of the methods on molecular torques.
842 +
843   \subsection{Directionality of the Force and Torque Vectors}
844  
845 < Having force and torque vectors with magnitudes that are well
846 < correlated to SPME is good, but if they are not pointing in the proper
847 < direction the results will be incorrect.  These vector directions were
848 < investigated through measurement of the angle formed between them and
849 < those from SPME.  The results (Fig. \ref{fig:frcTrqAng}) are compared
850 < through the variance ($\sigma^2$) of the Gaussian fits of the angle
851 < error distributions of the combined set over all system types.
845 > It is clearly important that a new electrostatic method can reproduce
846 > the magnitudes of the force and torque vectors obtained via the Ewald
847 > sum. However, the {\it directionality} of these vectors will also be
848 > vital in calculating dynamical quantities accurately.  Force and
849 > torque directionalities were investigated by measuring the angles
850 > formed between these vectors and the same vectors calculated using
851 > {\sc spme}.  The results (Fig. \ref{fig:frcTrqAng}) are compared through the
852 > variance ($\sigma^2$) of the Gaussian fits of the angle error
853 > distributions of the combined set over all system types.
854  
855   \begin{figure}
856   \centering
857   \includegraphics[width=5.5in]{./frcTrqAngplot.pdf}
858 < \caption{Statistical analysis of the quality of the Gaussian fit of the force and torque vector angular distributions for a given electrostatic method compared with the reference Ewald sum.  Results with a variance ($\sigma^2$) equal to zero (dashed line) indicate force and torque directions indistinguishable from those obtained using SPME.  Different values of the cutoff radius are indicated with different symbols (9\AA\ = circles, 12\AA\ = squares, and 15\AA\ = inverted triangles).}
858 > \caption{Statistical analysis of the width of the angular distribution
859 > that the force and torque vectors from a given electrostatic method
860 > make with their counterparts obtained using the reference Ewald sum.
861 > Results with a variance ($\sigma^2$) equal to zero (dashed line)
862 > indicate force and torque directions indistinguishable from those
863 > obtained using {\sc spme}.  Different values of the cutoff radius are
864 > indicated with different symbols (9\AA\ = circles, 12\AA\ = squares,
865 > and 15\AA\ = inverted triangles).}
866   \label{fig:frcTrqAng}
867   \end{figure}
868  
869   Both the force and torque $\sigma^2$ results from the analysis of the
870   total accumulated system data are tabulated in figure
871 < \ref{fig:frcTrqAng}.  All of the sets, aside from the over-damped case
872 < show the improvement afforded by choosing a longer simulation cutoff.
873 < Increasing the cutoff from 9 to 12 \AA\ typically results in a halving
874 < of the distribution widths, with a similar improvement going from 12
875 < to 15 \AA .  The undamped {\sc sf}, Group Based Cutoff, and
876 < Reaction Field methods all do equivalently well at capturing the
710 < direction of both the force and torque vectors.  Using damping
711 < improves the angular behavior significantly for the {\sc sp}
712 < and moderately for the {\sc sf} methods.  Increasing the damping
713 < too far is destructive for both methods, particularly to the torque
714 < vectors.  Again it is important to recognize that the force vectors
715 < cover all particles in the systems, while torque vectors are only
716 < available for neutral molecular groups.  Damping appears to have a
717 < more beneficial effect on non-neutral bodies, and this observation is
718 < investigated further in the accompanying supporting information.
871 > \ref{fig:frcTrqAng}. Here it is clear that the Shifted Potential ({\sc
872 > sp}) method would be essentially unusable for molecular dynamics
873 > unless the damping function is added.  The Shifted Force ({\sc sf})
874 > method, however, is generating force and torque vectors which are
875 > within a few degrees of the Ewald results even with weak (or no)
876 > damping.
877  
878 + All of the sets (aside from the over-damped case) show the improvement
879 + afforded by choosing a larger cutoff radius.  Increasing the cutoff
880 + from 9 to 12 \AA\ typically results in a halving of the width of the
881 + distribution, with a similar improvement when going from 12 to 15
882 + \AA .
883 +
884 + The undamped {\sc sf}, group-based cutoff, and reaction field methods
885 + all do equivalently well at capturing the direction of both the force
886 + and torque vectors.  Using the electrostatic damping improves the
887 + angular behavior significantly for the {\sc sp} and moderately for the
888 + {\sc sf} methods.  Overdamping is detrimental to both methods.  Again
889 + it is important to recognize that the force vectors cover all
890 + particles in all seven systems, while torque vectors are only
891 + available for neutral molecular groups.  Damping is more beneficial to
892 + charged bodies, and this observation is investigated further in the
893 + accompanying supporting information.
894 +
895 + Although not discussed previously, group based cutoffs can be applied
896 + to both the {\sc sp} and {\sc sf} methods.  The group-based cutoffs
897 + will reintroduce small discontinuities at the cutoff radius, but the
898 + effects of these can be minimized by utilizing a switching function.
899 + Though there are no significant benefits or drawbacks observed in
900 + $\Delta E$ and the force and torque magnitudes when doing this, there
901 + is a measurable improvement in the directionality of the forces and
902 + torques. Table \ref{tab:groupAngle} shows the angular variances
903 + obtained using group based cutoffs along with the results seen in
904 + figure \ref{fig:frcTrqAng}.  The {\sc sp} (with an $\alpha$ of 0.2
905 + \AA$^{-1}$ or smaller) shows much narrower angular distributions when
906 + using group-based cutoffs. The {\sc sf} method likewise shows
907 + improvement in the undamped and lightly damped cases.
908 +
909   \begin{table}[htbp]
910 <   \centering
911 <   \caption{Variance ($\sigma^2$) of the force (top set) and torque (bottom set) vector angle difference distributions for the Shifted Potential and Shifted Force methods.  Calculations were performed both with (Y) and without (N) group based cutoffs and a switching function.  The $\alpha$ values have units of \AA$^{-1}$ and the variance values have units of degrees$^2$.}  
910 >   \centering
911 >   \caption{Statistical analysis of the angular
912 >   distributions that the force (upper) and torque (lower) vectors
913 >   from a given electrostatic method make with their counterparts
914 >   obtained using the reference Ewald sum.  Calculations were
915 >   performed both with (Y) and without (N) group based cutoffs and a
916 >   switching function.  The $\alpha$ values have units of \AA$^{-1}$
917 >   and the variance values have units of degrees$^2$.}
918 >
919     \begin{tabular}{@{} ccrrrrrrrr @{}}
920        \\
921        \toprule
# Line 750 | Line 946 | investigated further in the accompanying supporting in
946     \label{tab:groupAngle}
947   \end{table}
948  
949 < Although not discussed previously, group based cutoffs can be applied
950 < to both the {\sc sp} and {\sc sf} methods.  Use off a
951 < switching function corrects for the discontinuities that arise when
952 < atoms of a group exit the cutoff before the group's center of mass.
953 < Though there are no significant benefit or drawbacks observed in
954 < $\Delta E$ and vector magnitude results when doing this, there is a
955 < measurable improvement in the vector angle results.  Table
956 < \ref{tab:groupAngle} shows the angular variance values obtained using
957 < group based cutoffs and a switching function alongside the standard
958 < results seen in figure \ref{fig:frcTrqAng} for comparison purposes.
959 < The {\sc sp} shows much narrower angular distributions for
960 < both the force and torque vectors when using an $\alpha$ of 0.2
961 < \AA$^{-1}$ or less, while {\sc sf} shows improvements in the
962 < undamped and lightly damped cases.  Thus, by calculating the
963 < electrostatic interactions in terms of molecular pairs rather than
964 < atomic pairs, the direction of the force and torque vectors are
965 < determined more accurately.
949 > One additional trend in table \ref{tab:groupAngle} is that the
950 > $\sigma^2$ values for both {\sc sp} and {\sc sf} converge as $\alpha$
951 > increases, something that is more obvious with group-based cutoffs.
952 > The complimentary error function inserted into the potential weakens
953 > the electrostatic interaction as the value of $\alpha$ is increased.
954 > However, at larger values of $\alpha$, it is possible to overdamp the
955 > electrostatic interaction and to remove it completely.  Kast
956 > \textit{et al.}  developed a method for choosing appropriate $\alpha$
957 > values for these types of electrostatic summation methods by fitting
958 > to $g(r)$ data, and their methods indicate optimal values of 0.34,
959 > 0.25, and 0.16 \AA$^{-1}$ for cutoff values of 9, 12, and 15 \AA\
960 > respectively.\cite{Kast03} These appear to be reasonable choices to
961 > obtain proper MC behavior (Fig. \ref{fig:delE}); however, based on
962 > these findings, choices this high would introduce error in the
963 > molecular torques, particularly for the shorter cutoffs.  Based on our
964 > observations, empirical damping up to 0.2 \AA$^{-1}$ is beneficial,
965 > but damping may be unnecessary when using the {\sc sf} method.
966  
967 < One additional trend to recognize in table \ref{tab:groupAngle} is
772 < that the $\sigma^2$ values for both {\sc sp} and
773 < {\sc sf} converge as $\alpha$ increases, something that is easier
774 < to see when using group based cutoffs.  Looking back on figures
775 < \ref{fig:delE}, \ref{fig:frcMag}, and \ref{fig:trqMag}, show this
776 < behavior clearly at large $\alpha$ and cutoff values.  The reason for
777 < this is that the complimentary error function inserted into the
778 < potential weakens the electrostatic interaction as $\alpha$ increases.
779 < Thus, at larger values of $\alpha$, both the summation method types
780 < progress toward non-interacting functions, so care is required in
781 < choosing large damping functions lest one generate an undesirable loss
782 < in the pair interaction.  Kast \textit{et al.}  developed a method for
783 < choosing appropriate $\alpha$ values for these types of electrostatic
784 < summation methods by fitting to $g(r)$ data, and their methods
785 < indicate optimal values of 0.34, 0.25, and 0.16 \AA$^{-1}$ for cutoff
786 < values of 9, 12, and 15 \AA\ respectively.\cite{Kast03} These appear
787 < to be reasonable choices to obtain proper MC behavior
788 < (Fig. \ref{fig:delE}); however, based on these findings, choices this
789 < high would introduce error in the molecular torques, particularly for
790 < the shorter cutoffs.  Based on the above findings, empirical damping
791 < up to 0.2 \AA$^{-1}$ proves to be beneficial, but damping is arguably
792 < unnecessary when using the {\sc sf} method.
967 > \subsection{Short-Time Dynamics: Velocity Autocorrelation Functions of NaCl Crystals}
968  
969 + Zahn {\it et al.} investigated the structure and dynamics of water
970 + using eqs. (\ref{eq:ZahnPot}) and
971 + (\ref{eq:WolfForces}).\cite{Zahn02,Kast03} Their results indicated
972 + that a method similar (but not identical with) the damped {\sc sf}
973 + method resulted in properties very similar to those obtained when
974 + using the Ewald summation.  The properties they studied (pair
975 + distribution functions, diffusion constants, and velocity and
976 + orientational correlation functions) may not be particularly sensitive
977 + to the long-range and collective behavior that governs the
978 + low-frequency behavior in crystalline systems.  Additionally, the
979 + ionic crystals are the worst case scenario for the pairwise methods
980 + because they lack the reciprocal space contribution contained in the
981 + Ewald summation.  
982 +
983 + We are using two separate measures to probe the effects of these
984 + alternative electrostatic methods on the dynamics in crystalline
985 + materials.  For short- and intermediate-time dynamics, we are
986 + computing the velocity autocorrelation function, and for long-time
987 + and large length-scale collective motions, we are looking at the
988 + low-frequency portion of the power spectrum.
989 +
990 + \begin{figure}
991 + \centering
992 + \includegraphics[width = \linewidth]{./vCorrPlot.pdf}
993 + \caption{Velocity autocorrelation functions of NaCl crystals at
994 + 1000 K using {\sc spme}, {\sc sf} ($\alpha$ = 0.0, 0.1, \& 0.2), and {\sc
995 + sp} ($\alpha$ = 0.2). The inset is a magnification of the area around
996 + the first minimum.  The times to first collision are nearly identical,
997 + but differences can be seen in the peaks and troughs, where the
998 + undamped and weakly damped methods are stiffer than the moderately
999 + damped and {\sc spme} methods.}
1000 + \label{fig:vCorrPlot}
1001 + \end{figure}
1002 +
1003 + The short-time decay of the velocity autocorrelation function through
1004 + the first collision are nearly identical in figure
1005 + \ref{fig:vCorrPlot}, but the peaks and troughs of the functions show
1006 + how the methods differ.  The undamped {\sc sf} method has deeper
1007 + troughs (see inset in Fig. \ref{fig:vCorrPlot}) and higher peaks than
1008 + any of the other methods.  As the damping parameter ($\alpha$) is
1009 + increased, these peaks are smoothed out, and the {\sc sf} method
1010 + approaches the {\sc spme} results.  With $\alpha$ values of 0.2 \AA$^{-1}$,
1011 + the {\sc sf} and {\sc sp} functions are nearly identical and track the
1012 + {\sc spme} features quite well.  This is not surprising because the {\sc sf}
1013 + and {\sc sp} potentials become nearly identical with increased
1014 + damping.  However, this appears to indicate that once damping is
1015 + utilized, the details of the form of the potential (and forces)
1016 + constructed out of the damped electrostatic interaction are less
1017 + important.
1018 +
1019   \subsection{Collective Motion: Power Spectra of NaCl Crystals}
1020  
1021 < In the previous studies using a {\sc sf} variant of the damped
1022 < Wolf coulomb potential, the structure and dynamics of water were
1023 < investigated rather extensively.\cite{Zahn02,Kast03} Their results
1024 < indicated that the damped {\sc sf} method results in properties
1025 < very similar to those obtained when using the Ewald summation.
1026 < Considering the statistical results shown above, the good performance
1027 < of this method is not that surprising.  Rather than consider the same
1028 < systems and simply recapitulate their results, we decided to look at
804 < the solid state dynamical behavior obtained using the best performing
805 < summation methods from the above results.
1021 > To evaluate how the differences between the methods affect the
1022 > collective long-time motion, we computed power spectra from long-time
1023 > traces of the velocity autocorrelation function. The power spectra for
1024 > the best-performing alternative methods are shown in
1025 > fig. \ref{fig:methodPS}.  Apodization of the correlation functions via
1026 > a cubic switching function between 40 and 50 ps was used to reduce the
1027 > ringing resulting from data truncation.  This procedure had no
1028 > noticeable effect on peak location or magnitude.
1029  
1030   \begin{figure}
1031   \centering
1032   \includegraphics[width = \linewidth]{./spectraSquare.pdf}
1033 < \caption{Power spectra obtained from the velocity auto-correlation functions of NaCl crystals at 1000 K while using SPME, {\sc sf} ($\alpha$ = 0, 0.1, \& 0.2), and {\sc sp} ($\alpha$ = 0.2).  Apodization of the correlation functions via a cubic switching function between 40 and 50 ps was used to clear up the spectral noise resulting from data truncation, and had no noticeable effect on peak location or magnitude.  The inset shows the frequency region below 100 cm$^{-1}$ to highlight where the spectra begin to differ.}
1033 > \caption{Power spectra obtained from the velocity auto-correlation
1034 > functions of NaCl crystals at 1000 K while using {\sc spme}, {\sc sf}
1035 > ($\alpha$ = 0, 0.1, \& 0.2), and {\sc sp} ($\alpha$ = 0.2).  The inset
1036 > shows the frequency region below 100 cm$^{-1}$ to highlight where the
1037 > spectra differ.}
1038   \label{fig:methodPS}
1039   \end{figure}
1040  
1041 < Figure \ref{fig:methodPS} shows the power spectra for the NaCl
1042 < crystals (from averaged Na and Cl ion velocity autocorrelation
1043 < functions) using the stated electrostatic summation methods.  While
1044 < high frequency peaks of all the spectra overlap, showing the same
1045 < general features, the low frequency region shows how the summation
1046 < methods differ.  Considering the low-frequency inset (expanded in the
1047 < upper frame of figure \ref{fig:dampInc}), at frequencies below 100
1048 < cm$^{-1}$, the correlated motions are blue-shifted when using undamped
1049 < or weakly damped {\sc sf}.  When using moderate damping ($\alpha
1050 < = 0.2$ \AA$^{-1}$) both the {\sc sf} and {\sc sp}
1051 < methods give near identical correlated motion behavior as the Ewald
1052 < method (which has a damping value of 0.3119).  The damping acts as a
1053 < distance dependent Gaussian screening of the point charges for the
1054 < pairwise summation methods.  This weakening of the electrostatic
1055 < interaction with distance explains why the long-ranged correlated
1056 < motions are at lower frequencies for the moderately damped methods
1057 < than for undamped or weakly damped methods.  To see this effect more
1058 < clearly, we show how damping strength affects a simple real-space
1059 < electrostatic potential,
1060 < \begin{equation}
1061 < V_\textrm{damped}=\sum^N_i\sum^N_{j\ne i}q_iq_j\left[\frac{\textrm{erfc}({\alpha r})}{r}\right]S(r),
1062 < \end{equation}
1063 < where $S(r)$ is a switching function that smoothly zeroes the
1064 < potential at the cutoff radius.  Figure \ref{fig:dampInc} shows how
1065 < the low frequency motions are dependent on the damping used in the
1066 < direct electrostatic sum.  As the damping increases, the peaks drop to
1067 < lower frequencies.  Incidentally, use of an $\alpha$ of 0.25
1068 < \AA$^{-1}$ on a simple electrostatic summation results in low
842 < frequency correlated dynamics equivalent to a simulation using SPME.
843 < When the coefficient lowers to 0.15 \AA$^{-1}$ and below, these peaks
844 < shift to higher frequency in exponential fashion.  Though not shown,
845 < the spectrum for the simple undamped electrostatic potential is
846 < blue-shifted such that the lowest frequency peak resides near 325
847 < cm$^{-1}$.  In light of these results, the undamped {\sc sf}
848 < method producing low-lying motion peaks within 10 cm$^{-1}$ of SPME is
849 < quite respectable; however, it appears as though moderate damping is
850 < required for accurate reproduction of crystal dynamics.
1041 > While the high frequency regions of the power spectra for the
1042 > alternative methods are quantitatively identical with Ewald spectrum,
1043 > the low frequency region shows how the summation methods differ.
1044 > Considering the low-frequency inset (expanded in the upper frame of
1045 > figure \ref{fig:dampInc}), at frequencies below 100 cm$^{-1}$, the
1046 > correlated motions are blue-shifted when using undamped or weakly
1047 > damped {\sc sf}.  When using moderate damping ($\alpha = 0.2$
1048 > \AA$^{-1}$) both the {\sc sf} and {\sc sp} methods give nearly identical
1049 > correlated motion to the Ewald method (which has a convergence
1050 > parameter of 0.3119 \AA$^{-1}$).  This weakening of the electrostatic
1051 > interaction with increased damping explains why the long-ranged
1052 > correlated motions are at lower frequencies for the moderately damped
1053 > methods than for undamped or weakly damped methods.
1054 >
1055 > To isolate the role of the damping constant, we have computed the
1056 > spectra for a single method ({\sc sf}) with a range of damping
1057 > constants and compared this with the {\sc spme} spectrum.
1058 > Fig. \ref{fig:dampInc} shows more clearly that increasing the
1059 > electrostatic damping red-shifts the lowest frequency phonon modes.
1060 > However, even without any electrostatic damping, the {\sc sf} method
1061 > has at most a 10 cm$^{-1}$ error in the lowest frequency phonon mode.
1062 > Without the {\sc sf} modifications, an undamped (pure cutoff) method
1063 > would predict the lowest frequency peak near 325 cm$^{-1}$.  {\it
1064 > Most} of the collective behavior in the crystal is accurately captured
1065 > using the {\sc sf} method.  Quantitative agreement with Ewald can be
1066 > obtained using moderate damping in addition to the shifting at the
1067 > cutoff distance.
1068 >
1069   \begin{figure}
1070   \centering
1071 < \includegraphics[width = \linewidth]{./comboSquare.pdf}
1072 < \caption{Upper: Zoomed inset from figure \ref{fig:methodPS}.  As the damping value for the {\sc sf} potential increases, the low-frequency peaks red-shift.  Lower: Low-frequency correlated motions for NaCl crystals at 1000 K when using SPME and a simple damped Coulombic sum with damping coefficients ($\alpha$) ranging from 0.15 to 0.3 \AA$^{-1}$.  As $\alpha$ increases, the peaks are red-shifted toward and eventually beyond the values given by SPME.  The larger $\alpha$ values weaken the real-space electrostatics, explaining this shift towards less strongly correlated motions in the crystal.}
1071 > \includegraphics[width = \linewidth]{./increasedDamping.pdf}
1072 > \caption{Effect of damping on the two lowest-frequency phonon modes in
1073 > the NaCl crystal at 1000~K.  The undamped shifted force ({\sc sf})
1074 > method is off by less than 10 cm$^{-1}$, and increasing the
1075 > electrostatic damping to 0.25 \AA$^{-1}$ gives quantitative agreement
1076 > with the power spectrum obtained using the Ewald sum.  Overdamping can
1077 > result in underestimates of frequencies of the long-wavelength
1078 > motions.}
1079   \label{fig:dampInc}
1080   \end{figure}
1081  
1082   \section{Conclusions}
1083  
1084   This investigation of pairwise electrostatic summation techniques
1085 < shows that there are viable and more computationally efficient
1086 < electrostatic summation techniques than the Ewald summation, chiefly
1087 < methods derived from the damped Coulombic sum originally proposed by
1088 < Wolf \textit{et al.}\cite{Wolf99,Zahn02} In particular, the
1089 < {\sc sf} method, reformulated above as eq. (\ref{eq:DSFPot}),
1090 < shows a remarkable ability to reproduce the energetic and dynamic
1091 < characteristics exhibited by simulations employing lattice summation
1092 < techniques.  The cumulative energy difference results showed the
1093 < undamped {\sc sf} and moderately damped {\sc sp} methods
1094 < produced results nearly identical to SPME.  Similarly for the dynamic
1095 < features, the undamped or moderately damped {\sc sf} and
1096 < moderately damped {\sc sp} methods produce force and torque
1097 < vector magnitude and directions very similar to the expected values.
1098 < These results translate into long-time dynamic behavior equivalent to
1099 < that produced in simulations using SPME.
1085 > shows that there are viable and computationally efficient alternatives
1086 > to the Ewald summation.  These methods are derived from the damped and
1087 > cutoff-neutralized Coulombic sum originally proposed by Wolf
1088 > \textit{et al.}\cite{Wolf99} In particular, the {\sc sf}
1089 > method, reformulated above as eqs. (\ref{eq:DSFPot}) and
1090 > (\ref{eq:DSFForces}), shows a remarkable ability to reproduce the
1091 > energetic and dynamic characteristics exhibited by simulations
1092 > employing lattice summation techniques.  The cumulative energy
1093 > difference results showed the undamped {\sc sf} and moderately damped
1094 > {\sc sp} methods produced results nearly identical to {\sc spme}.  Similarly
1095 > for the dynamic features, the undamped or moderately damped {\sc sf}
1096 > and moderately damped {\sc sp} methods produce force and torque vector
1097 > magnitude and directions very similar to the expected values.  These
1098 > results translate into long-time dynamic behavior equivalent to that
1099 > produced in simulations using {\sc spme}.
1100  
1101 + As in all purely-pairwise cutoff methods, these methods are expected
1102 + to scale approximately {\it linearly} with system size, and they are
1103 + easily parallelizable.  This should result in substantial reductions
1104 + in the computational cost of performing large simulations.
1105 +
1106   Aside from the computational cost benefit, these techniques have
1107   applicability in situations where the use of the Ewald sum can prove
1108 < problematic.  Primary among them is their use in interfacial systems,
1109 < where the unmodified lattice sum techniques artificially accentuate
1110 < the periodicity of the system in an undesirable manner.  There have
1111 < been alterations to the standard Ewald techniques, via corrections and
1112 < reformulations, to compensate for these systems; but the pairwise
1113 < techniques discussed here require no modifications, making them
1114 < natural tools to tackle these problems.  Additionally, this
1115 < transferability gives them benefits over other pairwise methods, like
1116 < reaction field, because estimations of physical properties (e.g. the
1117 < dielectric constant) are unnecessary.
1108 > problematic.  Of greatest interest is their potential use in
1109 > interfacial systems, where the unmodified lattice sum techniques
1110 > artificially accentuate the periodicity of the system in an
1111 > undesirable manner.  There have been alterations to the standard Ewald
1112 > techniques, via corrections and reformulations, to compensate for
1113 > these systems; but the pairwise techniques discussed here require no
1114 > modifications, making them natural tools to tackle these problems.
1115 > Additionally, this transferability gives them benefits over other
1116 > pairwise methods, like reaction field, because estimations of physical
1117 > properties (e.g. the dielectric constant) are unnecessary.
1118  
1119 < We are not suggesting any flaw with the Ewald sum; in fact, it is the
1120 < standard by which these simple pairwise sums are judged.  However,
1121 < these results do suggest that in the typical simulations performed
1122 < today, the Ewald summation may no longer be required to obtain the
1123 < level of accuracy most researcher have come to expect
1119 > If a researcher is using Monte Carlo simulations of large chemical
1120 > systems containing point charges, most structural features will be
1121 > accurately captured using the undamped {\sc sf} method or the {\sc sp}
1122 > method with an electrostatic damping of 0.2 \AA$^{-1}$.  These methods
1123 > would also be appropriate for molecular dynamics simulations where the
1124 > data of interest is either structural or short-time dynamical
1125 > quantities.  For long-time dynamics and collective motions, the safest
1126 > pairwise method we have evaluated is the {\sc sf} method with an
1127 > electrostatic damping between 0.2 and 0.25
1128 > \AA$^{-1}$.
1129  
1130 + We are not suggesting that there is any flaw with the Ewald sum; in
1131 + fact, it is the standard by which these simple pairwise sums have been
1132 + judged.  However, these results do suggest that in the typical
1133 + simulations performed today, the Ewald summation may no longer be
1134 + required to obtain the level of accuracy most researchers have come to
1135 + expect.
1136 +
1137   \section{Acknowledgments}
1138 + Support for this project was provided by the National Science
1139 + Foundation under grant CHE-0134881.  The authors would like to thank
1140 + Steve Corcelli and Ed Maginn for helpful discussions and comments.
1141 +
1142   \newpage
1143  
1144   \bibliographystyle{jcp2}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines