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 2605 by chrisfen, Wed Mar 8 15:14:20 2006 UTC vs.
Revision 2638 by chrisfen, Sun Mar 19 19:34:53 2006 UTC

# Line 1 | Line 1
1   %\documentclass[prb,aps,twocolumn,tabularx]{revtex4}
2 < \documentclass[12pt]{article}
2 > %\documentclass[aps,prb,preprint]{revtex4}
3 > \documentclass[11pt]{article}
4   \usepackage{endfloat}
5 < \usepackage{amsmath}
5 > \usepackage{amsmath,bm}
6   \usepackage{amssymb}
6 %\usepackage{ifsym}
7   \usepackage{epsf}
8   \usepackage{times}
9 < \usepackage{mathptm}
9 > \usepackage{mathptmx}
10   \usepackage{setspace}
11   \usepackage{tabularx}
12   \usepackage{graphicx}
13   \usepackage{booktabs}
14   \usepackage{bibentry}
15   \usepackage{mathrsfs}
16 %\usepackage{berkeley}
16   \usepackage[ref]{overcite}
17   \pagestyle{plain}
18   \pagenumbering{arabic}
# Line 26 | Line 25
25  
26   \begin{document}
27  
28 < \title{Is the Ewald Summation necessary in typical molecular simulations: Alternatives to the accepted standard of cutoff policies}
28 > \title{Is the Ewald Summation necessary? Pairwise alternatives to the accepted standard for long-range electrostatics}
29  
30 < \author{Christopher J. Fennell and J. Daniel Gezelter \\
30 > \author{Christopher J. Fennell and J. Daniel Gezelter\footnote{Corresponding author. \ Electronic mail:
31 > gezelter@nd.edu} \\
32   Department of Chemistry and Biochemistry\\
33   University of Notre Dame\\
34   Notre Dame, Indiana 46556}
# Line 36 | Line 36 | Notre Dame, Indiana 46556}
36   \date{\today}
37  
38   \maketitle
39 < %\doublespacing
39 > \doublespacing
40 >
41   \nobibliography{}
42   \begin{abstract}
43 < A new method for accumulating electrostatic interactions was derived from the previous efforts described in \bibentry{Wolf99} and \bibentry{Zahn02} as a possible replacement for lattice sum methods in molecular simulations.  Comparisons were performed with this and other pairwise electrostatic summation techniques against the smooth particle mesh Ewald (SPME) summation to see how well they reproduce the energetics and dynamics of a variety of simulation types.  The newly derived Shifted-Force technique shows a remarkable ability to reproduce the behavior exhibited in simulations using SPME with an $\mathscr{O}(N)$ computational cost, equivalent to merely the real-space portion of the lattice summation.  
43 > A new method for accumulating electrostatic interactions was derived
44 > from the previous efforts described in \bibentry{Wolf99} and
45 > \bibentry{Zahn02} as a possible replacement for lattice sum methods in
46 > molecular simulations.  Comparisons were performed with this and other
47 > pairwise electrostatic summation techniques against the smooth
48 > particle mesh Ewald (SPME) summation to see how well they reproduce
49 > the energetics and dynamics of a variety of simulation types.  The
50 > newly derived Shifted-Force technique shows a remarkable ability to
51 > reproduce the behavior exhibited in simulations using SPME with an
52 > $\mathscr{O}(N)$ computational cost, equivalent to merely the
53 > real-space portion of the lattice summation.
54 >
55   \end{abstract}
56  
57 + \newpage
58 +
59   %\narrowtext
60  
61 < %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
61 > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
62   %                              BODY OF TEXT
63 < %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
63 > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
64  
65   \section{Introduction}
66  
67 < In molecular simulations, proper accumulation of the electrostatic interactions is considered one of the most essential and computationally demanding tasks.  
67 > In molecular simulations, proper accumulation of the electrostatic
68 > interactions is considered one of the most essential and
69 > computationally demanding tasks.  The common molecular mechanics force
70 > fields are founded on representation of the atomic sites centered on
71 > full or partial charges shielded by Lennard-Jones type interactions.
72 > This means that nearly every pair interaction involves an
73 > charge-charge calculation.  Coupled with $r^{-1}$ decay, the monopole
74 > interactions quickly become a burden for molecular systems of all
75 > sizes.  For example, in small systems, the electrostatic pair
76 > interaction may not have decayed appreciably within the box length
77 > leading to an effect excluded from the pair interactions within a unit
78 > box.  In large systems, excessively large cutoffs need to be used to
79 > 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.
82  
83 < blah blah blah Ewald Sum Important blah blah blah
83 > \subsection{The Ewald Sum}
84 > The complete accumulation electrostatic interactions in a system with periodic boundary conditions (PBC) requires the consideration of the effect of all charges within a simulation box, as well as those in the periodic replicas,
85 > \begin{equation}
86 > 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],
87 > \label{eq:PBCSum}
88 > \end{equation}
89 > where the sum over $\mathbf{n}$ is a sum over all periodic box replicas
90 > with integer coordinates $\mathbf{n} = (l,m,n)$, and the prime indicates
91 > $i = j$ are neglected for $\mathbf{n} = 0$.\cite{deLeeuw80} Within the
92 > sum, $N$ is the number of electrostatic particles, $\mathbf{r}_{ij}$ is
93 > $\mathbf{r}_j - \mathbf{r}_i$, $L$ is the cell length, $\bm{\Omega}_{i,j}$ are
94 > the Euler angles for $i$ and $j$, and $\phi$ is Poisson's equation
95 > ($\phi(\mathbf{r}_{ij}) = q_i q_j |\mathbf{r}_{ij}|^{-1}$ for charge-charge
96 > interactions). In the case of monopole electrostatics,
97 > eq. (\ref{eq:PBCSum}) is conditionally convergent and is discontiuous
98 > for non-neutral systems.
99  
100 < In a recent paper by Wolf \textit{et al.}, a procedure was outlined for accumulation of electrostatic interactions in a simple pairwise fashion.\cite{Wolf99}  They took the observation that the electrostatic interaction is short-ranged in systems of charges and that charge neutralization within the cutoff spheres is crucial for potential stability, and they devised a pairwise summation method that ensures charge neutrality and gives results similar to those obtained using the Ewald summation.  The resulting shifted Coulomb potential (Eq. \ref{eq:WolfPot}) includes image-charges subtracted out through placement on the cutoff sphere and a distance-dependent damping function (identical to that seen in the real-space portion of the Ewald sum) to hasten energetic convergence
100 > This electrostatic summation problem was originally studied by Ewald
101 > for the case of an infinite crystal.\cite{Ewald21}. The approach he
102 > took was to convert this conditionally convergent sum into two
103 > absolutely convergent summations: a short-ranged real-space summation
104 > and a long-ranged reciprocal-space summation,
105   \begin{equation}
106 < V(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\}.
106 > \begin{split}
107 > 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,
108 > \end{split}
109 > \label{eq:EwaldSum}
110 > \end{equation}
111 > where $\alpha$ is a damping parameter, or separation constant, with
112 > units of \AA$^{-1}$, $\mathbf{k}$ are the reciprocal vectors and equal
113 > $2\pi\mathbf{n}/L^2$, and $\epsilon_\textrm{S}$ is the dielectric
114 > constant of the encompassing medium. The final two terms of
115 > eq. (\ref{eq:EwaldSum}) are a particle-self term and a dipolar term
116 > for interacting with a surrounding dielectric.\cite{Allen87} This
117 > dipolar term was neglected in early applications in molecular
118 > simulations,\cite{Brush66,Woodcock71} until it was introduced by de
119 > Leeuw {\it et al.} to address situations where the unit cell has a
120 > dipole moment and this dipole moment gets magnified through
121 > replication of the periodic images.\cite{deLeeuw80,Smith81} If this
122 > term is taken to be zero, the system is using conducting boundary
123 > conditions, $\epsilon_{\rm S} = \infty$. Figure
124 > \ref{fig:ewaldTime} shows how the Ewald sum has been applied over
125 > time.  Initially, due to the small size of systems, the entire
126 > simulation box was replicated to convergence.  Currently, we balance a
127 > spherical real-space cutoff with the reciprocal sum and consider the
128 > surrounding dielectric.
129 > \begin{figure}
130 > \centering
131 > \includegraphics[width = \linewidth]{./ewaldProgression.pdf}
132 > \caption{How the application of the Ewald summation has changed with
133 > the increase in computer power.  Initially, only small numbers of
134 > particles could be studied, and the Ewald sum acted to replicate the
135 > unit cell charge distribution out to convergence.  Now, much larger
136 > systems of charges are investigated with fixed distance cutoffs.  The
137 > calculated structure factor is used to sum out to great distance, and
138 > a surrounding dielectric term is included.}
139 > \label{fig:ewaldTime}
140 > \end{figure}
141 >
142 > The Ewald summation in the straight-forward form is an
143 > $\mathscr{O}(N^2)$ algorithm.  The separation constant $(\alpha)$
144 > plays an important role in the computational cost balance between the
145 > direct and reciprocal-space portions of the summation.  The choice of
146 > the magnitude of this value allows one to select whether the
147 > real-space or reciprocal space portion of the summation is an
148 > $\mathscr{O}(N^2)$ calcualtion (with the other being
149 > $\mathscr{O}(N)$).\cite{Sagui99} With appropriate choice of $\alpha$
150 > and thoughtful algorithm development, this cost can be brought down to
151 > $\mathscr{O}(N^{3/2})$.\cite{Perram88} The typical route taken to
152 > reduce the cost of the Ewald summation further is to set $\alpha$ such
153 > that the real-space interactions decay rapidly, allowing for a short
154 > spherical cutoff, and then optimize the reciprocal space summation.
155 > These optimizations usually involve the utilization of the fast
156 > Fourier transform (FFT),\cite{Hockney81} leading to the
157 > particle-particle particle-mesh (P3M) and particle mesh Ewald (PME)
158 > methods.\cite{Shimada93,Luty94,Luty95,Darden93,Essmann95} In these
159 > methods, the cost of the reciprocal-space portion of the Ewald
160 > summation is from $\mathscr{O}(N^2)$ down to $\mathscr{O}(N \log N)$.
161 >
162 > These developments and optimizations have led the use of the Ewald
163 > summation to become routine in simulations with periodic boundary
164 > conditions. However, in certain systems the intrinsic three
165 > dimensional periodicity can prove to be problematic, such as two
166 > dimensional surfaces and membranes.  The Ewald sum has been
167 > reformulated to handle 2D
168 > systems,\cite{Parry75,Parry76,Heyes77,deLeeuw79,Rhee89}, but the new
169 > methods have been found to be computationally
170 > expensive.\cite{Spohr97,Yeh99} Inclusion of a correction term in the
171 > full Ewald summation is a possible direction for enabling the handling
172 > of 2D systems and the inclusion of the optimizations described
173 > previously.\cite{Yeh99}
174 >
175 > Several studies have recognized that the inherent periodicity in the
176 > Ewald sum can also have an effect on systems that have the same
177 > dimensionality.\cite{Roberts94,Roberts95,Luty96,Hunenberger99a,Hunenberger99b,Weber00}
178 > Good examples are solvated proteins kept at high relative
179 > concentration due to the periodicity of the electrostatics.  In these
180 > systems, the more compact folded states of a protein can be
181 > artificially stabilized by the periodic replicas introduced by the
182 > Ewald summation.\cite{Weber00} Thus, care ought to be taken when
183 > considering the use of the Ewald summation where the intrinsic
184 > perodicity may negatively affect the system dynamics.
185 >
186 >
187 > \subsection{The Wolf and Zahn Methods}
188 > In a recent paper by Wolf \textit{et al.}, a procedure was outlined
189 > for the accurate accumulation of electrostatic interactions in an
190 > efficient pairwise fashion and lacks the inherent periodicity of the
191 > Ewald summation.\cite{Wolf99} Wolf \textit{et al.} observed that the
192 > electrostatic interaction is effectively short-ranged in condensed
193 > phase systems and that neutralization of the charge contained within
194 > the cutoff radius is crucial for potential stability. They devised a
195 > pairwise summation method that ensures charge neutrality and gives
196 > results similar to those obtained with the Ewald summation.  The
197 > resulting shifted Coulomb potential (Eq. \ref{eq:WolfPot}) includes
198 > image-charges subtracted out through placement on the cutoff sphere
199 > and a distance-dependent damping function (identical to that seen in
200 > the real-space portion of the Ewald sum) to aid convergence
201 > \begin{equation}
202 > 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\}.
203   \label{eq:WolfPot}
204   \end{equation}
205 < In order to use this potential in molecular dynamics simulations, the derivative of this potential was taken, followed by evaluation of the limit to give the following forces,
205 > Eq. (\ref{eq:WolfPot}) is essentially the common form of a shifted
206 > potential.  However, neutralizing the charge contained within each
207 > cutoff sphere requires the placement of a self-image charge on the
208 > surface of the cutoff sphere.  This additional self-term in the total
209 > potential enabled Wolf {\it et al.}  to obtain excellent estimates of
210 > Madelung energies for many crystals.
211 >
212 > In order to use their charge-neutralized potential in molecular
213 > dynamics simulations, Wolf \textit{et al.} suggested taking the
214 > derivative of this potential prior to evaluation of the limit.  This
215 > procedure gives an expression for the forces,
216   \begin{equation}
217 < F(r_{ij}) = q_iq_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}(\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].
217 > 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\},
218   \label{eq:WolfForces}
219   \end{equation}
220 < More recently, Zahn \textit{et al.} investigated this electrostatic summation method for use in simulations involving water.\cite{Zahn02}  In their work, they point out that the method as proposed is problematic for use in Molecular Dynamics simulations, because the integral of the forces and derivative of the potential are not equivalent.  This comes about from the procedure of taking the limit shown in equation \ref{eq:WolfPot} after calculating the derivatives.\cite{Wolf99}  Zahn \textit{et al.} proposed a shifted force adaptation of this "Wolf summation method" as a way to use this technique in Molecular Dynamics simulations.  Taking the integral of the forces shown in equation \ref{eq:WolfForces}, they obtained a new shifted damped Coulomb potential
220 > that incorporates both image charges and damping of the electrostatic
221 > interaction.
222 >
223 > More recently, Zahn \textit{et al.} investigated these potential and
224 > force expressions for use in simulations involving water.\cite{Zahn02}
225 > In their work, they pointed out that the forces and derivative of
226 > the potential are not commensurate.  Attempts to use both
227 > Eqs. (\ref{eq:WolfPot}) and (\ref{eq:WolfForces}) together will lead
228 > to poor energy conservation.  They correctly observed that taking the
229 > limit shown in equation (\ref{eq:WolfPot}) {\it after} calculating the
230 > derivatives gives forces for a different potential energy function
231 > than the one shown in Eq. (\ref{eq:WolfPot}).
232 >
233 > Zahn \textit{et al.} proposed a modified form of this ``Wolf summation
234 > method'' as a way to use this technique in Molecular Dynamics
235 > simulations.  Taking the integral of the forces shown in equation
236 > \ref{eq:WolfForces}, they proposed a new damped Coulomb
237 > potential,
238   \begin{equation}
239 < V\left(r_{ij}\right)=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\}.
239 > 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\}.
240   \label{eq:ZahnPot}
241   \end{equation}
242 < They showed that this new potential does well in capturing the structural and dynamic properties of water in their simulations.
242 > They showed that this potential does fairly well at capturing the
243 > structural and dynamic properties of water compared the same
244 > properties obtained using the Ewald sum.
245  
246 < While implementing these methods for use in our own work, we discovered the potential presented in equation \ref{eq:ZahnPot} is still not entirely correct.  The derivative of this equation leads to a sign error in the forces, resulting in erroneous dynamics.  We can apply the standard shifted force potential form for Lennard-Jones potentials,
246 > \subsection{Simple Forms for Pairwise Electrostatics}
247 >
248 > The potentials proposed by Wolf \textit{et al.} and Zahn \textit{et
249 > al.} are constructed using two different (and separable) computational
250 > tricks: \begin{enumerate}
251 > \item shifting through the use of image charges, and
252 > \item damping the electrostatic interaction.
253 > \end{enumerate}  Wolf \textit{et al.} treated the
254 > development of their summation method as a progressive application of
255 > these techniques,\cite{Wolf99} while Zahn \textit{et al.} founded
256 > their damped Coulomb modification (Eq. (\ref{eq:ZahnPot})) on the
257 > post-limit forces (Eq. (\ref{eq:WolfForces})) which were derived using
258 > both techniques.  It is possible, however, to separate these
259 > tricks and study their effects independently.
260 >
261 > Starting with the original observation that the effective range of the
262 > electrostatic interaction in condensed phases is considerably less
263 > than $r^{-1}$, either the cutoff sphere neutralization or the
264 > distance-dependent damping technique could be used as a foundation for
265 > a new pairwise summation method.  Wolf \textit{et al.} made the
266 > observation that charge neutralization within the cutoff sphere plays
267 > a significant role in energy convergence; therefore we will begin our
268 > analysis with the various shifted forms that maintain this charge
269 > neutralization.  We can evaluate the methods of Wolf
270 > \textit{et al.}  and Zahn \textit{et al.} by considering the standard
271 > shifted potential,
272   \begin{equation}
273 < V^\textrm{SF}(r_{ij}) =         \begin{cases} v(r_{ij})-v_\textrm{c}-\left(\frac{\textrm{d}v(r_{ij})}{\textrm{d}r_{ij}}\right)_{r_{ij}=R_\textrm{c}}(r_{ij}-R_\textrm{c}) &\quad r_{ij}\leqslant R_\textrm{c} \\ 0 &\quad r_{ij}>R_\textrm{c}
274 <                                                \end{cases},
273 > v_\textrm{SP}(r) =      \begin{cases}
274 > v(r)-v_\textrm{c} &\quad r\leqslant R_\textrm{c} \\ 0 &\quad r >
275 > R_\textrm{c}  
276 > \end{cases},
277 > \label{eq:shiftingPotForm}
278   \end{equation}
279 < where $v(r_{ij})$ unshifted form of the potential, and $v_c$ is a constant term that insures the potential goes to zero at the cutoff radius.\cite{Allen87}  Using the simple damped Coulomb potential as the starting point,
279 > and shifted force,
280   \begin{equation}
281 < v(r_{ij}) = \frac{\mathrm{erfc}\left(\alpha r_{ij}\right)}{r_{ij}},
282 < \label{eq:dampCoulomb}
283 < \end{equation}
284 < the resulting shifted force potential is
281 > v_\textrm{SF}(r) =      \begin{cases}
282 > v(r)-v_\textrm{c}-\left(\frac{d v(r)}{d r}\right)_{r=R_\textrm{c}}(r-R_\textrm{c})
283 > &\quad r\leqslant R_\textrm{c} \\ 0 &\quad r > R_\textrm{c}
284 >                                                \end{cases},
285 > \label{eq:shiftingForm}
286 > \end{equation}
287 > functions where $v(r)$ is the unshifted form of the potential, and
288 > $v_c$ is $v(R_\textrm{c})$.  The Shifted Force ({\sc sf}) form ensures
289 > that both the potential and the forces goes to zero at the cutoff
290 > radius, while the Shifted Potential ({\sc sp}) form only ensures the
291 > potential is smooth at the cutoff radius
292 > ($R_\textrm{c}$).\cite{Allen87}
293 >
294 > The forces associated with the shifted potential are simply the forces
295 > of the unshifted potential itself (when inside the cutoff sphere),
296   \begin{equation}
297 < V^\mathrm{SF}\left(r_{ij}\right)=q_iq_j\left\{\frac{\mathrm{erfc}\left(\alpha r_{ij}\right)}{r_{ij}}-\frac{\mathrm{erfc}\left(\alpha R_\mathrm{c}\right)}{R_\mathrm{c}}+\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\}.
297 > f_{\textrm{SP}} = -\left( \frac{d v(r)}{dr} \right),
298 > \end{equation}
299 > and are zero outside.  Inside the cutoff sphere, the forces associated
300 > with the shifted force form can be written,
301 > \begin{equation}
302 > f_{\textrm{SF}} = -\left( \frac{d v(r)}{dr} \right) + \left(\frac{d
303 > v(r)}{dr} \right)_{r=R_\textrm{c}}.
304 > \end{equation}
305 >
306 > If the potential ($v(r)$) is taken to be the normal Coulomb potential,
307 > \begin{equation}
308 > v(r) = \frac{q_i q_j}{r},
309 > \label{eq:Coulomb}
310 > \end{equation}
311 > then the Shifted Potential ({\sc sp}) forms will give Wolf {\it et
312 > al.}'s undamped prescription:
313 > \begin{equation}
314 > v_\textrm{SP}(r) =
315 > q_iq_j\left(\frac{1}{r}-\frac{1}{R_\textrm{c}}\right) \quad
316 > r\leqslant R_\textrm{c},
317 > \label{eq:SPPot}
318 > \end{equation}
319 > with associated forces,
320 > \begin{equation}
321 > f_\textrm{SP}(r) = q_iq_j\left(\frac{1}{r^2}\right) \quad r\leqslant R_\textrm{c}.
322 > \label{eq:SPForces}
323 > \end{equation}
324 > These forces are identical to the forces of the standard Coulomb
325 > interaction, and cutting these off at $R_c$ was addressed by Wolf
326 > \textit{et al.} as undesirable.  They pointed out that the effect of
327 > the image charges is neglected in the forces when this form is
328 > used,\cite{Wolf99} thereby eliminating any benefit from the method in
329 > molecular dynamics.  Additionally, there is a discontinuity in the
330 > forces at the cutoff radius which results in energy drift during MD
331 > simulations.
332 >
333 > The shifted force ({\sc sf}) form using the normal Coulomb potential
334 > will give,
335 > \begin{equation}
336 > v_\textrm{SF}(r) = q_iq_j\left[\frac{1}{r}-\frac{1}{R_\textrm{c}}+\left(\frac{1}{R_\textrm{c}^2}\right)(r-R_\textrm{c})\right] \quad r\leqslant R_\textrm{c}.
337   \label{eq:SFPot}
338   \end{equation}
339 < Equation \ref{eq:SFPot} is similar to equation \ref{eq:ZahnPot} derived by Zahn \textit{et al.}; however, there are two important differences.\cite{Zahn02} First, the $v_\textrm{c}$ term is simply equation \ref{eq:dampCoulomb} with $R_\textrm{c}$ supplied for $r_{ij}$.  This term is not present in equation \ref{eq:ZahnPot}, resulting in a discontinuity in the potential as particles cross $R_\textrm{c}$.  Second, the sign of the derivative portion is different.  The constant $v_\textrm{c}$ term is not going to have a presence in the forces after performing the derivative, but the negative sign does effect the derivative.  In fact, it introduces a discontinuity in the forces at the cutoff, because the force function is shifted in the wrong direction and doesn't cross zero at $R_\textrm{c}$.  Thus, these alterations make for an electrostatic summation method that is continuous in both the potential and forces and incorporates the pairwise sum considerations stressed by Wolf \textit{et al.}\cite{Wolf99}
339 > with associated forces,
340 > \begin{equation}
341 > 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}.
342 > \label{eq:SFForces}
343 > \end{equation}
344 > This formulation has the benefits that there are no discontinuities at
345 > the cutoff distance, while the neutralizing image charges are present
346 > in both the energy and force expressions.  It would be simple to add
347 > the self-neutralizing term back when computing the total energy of the
348 > system, thereby maintaining the agreement with the Madelung energies.
349 > A side effect of this treatment is the alteration in the shape of the
350 > potential that comes from the derivative term.  Thus, a degree of
351 > clarity about agreement with the empirical potential is lost in order
352 > to gain functionality in dynamics simulations.
353  
354 < It is important to note that shifted force techniques have a drawback in that they alter the shape of the original potential.  We thereby lose a degree of clarity about the original formulation of the potential in order to gain functionality in dynamics simulations.  An alternative direction would be use the derivatives of the original potential for the forces.  This was addressed by Wolf \textit{et al.} as undesirable, because the effect of the image charges is neglected in the forces when they would expect there to be some pressure exerted due to their presence.\cite{Wolf99}  As a consequence the forces, though mathematically valid, may not be physically correct due to this missing component.  In Monte Carlo simulations, this argument is mute, because forces are not evaluated.  We decided to consider both the Shifted-Force technique described above and this Shifted-Potential technique to determine their usability in the evaluation of both energetic and dynamic results in simulations with electrostatics.
354 > Wolf \textit{et al.} originally discussed the energetics of the
355 > shifted Coulomb potential (Eq. \ref{eq:SPPot}), and they found that
356 > it was still insufficient for accurate determination of the energy
357 > with reasonable cutoff distances.  The calculated Madelung energies
358 > fluctuate around the expected value with increasing cutoff radius, but
359 > the oscillations converge toward the correct value.\cite{Wolf99} A
360 > damping function was incorporated to accelerate the convergence; and
361 > though alternative functional forms could be
362 > used,\cite{Jones56,Heyes81} the complimentary error function was
363 > chosen to mirror the effective screening used in the Ewald summation.
364 > Incorporating this error function damping into the simple Coulomb
365 > potential,
366 > \begin{equation}
367 > v(r) = \frac{\mathrm{erfc}\left(\alpha r\right)}{r},
368 > \label{eq:dampCoulomb}
369 > \end{equation}
370 > the shifted potential (Eq. (\ref{eq:SPPot})) can be reacquired using
371 > eq. (\ref{eq:shiftingForm}),
372 > \begin{equation}
373 > 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},
374 > \label{eq:DSPPot}
375 > \end{equation}
376 > with associated forces,
377 > \begin{equation}
378 > 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}.
379 > \label{eq:DSPForces}
380 > \end{equation}
381 > Again, this damped shifted potential suffers from a discontinuity and
382 > a lack of the image charges in the forces.  To remedy these concerns,
383 > one may derive a {\sc sf} variant by including  the derivative
384 > term in eq. (\ref{eq:shiftingForm}),
385 > \begin{equation}
386 > \begin{split}
387 > 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}.
388 > \label{eq:DSFPot}
389 > \end{split}
390 > \end{equation}
391 > The derivative of the above potential will lead to the following forces,
392 > \begin{equation}
393 > \begin{split}
394 > 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}.
395 > \label{eq:DSFForces}
396 > \end{split}
397 > \end{equation}
398 > If the damping parameter $(\alpha)$ is chosen to be zero, the undamped
399 > case, eqs. (\ref{eq:SPPot}-\ref{eq:SFForces}) are correctly recovered
400 > from eqs. (\ref{eq:DSPPot}-\ref{eq:DSFForces}).
401  
402 < A variety of simulation situations were assembled and analyzed to determine the relative effectiveness of the adapted Wolf spherical truncation schemes at reproducing the results obtained using a smooth particle mesh Ewald (SPME) summation technique.\cite{Essmann95}  In addition to the Shifted-Potential and Shifted-Force adapted Wolf methods, both reaction field and uncorrected cutoff methods were included for comparison purposes.  The general usability of these methods in both Monte Carlo and Molecular Dynamics calculations was assessed through statistical analysis over the combined results from all of the following studied systems:
402 > This new {\sc sf} potential is similar to equation \ref{eq:ZahnPot}
403 > derived by Zahn \textit{et al.}; however, there are two important
404 > differences.\cite{Zahn02} First, the $v_\textrm{c}$ term from
405 > eq. (\ref{eq:shiftingForm}) is equal to eq. (\ref{eq:dampCoulomb})
406 > with $r$ replaced by $R_\textrm{c}$.  This term is {\it not} present
407 > in the Zahn potential, resulting in a potential discontinuity as
408 > particles cross $R_\textrm{c}$.  Second, the sign of the derivative
409 > portion is different.  The missing $v_\textrm{c}$ term would not
410 > affect molecular dynamics simulations (although the computed energy
411 > would be expected to have sudden jumps as particle distances crossed
412 > $R_c$).  The sign problem would be a potential source of errors,
413 > however.  In fact, it introduces a discontinuity in the forces at the
414 > cutoff, because the force function is shifted in the wrong direction
415 > and doesn't cross zero at $R_\textrm{c}$.
416 >
417 > Eqs. (\ref{eq:DSFPot}) and (\ref{eq:DSFForces}) result in an
418 > electrostatic summation method that is continuous in both the
419 > potential and forces and which incorporates the damping function
420 > proposed by Wolf \textit{et al.}\cite{Wolf99} In the rest of this
421 > paper, we will evaluate exactly how good these methods ({\sc sp}, {\sc
422 > sf}, damping) are at reproducing the correct electrostatic summation
423 > performed by the Ewald sum.
424 >
425 > \subsection{Other alternatives}
426 > In addition to the methods described above, we will consider some
427 > other techniques that commonly get used in molecular simulations.  The
428 > simplest of these is group-based cutoffs.  Though of little use for
429 > non-neutral molecules, collecting atoms into neutral groups takes
430 > advantage of the observation that the electrostatic interactions decay
431 > faster than those for monopolar pairs.\cite{Steinbach94} When
432 > considering these molecules as groups, an orientational aspect is
433 > introduced to the interactions.  Consequently, as these molecular
434 > particles move through $R_\textrm{c}$, the energy will drift upward
435 > due to the anisotropy of the net molecular dipole
436 > interactions.\cite{Rahman71} To maintain good energy conservation,
437 > both the potential and derivative need to be smoothly switched to zero
438 > at $R_\textrm{c}$.\cite{Adams79} This is accomplished using a
439 > switching function,
440 > \begin{equation}
441 > S(r) = \begin{cases} 1 &\quad r\leqslant r_\textrm{sw} \\
442 > \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} \\
443 > 0 &\quad r>R_\textrm{c}
444 > \end{cases},
445 > \end{equation}
446 > where the above form is for a cubic function.  If a smooth second
447 > derivative is desired, a fifth (or higher) order polynomial can be
448 > used.\cite{Andrea83}
449 >
450 > Group-based cutoffs neglect the surroundings beyond $R_\textrm{c}$,
451 > and to incorporate their effect, a method like Reaction Field ({\sc
452 > rf}) can be used.  The original theory for {\sc rf} was originally
453 > developed by Onsager,\cite{Onsager36} and it was applied in
454 > simulations for the study of water by Barker and Watts.\cite{Barker73}
455 > In application, it is simply an extension of the group-based cutoff
456 > method where the net dipole within the cutoff sphere polarizes an
457 > external dielectric, which reacts back on the central dipole.  The
458 > same switching function considerations for group-based cutoffs need to
459 > made for {\sc rf}, with the additional pre-specification of a
460 > dielectric constant.
461 >
462 > \section{Methods}
463 >
464 > In classical molecular mechanics simulations, there are two primary
465 > techniques utilized to obtain information about the system of
466 > interest: Monte Carlo (MC) and Molecular Dynamics (MD).  Both of these
467 > techniques utilize pairwise summations of interactions between
468 > particle sites, but they use these summations in different ways.
469 >
470 > In MC, the potential energy difference between two subsequent
471 > configurations dictates the progression of MC sampling.  Going back to
472 > the origins of this method, the acceptance criterion for the canonical
473 > ensemble laid out by Metropolis \textit{et al.} states that a
474 > subsequent configuration is accepted if $\Delta E < 0$ or if $\xi <
475 > \exp(-\Delta E/kT)$, where $\xi$ is a random number between 0 and
476 > 1.\cite{Metropolis53} Maintaining the correct $\Delta E$ when using an
477 > alternate method for handling the long-range electrostatics will
478 > ensure proper sampling from the ensemble.
479 >
480 > In MD, the derivative of the potential governs how the system will
481 > progress in time.  Consequently, the force and torque vectors on each
482 > body in the system dictate how the system evolves.  If the magnitude
483 > and direction of these vectors are similar when using alternate
484 > electrostatic summation techniques, the dynamics in the short term
485 > will be indistinguishable.  Because error in MD calculations is
486 > cumulative, one should expect greater deviation at longer times,
487 > although methods which have large differences in the force and torque
488 > vectors will diverge from each other more rapidly.
489 >
490 > \subsection{Monte Carlo and the Energy Gap}\label{sec:MCMethods}
491 > The pairwise summation techniques (outlined in section
492 > \ref{sec:ESMethods}) were evaluated for use in MC simulations by
493 > studying the energy differences between conformations.  We took the
494 > SPME-computed energy difference between two conformations to be the
495 > correct behavior. An ideal performance by an alternative method would
496 > reproduce these energy differences exactly.  Since none of the methods
497 > provide exact energy differences, we used linear least squares
498 > regressions of the $\Delta E$ values between configurations using SPME
499 > against $\Delta E$ values using tested methods provides a quantitative
500 > comparison of this agreement.  Unitary results for both the
501 > correlation and correlation coefficient for these regressions indicate
502 > equivalent energetic results between the method under consideration
503 > and electrostatics handled using SPME.  Sample correlation plots for
504 > two alternate methods are shown in Fig. \ref{fig:linearFit}.
505 >
506 > \begin{figure}
507 > \centering
508 > \includegraphics[width = \linewidth]{./dualLinear.pdf}
509 > \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.}
510 > \label{fig:linearFit}
511 > \end{figure}
512 >
513 > Each system type (detailed in section \ref{sec:RepSims}) was
514 > represented using 500 independent configurations.  Additionally, we
515 > used seven different system types, so each of the alternate
516 > (non-Ewald) electrostatic summation methods was evaluated using
517 > 873,250 configurational energy differences.
518 >
519 > Results and discussion for the individual analysis of each of the
520 > system types appear in the supporting information, while the
521 > cumulative results over all the investigated systems appears below in
522 > section \ref{sec:EnergyResults}.
523 >
524 > \subsection{Molecular Dynamics and the Force and Torque Vectors}\label{sec:MDMethods}
525 > We evaluated the pairwise methods (outlined in section
526 > \ref{sec:ESMethods}) for use in MD simulations by
527 > comparing the force and torque vectors with those obtained using the
528 > reference Ewald summation (SPME).  Both the magnitude and the
529 > direction of these vectors on each of the bodies in the system were
530 > analyzed.  For the magnitude of these vectors, linear least squares
531 > regression analyses were performed as described previously for
532 > comparing $\Delta E$ values.  Instead of a single energy difference
533 > between two system configurations, we compared the magnitudes of the
534 > forces (and torques) on each molecule in each configuration.  For a
535 > system of 1000 water molecules and 40 ions, there are 1040 force
536 > vectors and 1000 torque vectors.  With 500 configurations, this
537 > results in 520,000 force and 500,000 torque vector comparisons.
538 > Additionally, data from seven different system types was aggregated
539 > before the comparison was made.
540 >
541 > The {\it directionality} of the force and torque vectors was
542 > investigated through measurement of the angle ($\theta$) formed
543 > between those computed from the particular method and those from SPME,
544 > \begin{equation}
545 > \theta_f = \cos^{-1} \hat{f}_\textrm{SPME} \cdot \hat{f}_\textrm{Method},
546 > \end{equation}
547 > where $\hat{f}_\textrm{M}$ is the unit vector pointing along the
548 > force vector computed using method $M$.  
549 >
550 > Each of these $\theta$ values was accumulated in a distribution
551 > function, weighted by the area on the unit sphere.  Non-linear
552 > Gaussian fits were used to measure the width of the resulting
553 > distributions.
554 >
555 > \begin{figure}
556 > \centering
557 > \includegraphics[width = \linewidth]{./gaussFit.pdf}
558 > \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.}
559 > \label{fig:gaussian}
560 > \end{figure}
561 >
562 > Figure \ref{fig:gaussian} shows an example distribution with applied
563 > non-linear fits.  The solid line is a Gaussian profile, while the
564 > dotted line is a Voigt profile, a convolution of a Gaussian and a
565 > Lorentzian.  Since this distribution is a measure of angular error
566 > between two different electrostatic summation methods, there is no
567 > {\it a priori} reason for the profile to adhere to any specific shape.
568 > Gaussian fits was used to compare all the tested methods.  The
569 > variance ($\sigma^2$) was extracted from each of these fits and was
570 > used to compare distribution widths.  Values of $\sigma^2$ near zero
571 > indicate vector directions indistinguishable from those calculated
572 > when using the reference method (SPME).
573 >
574 > \subsection{Short-time Dynamics}
575 > Evaluation of the short-time dynamics of charged systems was performed
576 > by considering the 1000 K NaCl crystal system while using a subset of the
577 > best performing pairwise methods.  The NaCl crystal was chosen to
578 > avoid possible complications involving the propagation techniques of
579 > orientational motion in molecular systems.  All systems were started
580 > with the same initial positions and velocities.  Simulations were
581 > performed under the microcanonical ensemble, and velocity
582 > autocorrelation functions (Eq. \ref{eq:vCorr}) were computed for each
583 > of the trajectories,
584 > \begin{equation}
585 > C_v(t) = \frac{\langle v_i(0)\cdot v_i(t)\rangle}{\langle v_i(0)\cdot v_i(0)\rangle}.
586 > \label{eq:vCorr}
587 > \end{equation}
588 > Velocity autocorrelation functions require detailed short time data,
589 > thus velocity information was saved every 2 fs over 10 ps
590 > trajectories. Because the NaCl crystal is composed of two different
591 > atom types, the average of the two resulting velocity autocorrelation
592 > functions was used for comparisons.
593 >
594 > \subsection{Long-Time and Collective Motion}\label{sec:LongTimeMethods}
595 > Evaluation of the long-time dynamics of charged systems was performed
596 > by considering the NaCl crystal system, again while using a subset of
597 > the best performing pairwise methods.  To enhance the atomic motion,
598 > these crystals were equilibrated at 1000 K, near the experimental
599 > $T_m$ for NaCl.  Simulations were performed under the microcanonical
600 > ensemble, and velocity information was saved every 5 fs over 100 ps
601 > trajectories.  The power spectrum ($I(\omega)$) was obtained via
602 > Fourier transform of the velocity autocorrelation function
603 > \begin{equation}
604 > I(\omega) = \frac{1}{2\pi}\int^{\infty}_{-\infty}C_v(t)e^{-i\omega t}dt,
605 > \label{eq:powerSpec}
606 > \end{equation}
607 > where the frequency, $\omega=0,\ 1,\ ...,\ N-1$. Again, because the
608 > NaCl crystal is composed of two different atom types, the average of
609 > the two resulting power spectra was used for comparisons.
610 >
611 > \subsection{Representative Simulations}\label{sec:RepSims}
612 > A variety of common and representative simulations were analyzed to
613 > determine the relative effectiveness of the pairwise summation
614 > techniques in reproducing the energetics and dynamics exhibited by
615 > SPME.  The studied systems were as follows:
616   \begin{enumerate}
617   \item Liquid Water
618   \item Crystalline Water (Ice I$_\textrm{c}$)
# Line 100 | Line 622 | A variety of simulation situations were assembled and
622   \item High Ionic Strength Solution of NaCl in Water
623   \item 6 \AA\  Radius Sphere of Argon in Water
624   \end{enumerate}
625 < By studying these methods in systems composed entirely of neutral groups, charged particles, and mixtures of the two, we can either comment on possible system dependence or universal applicability of the techniques.
625 > By utilizing the pairwise techniques (outlined in section
626 > \ref{sec:ESMethods}) in systems composed entirely of neutral groups,
627 > charged particles, and mixtures of the two, we can comment on possible
628 > system dependence and/or universal applicability of the techniques.
629  
630 < \section{Methods}
630 > Generation of the system configurations was dependent on the system
631 > type.  For the solid and liquid water configurations, configuration
632 > snapshots were taken at regular intervals from higher temperature 1000
633 > SPC/E water molecule trajectories and each equilibrated individually.
634 > The solid and liquid NaCl systems consisted of 500 Na+ and 500 Cl-
635 > ions and were selected and equilibrated in the same fashion as the
636 > water systems.  For the low and high ionic strength NaCl solutions, 4
637 > and 40 ions were first solvated in a 1000 water molecule boxes
638 > respectively.  Ion and water positions were then randomly swapped, and
639 > the resulting configurations were again equilibrated individually.
640 > Finally, for the Argon/Water "charge void" systems, the identities of
641 > all the SPC/E waters within 6 \AA\ of the center of the equilibrated
642 > water configurations were converted to argon
643 > (Fig. \ref{fig:argonSlice}).
644  
107 In each of the simulated systems, 500 distinct configurations were generated, and the electrostatic summation methods were compared via sequential application on each of these fixed configurations.  The methods compared include SPME, the aforementioned Shifted Potential and Shifted Force methods - both with damping parameters ($\alpha$) of 0, 0.1, 0.2, and 0.3 \AA$^{-1}$ (no, light, moderate, and heavy damping respectively), reaction field with an infinite dielectric constant, and an unmodified cutoff.  Group-based cutoffs with a fifth-order polynomial switching function were necessary for the reaction field simulations and were utilized in the SP, SF, and pure cutoff methods for comparison to the standard lack of group-based cutoffs with a hard truncation.  The SPME calculations were performed using the TINKER implementation of SPME, while all all other method calculations were performed using the OOPSE molecular mechanics package.\cite{Ponder87,Meineke05}
108
109 Generation of the system configurations was dependent on the system type.  For the solid and liquid water configurations, configuration snapshots were taken at regular intervals from higher temperature 1000 SPC/E water molecule trajectories and each equilibrated individually.  The solid and liquid NaCl systems consisted of 500 Na+ and 500 Cl- ions and were selected and equilibrated in the same fashion as the water systems.  For the low and high ionic strength NaCl solutions, 4 and 40 ions were first solvated in a 1000 water molecule boxes respectively.  Ion and water positions were then randomly swapped, and the resulting configurations were again equilibrated individually.  Finally, for the Argon/Water "charge void" systems, the identities of all the SPC/E waters within 6 \AA\ of the center of the equilibrated water configurations were converted to argon (Fig. \ref{fig:argonSlice}).
110
645   \begin{figure}
646   \centering
647 < \includegraphics[width=3.25in]{./slice.pdf}
647 > \includegraphics[width = \linewidth]{./slice.pdf}
648   \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.}
649   \label{fig:argonSlice}
650   \end{figure}
651  
652 < All of these comparisons were performed with three different cutoff radii (9, 12, and 15 \AA) to investigate the cutoff radius dependence of the various techniques.  It should be noted that the damping parameter chosen in SPME, or so called ``Ewald Coefficient", has a significant effect on the energies and forces calculated.  Typical molecular mechanics packages default this to a value dependent on the cutoff radius and a tolerance (typically less than $1 \times 10^{-4}$ kcal/mol).  Smaller tolerances are typically associated with increased accuracy.\cite{Essmann95}  The default TINKER tolerance of $1 \times 10^{-8}$ kcal/mol was used in all SPME calculations, resulting in Ewald Coefficients of 0.4200, 0.3119, and 0.2476 \AA$^{-1}$ for cutoff radii of 9, 12, and 15 \AA\ respectively.
652 > \subsection{Electrostatic Summation Methods}\label{sec:ESMethods}
653 > Electrostatic summation method comparisons were performed using SPME,
654 > the {\sc sp} and {\sc sf} methods - both with damping
655 > parameters ($\alpha$) of 0.0, 0.1, 0.2, and 0.3 \AA$^{-1}$ (no, weak,
656 > moderate, and strong damping respectively), reaction field with an
657 > infinite dielectric constant, and an unmodified cutoff.  Group-based
658 > cutoffs with a fifth-order polynomial switching function were
659 > necessary for the reaction field simulations and were utilized in the
660 > SP, SF, and pure cutoff methods for comparison to the standard lack of
661 > group-based cutoffs with a hard truncation.  The SPME calculations
662 > were performed using the TINKER implementation of SPME,\cite{Ponder87}
663 > while all other method calculations were performed using the OOPSE
664 > molecular mechanics package.\cite{Meineke05}
665  
666 + These methods were additionally evaluated with three different cutoff
667 + radii (9, 12, and 15 \AA) to investigate possible cutoff radius
668 + dependence.  It should be noted that the damping parameter chosen in
669 + SPME, or so called ``Ewald Coefficient", has a significant effect on
670 + the energies and forces calculated.  Typical molecular mechanics
671 + packages default this to a value dependent on the cutoff radius and a
672 + tolerance (typically less than $1 \times 10^{-4}$ kcal/mol).  Smaller
673 + tolerances are typically associated with increased accuracy, but this
674 + usually means more time spent calculating the reciprocal-space portion
675 + of the summation.\cite{Perram88,Essmann95} The default TINKER
676 + tolerance of $1 \times 10^{-8}$ kcal/mol was used in all SPME
677 + calculations, resulting in Ewald Coefficients of 0.4200, 0.3119, and
678 + 0.2476 \AA$^{-1}$ for cutoff radii of 9, 12, and 15 \AA\ respectively.
679 +
680   \section{Results and Discussion}
681  
682 < \subsection{$\Delta E$ Comparison}
683 < In order to evaluate the performance of the adapted Wolf Shifted Potential and Shifted Force electrostatic summation methods for Monte Carlo simulations, the energy differences between configurations need to be compared to the results using SPME.  Considering the SPME results to be the correct or desired behavior, ideal performance of a tested method is taken to be agreement between the energy differences calculated.  Linear least squares regression of the $\Delta E$ values between configurations using SPME against $\Delta E$ values using tested methods provides a quantitative comparison of this agreement.  Unitary results for both the correlation and correlation coefficient for these regressions indicate equivalent energetic results between the methods.  The correlation is the slope of the plotted data while the correlation coefficient ($R^2$) is a measure of the of the data scatter around the fitted line and gives an idea of the quality of the fit (Fig. \ref{fig:linearFit}).
682 > \subsection{Configuration Energy Differences}\label{sec:EnergyResults}
683 > In order to evaluate the performance of the pairwise electrostatic
684 > summation methods for Monte Carlo simulations, the energy differences
685 > between configurations were compared to the values obtained when using
686 > SPME.  The results for the subsequent regression analysis are shown in
687 > figure \ref{fig:delE}.
688  
689   \begin{figure}
690   \centering
691 < \includegraphics[width=3.25in]{./linearFit.pdf}
692 < \caption{Example least squares regression of the $\Delta E$ between configurations for the SF method against SPME in the pure water system.  }
129 < \label{fig:linearFit}
130 < \end{figure}
131 <
132 < With 500 independent configurations, 124,750 $\Delta E$ data points are used in a regression of a single system.  Results and discussion for the individual analysis of each of the system types appear in the supporting information.  To probe the applicability of each method in the general case, all the different system types were included in a single regression.  The results for this regression are shown in figure \ref{fig:delE}.  
133 <
134 < \begin{figure}
135 < \centering
136 < \includegraphics[width=3.25in]{./delEplot.pdf}
137 < \caption{The results from the statistical analysis of the $\Delta$E results for all the system types at 9 \AA\ (${\bullet}$), 12 \AA\ ($\blacksquare$), and 15 \AA\ ($\blacktriangledown$) cutoff radii.  Results close to a value of 1 (dashed line) indicate $\Delta E$ values from that particular method (listed on the left) are nearly indistinguishable from those obtained from SPME.  Reaction Field results do not include NaCl crystal or melt configurations.}
691 > \includegraphics[width=5.5in]{./delEplot.pdf}
692 > \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).}
693   \label{fig:delE}
694   \end{figure}
695  
696 < In figure \ref{fig:delE}, it is apparent that it is unreasonable to expect realistic results using an unmodified cutoff.  This is not all that surprising since this results in large energy fluctuations as atoms move in and out of the cutoff radius.  These fluctuations can be alleviated to some degree by using group based cutoffs with a switching function.  The Group Switch Cutoff row doesn't show a significant improvement in this plot because the salt and salt solution systems contain non-neutral groups, see the accompanying supporting information for a comparison where all groups are neutral.  Correcting the resulting charged cutoff sphere is one of the purposes of the shifted potential proposed by Wolf \textit{et al.}, and this correction indeed improves the results as seen in the Shifted Potental rows.  While the undamped case of this method is a significant improvement over the pure cutoff, it still doesn't correlate that well with SPME.  Inclusion of potential damping improves the results, and using an $\alpha$ of 0.2 \AA $^{-1}$ shows an excellent correlation and quality of fit with the SPME results, particularly with a cutoff radius greater than 12 \AA .  Use of a larger damping parameter is more helpful for the shortest cutoff shown, but it has a detrimental effect on simulations with larger cutoffs.  In the Shifted Force sets, increasing damping results in progressively poorer correlation.  Overall, the undamped case is the best performing set, as the correlation and quality of fits are consistently superior regardless of the cutoff distance.  This result is beneficial in that the undamped case is less computationally prohibitive do to the lack of complimentary error function calculation when performing the electrostatic pair interaction.  The reaction field results illustrates some of that method's limitations, primarily that it was developed for use in homogenous systems; although it does provide results that are an improvement over those from an unmodified cutoff.
696 > In this figure, it is apparent that it is unreasonable to expect
697 > realistic results using an unmodified cutoff.  This is not all that
698 > surprising since this results in large energy fluctuations as atoms
699 > move in and out of the cutoff radius.  These fluctuations can be
700 > alleviated to some degree by using group based cutoffs with a
701 > switching function.\cite{Steinbach94} The Group Switch Cutoff row
702 > doesn't show a significant improvement in this plot because the salt
703 > and salt solution systems contain non-neutral groups, see the
704 > accompanying supporting information for a comparison where all groups
705 > are neutral.
706  
707 < \subsection{Force Magnitude Comparison}
707 > Correcting the resulting charged cutoff sphere is one of the purposes
708 > of the damped Coulomb summation proposed by Wolf \textit{et
709 > al.},\cite{Wolf99} and this correction indeed improves the results as
710 > seen in the Shifted-Potental rows.  While the undamped case of this
711 > method is a significant improvement over the pure cutoff, it still
712 > doesn't correlate that well with SPME.  Inclusion of potential damping
713 > improves the results, and using an $\alpha$ of 0.2 \AA $^{-1}$ shows
714 > an excellent correlation and quality of fit with the SPME results,
715 > particularly with a cutoff radius greater than 12 \AA .  Use of a
716 > larger damping parameter is more helpful for the shortest cutoff
717 > shown, but it has a detrimental effect on simulations with larger
718 > cutoffs.  In the {\sc sf} sets, increasing damping results in
719 > progressively poorer correlation.  Overall, the undamped case is the
720 > best performing set, as the correlation and quality of fits are
721 > consistently superior regardless of the cutoff distance.  This result
722 > is beneficial in that the undamped case is less computationally
723 > prohibitive do to the lack of complimentary error function calculation
724 > when performing the electrostatic pair interaction.  The reaction
725 > field results illustrates some of that method's limitations, primarily
726 > that it was developed for use in homogenous systems; although it does
727 > provide results that are an improvement over those from an unmodified
728 > cutoff.
729  
730 < While studying the energy differences provides insight into how comparable these methods are energetically, if we want to use these methods in Molecular Dynamics simulations, we also need to consider their effect on forces and torques.  Both the magnitude and the direction of the force and torque vectors of each of the bodies in the system can be compared to those observed while using SPME.  Analysis of the magnitude of these vectors can be performed in the manner described previously for comparing $\Delta E$ values, only instead of a single value between two system configurations, there is a value for each particle in each configuration.  For a system of 1000 water molecules and 40 ions, there are 1040 force vectors and 1000 torque vectors.  With 500 configurations, this results in excess of 500,000 data samples for each system type.  Figures \ref{fig:frcMag} and \ref{fig:trqMag} respectively show the force and torque vector magnitude results for the accumulated analysis over all the system types.
730 > \subsection{Magnitudes of the Force and Torque Vectors}
731  
732 + Evaluation of pairwise methods for use in Molecular Dynamics
733 + simulations requires consideration of effects on the forces and
734 + torques.  Investigation of the force and torque vector magnitudes
735 + provides a measure of the strength of these values relative to SPME.
736 + Figures \ref{fig:frcMag} and \ref{fig:trqMag} respectively show the
737 + force and torque vector magnitude regression results for the
738 + accumulated analysis over all the system types.
739 +
740   \begin{figure}
741   \centering
742 < \includegraphics[width=3.25in]{./frcMagplot.pdf}
743 < \caption{The results from the statistical analysis of the force vector magnitude results for all the system types at 9 \AA\ (${\bullet}$), 12 \AA\ ($\blacksquare$), and 15 \AA\ ($\blacktriangledown$) cutoff radii.  Results close to a value of 1 (dashed line) indicate force vector magnitude values from that particular method (listed on the left) are nearly indistinguishable from those obtained from SPME.}
742 > \includegraphics[width=5.5in]{./frcMagplot.pdf}
743 > \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).}
744   \label{fig:frcMag}
745   \end{figure}
746  
747 < The results in figure \ref{fig:frcMag} for the most part parallel those seen in the previous look at the $\Delta E$ results.  The unmodified cutoff results are poor, but using group based cutoffs and a switching function provides a improvement much more significant than what was seen with $\Delta E$.  Looking at the Shifted Potential sets, the slope and $R^2$ improve with the use of damping to an optimal result of 0.2 \AA $^{-1}$ for the 12 and 15 \AA\ cutoffs.  Further increases in damping, while beneficial for simulations with a cutoff radius of 9 \AA\ , is detrimental to simulations with larger cutoff radii.  The undamped Shifted Force method gives forces in line with those obtained using SPME, and use of a damping function results in minor improvement.  The reaction field results are surprisingly good, considering the poor quality of the fits for the $\Delta E$ results.  There is still a considerable degree of scatter in the data, but it correlates well in general.
747 > Figure \ref{fig:frcMag}, for the most part, parallels the results seen
748 > in the previous $\Delta E$ section.  The unmodified cutoff results are
749 > poor, but using group based cutoffs and a switching function provides
750 > a improvement much more significant than what was seen with $\Delta
751 > E$.  Looking at the {\sc sp} sets, the slope and $R^2$
752 > improve with the use of damping to an optimal result of 0.2 \AA
753 > $^{-1}$ for the 12 and 15 \AA\ cutoffs.  Further increases in damping,
754 > while beneficial for simulations with a cutoff radius of 9 \AA\ , is
755 > detrimental to simulations with larger cutoff radii.  The undamped
756 > {\sc sf} method gives forces in line with those obtained using
757 > SPME, and use of a damping function results in minor improvement.  The
758 > reaction field results are surprisingly good, considering the poor
759 > quality of the fits for the $\Delta E$ results.  There is still a
760 > considerable degree of scatter in the data, but it correlates well in
761 > general.  To be fair, we again note that the reaction field
762 > calculations do not encompass NaCl crystal and melt systems, so these
763 > results are partly biased towards conditions in which the method
764 > performs more favorably.
765  
156 \subsection{Torque Magnitude Comparison}
157
766   \begin{figure}
767   \centering
768 < \includegraphics[width=3.25in]{./trqMagplot.pdf}
769 < \caption{The results from the statistical analysis of the torque vector magnitude results for all the system types at 9 \AA\ (${\bullet}$), 12 \AA\ ($\blacksquare$), and 15 \AA\ ($\blacktriangledown$) cutoff radii.  Results close to a value of 1 (dashed line) indicate torque vector magnitude values from that particular method (listed on the left) are nearly indistinguishable from those obtained from SPME.  Torques are only accumulated on the rigid water molecules, so these results exclude NaCl the systems.}
768 > \includegraphics[width=5.5in]{./trqMagplot.pdf}
769 > \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).}
770   \label{fig:trqMag}
771   \end{figure}
772  
773 < The torque vector magnitude results in figure \ref{fig:trqMag} are similar to those seen for the forces, but more clearly show the improved behavior with increasing cutoff radius.  Moderate damping is beneficial to the Shifted Potential and unnecessary with the Shifted Force method, and they also show that over-damping adversely effects all cutoff radii rather than showing an improvement for systems with short cutoffs.  The reaction field method performs well when calculating the torques, better than the Shifted Force method over this limited data set.
774 <
775 < \subsection{Force and Torque Direction Comparison}
776 <
777 < Having force and torque vectors with magnitudes that are well correlated to SPME is good, but if they are not pointing in the proper direction the results will be incorrect.  These vector directions were investigated through measurement of the angle formed between them and those from SPME.  The dot product of these unit vectors provides a theta value that is accumulated in a distribution function, weighted by the area on the unit sphere.  Narrow distributions of theta values indicates similar to identical results between the tested method and SPME.  To measure the narrowness of the resulting distributions, non-linear Gaussian fits were performed.
778 <
779 < \begin{figure}
780 < \centering
781 < \includegraphics[width=3.25in]{./gaussFit.pdf}
782 < \caption{Example fitting of the angular distribution of the force vectors over all of the studied systems.  The solid and dotted lines show Gaussian and Voigt fits of the distribution data respectively.  Even though the Voigt profile make for a more accurate fit, the Gaussian was used due to more versatile statistical results.}
783 < \label{fig:gaussian}
784 < \end{figure}
773 > To evaluate the torque vector magnitudes, the data set from which
774 > values are drawn is limited to rigid molecules in the systems
775 > (i.e. water molecules).  In spite of this smaller sampling pool, the
776 > torque vector magnitude results in figure \ref{fig:trqMag} are still
777 > similar to those seen for the forces; however, they more clearly show
778 > the improved behavior that comes with increasing the cutoff radius.
779 > Moderate damping is beneficial to the {\sc sp} and helpful
780 > yet possibly unnecessary with the {\sc sf} method, and they also
781 > show that over-damping adversely effects all cutoff radii rather than
782 > showing an improvement for systems with short cutoffs.  The reaction
783 > field method performs well when calculating the torques, better than
784 > the Shifted Force method over this limited data set.
785  
786 < Figure \ref{fig:gaussian} shows an example distribution and the non-linear fit applied.  The solid line is a Gaussian profile, while the dotted line is a Voigt profile, a convolution of a Gaussian and a Lorentzian profile.  Since this distribution is a measure of angular error between two different electrostatic summation methods, there is particular reason for it to adhere to a particular shape.  Because of this and the Gaussian profile's more statistically meaningful properties, Gaussian fitting was used to compare all the methods considered in this study.  The results (Fig. \ref{fig:frcTrqAng}) are compared through the variance ($\sigma^2$) of these non-linear fits.  
786 > \subsection{Directionality of the Force and Torque Vectors}
787  
788 + Having force and torque vectors with magnitudes that are well
789 + correlated to SPME is good, but if they are not pointing in the proper
790 + direction the results will be incorrect.  These vector directions were
791 + investigated through measurement of the angle formed between them and
792 + those from SPME.  The results (Fig. \ref{fig:frcTrqAng}) are compared
793 + through the variance ($\sigma^2$) of the Gaussian fits of the angle
794 + error distributions of the combined set over all system types.
795 +
796   \begin{figure}
797   \centering
798 < \includegraphics[width=3.25in]{./frcTrqAngplot.pdf}
799 < \caption{The results from the statistical analysis of the force and torque vector angular distributions for all the system types at 9 \AA\ (${\bullet}$), 12 \AA\ ($\blacksquare$), and 15 \AA\ ($\blacktriangledown$) cutoff radii.  Plotted values are the variance ($\sigma^2$) of the Gaussian non-linear fits.  Results close to a value of 0 (dashed line) indicate force or torque vector directions from that particular method (listed on the left) are nearly indistinguishable from those obtained from SPME.  Torques are only accumulated on the rigid water molecules, so the torque vector angle results exclude NaCl the systems.}
798 > \includegraphics[width=5.5in]{./frcTrqAngplot.pdf}
799 > \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).}
800   \label{fig:frcTrqAng}
801   \end{figure}
802  
803 < Both the force and torque $\sigma^2$ results from the analysis of the total accumulated system data are tabulated in figure \ref{fig:frcTrqAng}.  All of the sets, aside from the over-damped case show the improvement afforded by choosing a longer simulation cutoff.  Increasing the cutoff from 9 to 12 \AA\ typically results in a halving of $\sigma^2$, with a similar improvement going from 12 to 15 \AA .  The undamped Shifted Force, Group Based Cutoff, and Reaction Field methods all do equivalently well at capturing the direction of both the force and torque vectors.  Using damping improves the angular behavior significantly for the Shifted Potential and moderately for the Shifted Force methods.  Increasing the damping too far is destructive for both methods, particularly to the torque vectors.  Again it is important to recognize that the force vectors cover all particles in the systems, while torque vectors are only available for neutral molecular groups.  Damping appears to have a more beneficial effect on non-neutral bodies, and this observation is investigated further in the accompanying supporting information.  
803 > Both the force and torque $\sigma^2$ results from the analysis of the
804 > total accumulated system data are tabulated in figure
805 > \ref{fig:frcTrqAng}.  All of the sets, aside from the over-damped case
806 > show the improvement afforded by choosing a longer simulation cutoff.
807 > Increasing the cutoff from 9 to 12 \AA\ typically results in a halving
808 > of the distribution widths, with a similar improvement going from 12
809 > to 15 \AA .  The undamped {\sc sf}, Group Based Cutoff, and
810 > Reaction Field methods all do equivalently well at capturing the
811 > direction of both the force and torque vectors.  Using damping
812 > improves the angular behavior significantly for the {\sc sp}
813 > and moderately for the {\sc sf} methods.  Increasing the damping
814 > too far is destructive for both methods, particularly to the torque
815 > vectors.  Again it is important to recognize that the force vectors
816 > cover all particles in the systems, while torque vectors are only
817 > available for neutral molecular groups.  Damping appears to have a
818 > more beneficial effect on non-neutral bodies, and this observation is
819 > investigated further in the accompanying supporting information.
820  
821   \begin{table}[htbp]
822     \centering
# Line 219 | Line 851 | Both the force and torque $\sigma^2$ results from the
851     \label{tab:groupAngle}
852   \end{table}
853  
854 < Although not discussed previously, group based cutoffs can be applied to both the Shifted Potential and Force methods.  Use off a switching function corrects for the discontinuities that arise when atoms of a group exit the cutoff before the group's center of mass.  Though there are no significant benefit or drawbacks observed in $\Delta E$ and vector magnitude results when doing this, there is a measurable improvement in the vector angle results.  Table \ref{tab:groupAngle} shows the angular variance values obtained using group based cutoffs and a switching function alongside the standard results seen in figure \ref{fig:frcTrqAng} for comparison purposes.  The Shifted Potential shows much narrower angular distributions for both the force and torque vectors when using an $\alpha$ of 0.2 \AA$^{-1}$ or less, while Shifted Force shows improvements in the undamped and lightly damped cases.  Thus, by calculating the electrostatic interactions in terms of molecular pairs rather than atomic pairs, the direction of the force and torque vectors are determined more accurately.  
854 > Although not discussed previously, group based cutoffs can be applied
855 > to both the {\sc sp} and {\sc sf} methods.  Use off a
856 > switching function corrects for the discontinuities that arise when
857 > atoms of a group exit the cutoff before the group's center of mass.
858 > Though there are no significant benefit or drawbacks observed in
859 > $\Delta E$ and vector magnitude results when doing this, there is a
860 > measurable improvement in the vector angle results.  Table
861 > \ref{tab:groupAngle} shows the angular variance values obtained using
862 > group based cutoffs and a switching function alongside the standard
863 > results seen in figure \ref{fig:frcTrqAng} for comparison purposes.
864 > The {\sc sp} shows much narrower angular distributions for
865 > both the force and torque vectors when using an $\alpha$ of 0.2
866 > \AA$^{-1}$ or less, while {\sc sf} shows improvements in the
867 > undamped and lightly damped cases.  Thus, by calculating the
868 > electrostatic interactions in terms of molecular pairs rather than
869 > atomic pairs, the direction of the force and torque vectors are
870 > determined more accurately.
871  
872 < One additional trend to recognize in table \ref{tab:groupAngle} is that the $\sigma^2$ values for both Shifted Potential and Shifted Force converge as $\alpha$ increases, something that is easier to see when using group based cutoffs.  Looking back on figures \ref{fig:delE}, \ref{fig:frcMag}, and \ref{fig:trqMag}, show this behavior clearly at large $\alpha$ and cutoff values.  The reason for this is that the complimentary error function inserted into the potential weakens the electrostatic interaction as $\alpha$ increases.  Thus, at larger values of $\alpha$, both the summation method types progress toward non-interacting functions, so care is required in choosing large damping functions lest one generate an undesirable loss in the pair interaction.  Kast \textit{et al.}  developed a method for choosing appropriate $\alpha$ values for these types of electrostatic summation methods by fitting to $g(r)$ data, and their methods indicate optimal values of 0.34, 0.25, and 0.16 \AA$^{-1}$ for cutoff values of 9, 12, and 15 \AA\ respectively.\cite{Kast03}  These appear to be reasonable choices to obtain proper MC behavior (Fig. \ref{fig:delE}); however, based on these findings, choices this high would introduce error in the molecular torques, particularly for the shorter cutoffs.  Based on the above findings, empirical damping up to 0.2 \AA$^{-1}$ proves to be beneficial, but is  arguably unnecessary when using the Shifted-Force method.
872 > One additional trend to recognize in table \ref{tab:groupAngle} is
873 > that the $\sigma^2$ values for both {\sc sp} and
874 > {\sc sf} converge as $\alpha$ increases, something that is easier
875 > to see when using group based cutoffs.  Looking back on figures
876 > \ref{fig:delE}, \ref{fig:frcMag}, and \ref{fig:trqMag}, show this
877 > behavior clearly at large $\alpha$ and cutoff values.  The reason for
878 > this is that the complimentary error function inserted into the
879 > potential weakens the electrostatic interaction as $\alpha$ increases.
880 > Thus, at larger values of $\alpha$, both the summation method types
881 > progress toward non-interacting functions, so care is required in
882 > choosing large damping functions lest one generate an undesirable loss
883 > in the pair interaction.  Kast \textit{et al.}  developed a method for
884 > choosing appropriate $\alpha$ values for these types of electrostatic
885 > summation methods by fitting to $g(r)$ data, and their methods
886 > indicate optimal values of 0.34, 0.25, and 0.16 \AA$^{-1}$ for cutoff
887 > values of 9, 12, and 15 \AA\ respectively.\cite{Kast03} These appear
888 > to be reasonable choices to obtain proper MC behavior
889 > (Fig. \ref{fig:delE}); however, based on these findings, choices this
890 > high would introduce error in the molecular torques, particularly for
891 > the shorter cutoffs.  Based on the above findings, empirical damping
892 > up to 0.2 \AA$^{-1}$ proves to be beneficial, but damping is arguably
893 > unnecessary when using the {\sc sf} method.
894  
895 < \subsection{Crystal Power Spectrum}
895 > \subsection{Short-Time Dynamics: Velocity Autocorrelation Functions of NaCl Crystals}
896  
897 < In the previous studies using a Shifted-Force variant of the damped Wolf coulomb potential, the structure and dynamics of water were investigated rather extensively.\cite{Zahn02,Kast03}  Their results indicated that the damped Shifted-Force method results in properties very similar to those obtained when using the Ewald summation.  Considering the statistical results shown above, the good performance of this method is not that surprising.  Rather than consider the same systems and simply recapitulate their results, we decided to look at the solid state dynamical behavior obtained using the best performing summation methods from the above results.
897 > In the previous studies using a {\sc sf} variant of the damped
898 > Wolf coulomb potential, the structure and dynamics of water were
899 > investigated rather extensively.\cite{Zahn02,Kast03} Their results
900 > indicated that the damped {\sc sf} method results in properties
901 > very similar to those obtained when using the Ewald summation.
902 > Considering the statistical results shown above, the good performance
903 > of this method is not that surprising.  Rather than consider the same
904 > systems and simply recapitulate their results, we decided to look at
905 > the solid state dynamical behavior obtained using the best performing
906 > summation methods from the above results.
907  
908 < Using the NaCl crystal as the model system, trajectories were obtained using SPME; Shifted-Force with $\alpha$ values of 0, 0.1 and 0.2 \AA$^{-1}$; and Shifted-Potential with an $\alpha$ value of 0.2 \AA$^{-1}$.  To enhance the atomic motion, these simulations were run at 1000 K, near the experimental $T_m$ for NaCl.  The velocity autocorrelation function (Eq. \ref{eq:vCorr})was computed on each of the trajectories.
909 < \begin{equation}
910 < C_v(t) = \langle v_i(0)\cdot v_i(t)\rangle.
911 < \label{eq:vCorr}
912 < \end{equation}
913 < Velocity autocorrelation functions require detailed short time data and long trajectories for good statistics, thus velocity information was saved every 5 fs over 100 ps trajectories.  The power spectrum ($I(\omega)$) is obtained via discrete Fourier transform of the autocorrelation function
236 < \begin{equation}
237 < I(\omega) = \sum^{N-1}_{\omega=0}C_v(t)e^{-i\omega t/N},
238 < \label{eq:powerSpec}
239 < \end{equation}
240 < where $N$ is the number of time samples in $C_v(t)$ and the frequency, $\omega=0,\ 1,\ ...,\ N-1$.  The resulting spectra (Fig. \ref{fig:normalModes}) show the normal mode frequencies for the crystal under the simulated conditions.
908 > \begin{figure}
909 > \centering
910 > \includegraphics[width = \linewidth]{./vCorrPlot.pdf}
911 > \caption{Velocity auto-correlation functions of NaCl crystals at 1000 K while using SPME, {\sc sf} ($\alpha$ = 0.0, 0.1, \& 0.2), and {\sc sp} ($\alpha$ = 0.2). The inset is a magnification of the first trough. The times to first collision are nearly identical, but the differences can be seen in the peaks and troughs, where the undamped to weakly damped methods are stiffer than the moderately damped and SPME methods.}
912 > \label{fig:vCorrPlot}
913 > \end{figure}
914  
915 + The short-time decays through the first collision are nearly identical
916 + in figure \ref{fig:vCorrPlot}, but the peaks and troughs of the
917 + functions show how the methods differ.  The undamped {\sc sf} method
918 + has deeper troughs (see inset in Fig. \ref{fig:vCorrPlot}) and higher
919 + peaks than any of the other methods.  As the damping function is
920 + increased, these peaks are smoothed out, and approach the SPME
921 + curve. The damping acts as a distance dependent Gaussian screening of
922 + the point charges for the pairwise summation methods; thus, the
923 + collisions are more elastic in the undamped {\sc sf} potental, and the
924 + stiffness of the potential is diminished as the electrostatic
925 + interactions are softened by the damping function.  With $\alpha$
926 + values of 0.2 \AA$^{-1}$, the {\sc sf} and {\sc sp} functions are
927 + nearly identical and track the SPME features quite well.  This is not
928 + too surprising in that the differences between the {\sc sf} and {\sc
929 + sp} potentials are mitigated with increased damping.  However, this
930 + appears to indicate that once damping is utilized, the form of the
931 + potential seems to play a lesser role in the crystal dynamics.
932 +
933 + \subsection{Collective Motion: Power Spectra of NaCl Crystals}
934 +
935 + The short time dynamics were extended to evaluate how the differences
936 + between the methods affect the collective long-time motion.  The same
937 + electrostatic summation methods were used as in the short time
938 + velocity autocorrelation function evaluation, but the trajectories
939 + were sampled over a much longer time. The power spectra of the
940 + resulting velocity autocorrelation functions were calculated and are
941 + displayed in figure \ref{fig:methodPS}.
942 +
943   \begin{figure}
944   \centering
945 < \includegraphics[width = 3.25in]{./nModeFTPlotDot.pdf}
946 < \caption{Power spectra obtained from the velocity auto-correlation functions of NaCl crystals at 1000 K while using SPME, Shifted-Force ($\alpha$ = 0, 0.1, \& 0.2), and Shifted-Potential ($\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.  The inset shows the frequency region below 100 cm$^{-1}$ to highlight where the spectra begin to differentiate.}
947 < \label{fig:normalModes}
945 > \includegraphics[width = \linewidth]{./spectraSquare.pdf}
946 > \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.}
947 > \label{fig:methodPS}
948   \end{figure}
949  
950 < Figure \ref{fig:normalModes} shows the power spectra for the NaCl crystals (from averaged Na and Cl ion velocity autocorrelation functions) using the stated electrostatic summation methods.  While high frequency peaks of all the spectra overlap, showing the same general features, the low frequency region shows how the summation methods differ.  The normal modes at frequencies below 100 cm$^{-1}$ are shifted up when using undamped or weakly damped Shifted-Force.  When using moderate damping ($\alpha = 0.2$ \AA$^{-1}$) both the Shifted-Force and Shifted-Potential methods give near identical normal mode behavior as the Ewald method (which has a damping value of 0.3119).  The damping acts as a distance dependent Gaussian screening of the point charges in the system.  This weakening of the electrostatic interaction with distance explains why the low level normal modes are at lower frequencies for the moderately damped methods than for undamped or weakly damped methods.  Consider damping on a simple real-space electrostatic potential in the form
950 > While high frequency peaks of the spectra in this figure overlap,
951 > showing the same general features, the low frequency region shows how
952 > the summation methods differ.  Considering the low-frequency inset
953 > (expanded in the upper frame of figure \ref{fig:dampInc}), at
954 > frequencies below 100 cm$^{-1}$, the correlated motions are
955 > blue-shifted when using undamped or weakly damped {\sc sf}.  When
956 > using moderate damping ($\alpha = 0.2$ \AA$^{-1}$) both the {\sc sf}
957 > and {\sc sp} methods give near identical correlated motion behavior as
958 > the Ewald method (which has a damping value of 0.3119).  This
959 > weakening of the electrostatic interaction with increased damping
960 > explains why the long-ranged correlated motions are at lower
961 > frequencies for the moderately damped methods than for undamped or
962 > weakly damped methods.  To see this effect more clearly, we show how
963 > damping strength alone affects a simple real-space electrostatic
964 > potential,
965   \begin{equation}
966 < V_\textrm{damped}=\sum^N_i\sum^N_{j\ne i}q_iq_j\left[\frac{\textrm{erfc}({\alpha r_{ij}})}{r_{ij}}\right]S(r),
966 > V_\textrm{damped}=\sum^N_i\sum^N_{j\ne i}q_iq_j\left[\frac{\textrm{erfc}({\alpha r})}{r}\right]S(r),
967   \end{equation}
968 < where $S(r)$ is a switching function that smoothly zeroes the potential at the cutoff radius.  Figure \ref{fig:dampInc} shows how the low frequency normal modes are dependent on the damping used in the direct electrostatic sum.  As the damping increases, the normal modes drop to lower frequencies.  Incidentally, use of an $\alpha$ of 0.25 \AA$^{-1}$ on a simple electrostatic summation results in low frequency normal mode dynamics equivalent to a simulation using SPME.  When the coefficient lowers to 0.15 \AA$^{-1}$ and below, the normal modes shift to higher frequency in exponential fashion.  Though not shown, the spectrum for the simple undamped electrostatic potential is blue-shifted such that the lowest normal mode resides near 325 cm$^{-1}$.  In light of these results, the undamped Shifted-Force method producing low-lying normal modes within 10 cm$^{-1}$ of SPME is quite respectable; however, it appears as though moderate damping is required for accurate reproduction of crystal dynamics.
968 > where $S(r)$ is a switching function that smoothly zeroes the
969 > potential at the cutoff radius.  Figure \ref{fig:dampInc} shows how
970 > the low frequency motions are dependent on the damping used in the
971 > direct electrostatic sum.  As the damping increases, the peaks drop to
972 > lower frequencies.  Incidentally, use of an $\alpha$ of 0.25
973 > \AA$^{-1}$ on a simple electrostatic summation results in low
974 > frequency correlated dynamics equivalent to a simulation using SPME.
975 > When the coefficient lowers to 0.15 \AA$^{-1}$ and below, these peaks
976 > shift to higher frequency in exponential fashion.  Though not shown,
977 > the spectrum for the simple undamped electrostatic potential is
978 > blue-shifted such that the lowest frequency peak resides near 325
979 > cm$^{-1}$.  In light of these results, the undamped {\sc sf} method
980 > producing low-lying motion peaks within 10 cm$^{-1}$ of SPME is quite
981 > respectable and shows that the shifted force procedure accounts for
982 > most of the effect afforded through use of the Ewald summation.
983 > However, it appears as though moderate damping is required for
984 > accurate reproduction of crystal dynamics.
985   \begin{figure}
986   \centering
987 < \includegraphics[width = 3.25in]{./alphaCompare.pdf}
988 < \caption{Normal modes for an NaCl crystal 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 normal modes are red-shifted towards 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.}
987 > \includegraphics[width = \linewidth]{./comboSquare.pdf}
988 > \caption{Regions of spectra showing the low-frequency correlated motions for NaCl crystals at 1000 K using various electrostatic summation methods.  The upper plot is a zoomed inset from figure \ref{fig:methodPS}.  As the damping value for the {\sc sf} potential increases, the low-frequency peaks red-shift.  The lower plot is of spectra 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.}
989   \label{fig:dampInc}
990   \end{figure}
991  
992   \section{Conclusions}
993  
994 < This investigation of pairwise electrostatic summation techniques shows that there are viable and more computationally efficient electrostatic summation techniques than the Ewald summation, chiefly methods derived from the damped Coulombic sum originally proposed by Wolf \textit{et al.}\cite{Wolf99,Zahn02}  In particular, the Shifted-Force method, reformulated above, shows a remarkable ability to reproduce the energetic and dynamic characteristics exhibited by simulations employing lattice summation techniques.  The cumulative energy difference results showed the undamped Shifted-Force and moderately damped Shifted-Potential methods produced results nearly identical to SPME.  Similarly for the dynamic features, the un- to moderately damped Shifted-Force and moderately damped Shifted-Potential methods produce force and torque vector magnitude and directions very similar to the expected values.  These results translate into long-time dynamic behavior equivalent to that produced in simulations using SPME.
994 > This investigation of pairwise electrostatic summation techniques
995 > shows that there are viable and more computationally efficient
996 > electrostatic summation techniques than the Ewald summation, chiefly
997 > methods derived from the damped Coulombic sum originally proposed by
998 > Wolf \textit{et al.}\cite{Wolf99,Zahn02} In particular, the
999 > {\sc sf} method, reformulated above as eq. (\ref{eq:DSFPot}),
1000 > shows a remarkable ability to reproduce the energetic and dynamic
1001 > characteristics exhibited by simulations employing lattice summation
1002 > techniques.  The cumulative energy difference results showed the
1003 > undamped {\sc sf} and moderately damped {\sc sp} methods
1004 > produced results nearly identical to SPME.  Similarly for the dynamic
1005 > features, the undamped or moderately damped {\sc sf} and
1006 > moderately damped {\sc sp} methods produce force and torque
1007 > vector magnitude and directions very similar to the expected values.
1008 > These results translate into long-time dynamic behavior equivalent to
1009 > that produced in simulations using SPME.
1010  
1011 < Aside from the computational cost benefit, these techniques have applicability in situations where the use of the Ewald sum can prove problematic.  Primary among them is their use in interfacial systems, where the unmodified lattice sum techniques artificially accentuate the periodicity of the system in an undesirable manner.  There have been alterations to the standard Ewald techniques, via corrections and reformulations, to compensate for these systems; but these pairwise techniques require no modifications, making them natural tools to tackle these problems.  Additionally, this transferability gives it benefits over other pairwise methods, like reaction field, because estimations of physical properties, like the dielectric constant, are unnecessary.
1011 > Aside from the computational cost benefit, these techniques have
1012 > applicability in situations where the use of the Ewald sum can prove
1013 > problematic.  Primary among them is their use in interfacial systems,
1014 > where the unmodified lattice sum techniques artificially accentuate
1015 > the periodicity of the system in an undesirable manner.  There have
1016 > been alterations to the standard Ewald techniques, via corrections and
1017 > reformulations, to compensate for these systems; but the pairwise
1018 > techniques discussed here require no modifications, making them
1019 > natural tools to tackle these problems.  Additionally, this
1020 > transferability gives them benefits over other pairwise methods, like
1021 > reaction field, because estimations of physical properties (e.g. the
1022 > dielectric constant) are unnecessary.
1023  
1024 < These results don't deprecate the use of the Ewald summation; in fact, it is the standard to which these simple pairwise sums are judged.  However, these results do speak to the necessity of the Ewald summation in all molecular simulations.  That a simple pairwise technique can be substituted to gain nearly all the physical effects provided by the full lattice sum makes us question whether the minimal perturbations bestowed through added complexity and increased cost are worth it.
1024 > We are not suggesting any flaw with the Ewald sum; in fact, it is the
1025 > standard by which these simple pairwise sums are judged.  However,
1026 > these results do suggest that in the typical simulations performed
1027 > today, the Ewald summation may no longer be required to obtain the
1028 > level of accuracy most researchers have come to expect
1029  
1030   \section{Acknowledgments}
270
1031   \newpage
1032  
1033 < \bibliographystyle{achemso}
1033 > \bibliographystyle{jcp2}
1034   \bibliography{electrostaticMethods}
1035  
1036  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines