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 2620 by chrisfen, Wed Mar 15 04:34:51 2006 UTC vs.
Revision 2629 by chrisfen, Thu Mar 16 03:48:32 2006 UTC

# Line 98 | Line 98 | In a recent paper by Wolf \textit{et al.}, a procedure
98  
99   \subsection{The Wolf and Zahn Methods}
100   In a recent paper by Wolf \textit{et al.}, a procedure was outlined
101 < for an accurate accumulation of electrostatic interactions in an
101 > for the accurate accumulation of electrostatic interactions in an
102   efficient pairwise fashion.\cite{Wolf99} Wolf \textit{et al.} observed
103   that the electrostatic interaction is effectively short-ranged in
104   condensed phase systems and that neutralization of the charge
# Line 111 | Line 111 | Ewald sum) to aid convergence
111   function (identical to that seen in the real-space portion of the
112   Ewald sum) to aid convergence
113   \begin{equation}
114 < 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\}.
114 > 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\}.
115   \label{eq:WolfPot}
116   \end{equation}
117   Eq. (\ref{eq:WolfPot}) is essentially the common form of a shifted
118   potential.  However, neutralizing the charge contained within each
119   cutoff sphere requires the placement of a self-image charge on the
120   surface of the cutoff sphere.  This additional self-term in the total
121 < potential enables Wolf {\it et al.}  to obtain excellent estimates of
121 > potential enabled Wolf {\it et al.}  to obtain excellent estimates of
122   Madelung energies for many crystals.
123  
124   In order to use their charge-neutralized potential in molecular
# Line 126 | Line 126 | procedure gives an expression for the forces,
126   derivative of this potential prior to evaluation of the limit.  This
127   procedure gives an expression for the forces,
128   \begin{equation}
129 < F^{\textrm{Wolf}}(r_{ij}) = q_i q_j\left\{-\left[\frac{\textrm{erfc}(\alpha r_{ij})}{r^2_{ij}}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{(-\alpha^2r_{ij}^2)}}{r_{ij}}\right]+\left[\frac{\textrm{erfc}\left(\alpha R_{\textrm{c}}\right)}{R_{\textrm{c}}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2R_{\textrm{c}}^2\right)}}{R_{\textrm{c}}}\right]\right\},
129 > F_{\textrm{Wolf}}(r_{ij}) = q_i q_j\left\{-\left[\frac{\textrm{erfc}(\alpha r_{ij})}{r^2_{ij}}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{(-\alpha^2r_{ij}^2)}}{r_{ij}}\right]+\left[\frac{\textrm{erfc}\left(\alpha R_{\textrm{c}}\right)}{R_{\textrm{c}}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2R_{\textrm{c}}^2\right)}}{R_{\textrm{c}}}\right]\right\},
130   \label{eq:WolfForces}
131   \end{equation}
132   that incorporates both image charges and damping of the electrostatic
# Line 134 | Line 134 | force expressions for use in simulations involving wat
134  
135   More recently, Zahn \textit{et al.} investigated these potential and
136   force expressions for use in simulations involving water.\cite{Zahn02}
137 < In their work, they pointed out that the method that the forces and
138 < derivative of the potential are not commensurate.  Attempts to use
139 < both Eqs. (\ref{eq:WolfPot}) and (\ref{eq:WolfForces}) together will
140 < lead to poor energy conservation.  They correctly observed that taking
141 < the limit shown in equation (\ref{eq:WolfPot}) {\it after} calculating
142 < the derivatives is mathematically invalid.
137 > In their work, they pointed out that the forces and derivative of
138 > the potential are not commensurate.  Attempts to use both
139 > Eqs. (\ref{eq:WolfPot}) and (\ref{eq:WolfForces}) together will lead
140 > to poor energy conservation.  They correctly observed that taking the
141 > limit shown in equation (\ref{eq:WolfPot}) {\it after} calculating the
142 > derivatives gives forces for a different potential energy function
143 > than the one shown in Eq. (\ref{eq:WolfPot}).
144  
145   Zahn \textit{et al.} proposed a modified form of this ``Wolf summation
146   method'' as a way to use this technique in Molecular Dynamics
# Line 147 | Line 148 | potential,
148   \ref{eq:WolfForces}, they proposed a new damped Coulomb
149   potential,
150   \begin{equation}
151 < 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\}.
151 > 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\}.
152   \label{eq:ZahnPot}
153   \end{equation}
154   They showed that this potential does fairly well at capturing the
# Line 158 | Line 159 | al.} are constructed using two different (and separabl
159  
160   The potentials proposed by Wolf \textit{et al.} and Zahn \textit{et
161   al.} are constructed using two different (and separable) computational
162 < tricks: \begin{itemize}
162 > tricks: \begin{enumerate}
163   \item shifting through the use of image charges, and
164   \item damping the electrostatic interaction.
165 < \end{itemize}  Wolf \textit{et al.} treated the
165 > \end{enumerate}  Wolf \textit{et al.} treated the
166   development of their summation method as a progressive application of
167   these techniques,\cite{Wolf99} while Zahn \textit{et al.} founded
168   their damped Coulomb modification (Eq. (\ref{eq:ZahnPot})) on the
# Line 181 | Line 182 | shifted potential,
182   \textit{et al.}  and Zahn \textit{et al.} by considering the standard
183   shifted potential,
184   \begin{equation}
185 < v^\textrm{SP}(r) =      \begin{cases}
185 > v_\textrm{SP}(r) =      \begin{cases}
186   v(r)-v_\textrm{c} &\quad r\leqslant R_\textrm{c} \\ 0 &\quad r >
187   R_\textrm{c}  
188   \end{cases},
# Line 189 | Line 190 | and shifted force,
190   \end{equation}
191   and shifted force,
192   \begin{equation}
193 < v^\textrm{SF}(r) =      \begin{cases}
194 < v(r)-v_\textrm{c}-\left(\frac{\textrm{d}v(r)}{\textrm{d}r}\right)_{r=R_\textrm{c}}(r-R_\textrm{c})
193 > v_\textrm{SF}(r) =      \begin{cases}
194 > v(r)-v_\textrm{c}-\left(\frac{d v(r)}{d r}\right)_{r=R_\textrm{c}}(r-R_\textrm{c})
195   &\quad r\leqslant R_\textrm{c} \\ 0 &\quad r > R_\textrm{c}
196                                                  \end{cases},
197   \label{eq:shiftingForm}
# Line 202 | Line 203 | potential is smooth at the cutoff radius
203   potential is smooth at the cutoff radius
204   ($R_\textrm{c}$).\cite{Allen87}
205  
206 <
207 <
207 <
208 < If the derivative term is taken to be zero, we are left with the shifted Coulomb potential devised by Wolf \textit{et al.},\cite{Wolf99}
206 > The forces associated with the shifted potential are simply the forces
207 > of the unshifted potential itself (when inside the cutoff sphere),
208   \begin{equation}
209 < V^\textrm{SP}(r_{ij}) = q_iq_j\left(\frac{1}{r_{ij}}-\frac{1}{R_\textrm{c}}\right) \quad r_{ij}\leqslant R_\textrm{c}.                          \label{eq:WolfSP}
209 > F_{\textrm{SP}} = \left( \frac{d v(r)}{dr} \right),
210   \end{equation}
211 < The forces associated with this potential are obtained by taking the derivative, resulting in the following,
211 > and are zero outside.  Inside the cutoff sphere, the forces associated
212 > with the shifted force form can be written,
213   \begin{equation}
214 < F^\textrm{SP}(r_{ij}) = q_iq_j\left(-\frac{1}{r_{ij}^2}\right) \quad r_{ij}\leqslant R_\textrm{c}.
215 < \label{eq:FWolfSP}
214 > F_{\textrm{SF}} = \left( \frac{d v(r)}{dr} \right) - \left(\frac{d
215 > v(r)}{dr} \right)_{r=R_\textrm{c}}.
216   \end{equation}
217 < These forces are identical to the forces of the standard electrostatic interaction, and this was addressed by Wolf \textit{et al.} as undesirable.  They pointed out that 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.  Additionally, there is a discontinuity in the forces.  This can be remedied with the use of a switching function to zero the potential and forces smoothly as particles near $R_\textrm{c}$.  
218 <
219 < If the derivative term in equation \ref{eq:shiftingForm} is evaluated, we obtain an hitherto undiscussed shifted force Coulomb potential,
217 >
218 > If the potential ($v(r)$) is taken to be the normal Coulomb potential,
219   \begin{equation}
220 < V^\textrm{SF}(r_{ij}) = q_iq_j\left[\frac{1}{r_{ij}}-\frac{1}{R_\textrm{c}}+\left(\frac{1}{R_\textrm{c}^2}\right)(r_{ij}-R_\textrm{c})\right] \quad r_{ij}\leqslant R_\textrm{c}.
221 < \label{eq:SFPot}
220 > v(r) = \frac{q_i q_j}{r},
221 > \label{eq:Coulomb}
222   \end{equation}
223 < Taking the derivative of this shifted force potential gives the
224 < following forces,
223 > then the Shifted Potential ({\sc sp}) forms will give Wolf {\it et
224 > al.}'s undamped prescription:
225   \begin{equation}
226 < F^\textrm{SF}(r_{ij} =  q_iq_j\left(-\frac{1}{r_{ij}^2}+\frac{1}{R_\textrm{c}^2}\right) \quad r_{ij}\leqslant R_\textrm{c}.
226 > V_\textrm{SP}(r) =
227 > q_iq_j\left(\frac{1}{r}-\frac{1}{R_\textrm{c}}\right) \quad
228 > r\leqslant R_\textrm{c},
229 > \label{eq:WolfSP}
230 > \end{equation}
231 > with associated forces,
232 > \begin{equation}
233 > F_\textrm{SP}(r) = q_iq_j\left(-\frac{1}{r^2}\right) \quad r\leqslant R_\textrm{c}.
234 > \label{eq:FWolfSP}
235 > \end{equation}
236 > These forces are identical to the forces of the standard Coulomb
237 > interaction, and cutting these off at $R_c$ was addressed by Wolf
238 > \textit{et al.} as undesirable.  They pointed out that the effect of
239 > the image charges is neglected in the forces when this form is
240 > used,\cite{Wolf99} thereby eliminating any benefit from the method in
241 > molecular dynamics.  Additionally, there is a discontinuity in the
242 > forces at the cutoff radius which results in energy drift during MD
243 > simulations.
244 >
245 > The shifted force ({\sc sf}) form using the normal Coulomb potential
246 > will give,
247 > \begin{equation}
248 > 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}.
249 > \label{eq:SFPot}
250 > \end{equation}
251 > with associated forces,
252 > \begin{equation}
253 > 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}.
254   \label{eq:SFForces}
255   \end{equation}
256 < Using this formulation rather than the simple shifted potential
257 < (Eq. \ref{eq:WolfSP}) means that there are no discontinuities in the
258 < forces in addition to the potential.  This form also has the benefit
259 < that the image charges have a force presence, addressing the concerns
260 < about a missing physical component.  One side effect of this treatment
261 < is a slight alteration in the shape of the potential that comes about
262 < from the derivative term.  Thus, a degree of clarity about the
263 < original formulation of the potential is lost in order to gain
264 < functionality in dynamics simulations.
256 > This formulation has the benefits that there are no discontinuities at
257 > the cutoff distance, while the neutralizing image charges are present
258 > in both the energy and force expressions.  It would be simple to add
259 > the self-neutralizing term back when computing the total energy of the
260 > system, thereby maintaining the agreement with the Madelung energies.
261 > A side effect of this treatment is the alteration in the shape of the
262 > potential that comes from the derivative term.  Thus, a degree of
263 > clarity about agreement with the empirical potential is lost in order
264 > to gain functionality in dynamics simulations.
265  
266   Wolf \textit{et al.} originally discussed the energetics of the
267   shifted Coulomb potential (Eq. \ref{eq:WolfSP}), and they found that
268 < it was still insufficient for accurate determination of the energy.
269 < The energy would fluctuate around the expected value with increasing
270 < cutoff radius, but the oscillations appeared to be converging toward
271 < the correct value.\cite{Wolf99} A damping function was incorporated to
272 < accelerate convergence; and though alternative functional forms could
273 < be used,\cite{Jones56,Heyes81} the complimentary error function was
274 < chosen to draw parallels to the Ewald summation.  Incorporating
275 < damping into the simple Coulomb potential,
268 > it was still insufficient for accurate determination of the energy
269 > with reasonable cutoff distances.  The calculated Madelung energies
270 > fluctuate around the expected value with increasing cutoff radius, but
271 > the oscillations converge toward the correct value.\cite{Wolf99} A
272 > damping function was incorporated to accelerate the convergence; and
273 > though alternative functional forms could be
274 > used,\cite{Jones56,Heyes81} the complimentary error function was
275 > chosen to mirror the effective screening used in the Ewald summation.
276 > Incorporating this error function damping into the simple Coulomb
277 > potential,
278   \begin{equation}
279 < v(r_{ij}) = \frac{\mathrm{erfc}\left(\alpha r_{ij}\right)}{r_{ij}},
279 > v(r) = \frac{\mathrm{erfc}\left(\alpha r\right)}{r},
280   \label{eq:dampCoulomb}
281   \end{equation}
282 < the shifted potential (Eq. \ref{eq:WolfSP}) can be rederived
283 < \textit{via} equation \ref{eq:shiftingForm},
282 > the shifted potential (Eq. (\ref{eq:WolfSP})) can be recovered
283 > using eq. (\ref{eq:shiftingForm}),
284   \begin{equation}
285 < V^{\textrm{DSP}}(r_{ij}) = q_iq_j\left(\frac{\textrm{erfc}(\alpha r_{ij})}{r_{ij}}-\frac{\textrm{erfc}(\alpha R_\textrm{c})}{R_\textrm{c}}\right) \quad r_{ij}\leqslant R_\textrm{c}.
285 > v_{\textrm{DSP}}(r) = q_iq_j\left(\frac{\textrm{erfc}(\alpha r)}{r}-\frac{\textrm{erfc}(\alpha R_\textrm{c})}{R_\textrm{c}}\right) \quad r\leqslant R_\textrm{c},
286   \label{eq:DSPPot}
287   \end{equation}
288 < The derivative of this Shifted-Potential can be taken to obtain forces
261 < for use in MD,
288 > with associated forces,
289   \begin{equation}
290 < F^{\textrm{DSP}}(r_{ij}) = q_iq_j\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) \quad r_{ij}\leqslant R_\textrm{c}.
290 > f_{\textrm{DSP}}(r) = q_iq_j\left(-\frac{\textrm{erfc}(\alpha r)}{r^2}-\frac{2\alpha}{\pi^{1/2}}\frac{\exp{(-\alpha^2r^2)}}{r}\right) \quad r\leqslant R_\textrm{c}.
291   \label{eq:DSPForces}
292   \end{equation}
293 < Again, this Shifted-Potential suffers from a discontinuity in the
294 < forces, and a lack of an image-charge component in the forces.  To
295 < remedy these concerns, a Shifted-Force variant is obtained by
296 < inclusion of the derivative term in equation \ref{eq:shiftingForm} to
270 < give,
293 > Again, this damped shifted potential suffers from a discontinuity and
294 > a lack of the image charges in the forces.  To remedy these concerns,
295 > one may derive a {\sc sf} variant by including  the derivative
296 > term in eq. (\ref{eq:shiftingForm}),
297   \begin{equation}
298   \begin{split}
299 < V^\mathrm{DSF}(r_{ij}) = q_iq_j\Biggr{[}&\frac{\mathrm{erfc}\left(\alpha r_{ij}\right)}{r_{ij}}-\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_{ij}-R_\mathrm{c}\right)\ \right] \quad r_{ij}\leqslant R_\textrm{c}.
299 > 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}.
300   \label{eq:DSFPot}
301   \end{split}
302   \end{equation}
303   The derivative of the above potential gives the following forces,
304   \begin{equation}
305   \begin{split}
306 < F^\mathrm{DSF}(r_{ij}) = q_iq_j\Biggr{[}&-\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.+\left(\frac{\textrm{erfc}(\alpha R_{\textrm{c}})}{R_{\textrm{c}}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2R_{\textrm{c}}^2\right)}}{R_{\textrm{c}}}\right)\right] \quad r_{ij}\leqslant R_\textrm{c}.
306 > f_\mathrm{DSF}(r) = q_iq_j\Biggr{[}&-\left(\frac{\textrm{erfc}(\alpha r)}{r^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{(-\alpha^2r^2)}}{r}\right) \\ &\left.+\left(\frac{\textrm{erfc}(\alpha R_{\textrm{c}})}{R_{\textrm{c}}^2}+\frac{2\alpha}{\pi^{1/2}}\frac{\exp{\left(-\alpha^2R_{\textrm{c}}^2\right)}}{R_{\textrm{c}}}\right)\right] \quad r\leqslant R_\textrm{c}.
307   \label{eq:DSFForces}
308   \end{split}
309   \end{equation}
310  
311 < This new Shifted-Force potential is similar to equation
311 > This new {\sc sf} potential is similar to equation
312   \ref{eq:ZahnPot} derived by Zahn \textit{et al.}; however, there are
313   two important differences.\cite{Zahn02} First, the $v_\textrm{c}$ term
314 < from equation \ref{eq:shiftingForm} is equal to equation
315 < \ref{eq:dampCoulomb} with $R_\textrm{c}$ supplied for $r_{ij}$.  This
316 < term is not present in the Zahn potential, resulting in a
317 < discontinuity as particles cross $R_\textrm{c}$.  Second, the sign of
318 < the derivative portion is different.  The constant $v_\textrm{c}$ term
319 < is not going to have a presence in the forces after performing the
320 < derivative, but the negative sign does effect the derivative.  In
321 < fact, it introduces a discontinuity in the forces at the cutoff,
322 < because the force function is shifted in the wrong direction and
323 < doesn't cross zero at $R_\textrm{c}$.  Thus, these alterations make
324 < for an electrostatic summation method that is continuous in both the
325 < potential and forces and incorporates the pairwise sum considerations
300 < stressed by Wolf \textit{et al.}\cite{Wolf99}
314 > from eq. (\ref{eq:shiftingForm}) is equal to
315 > eq. (\ref{eq:dampCoulomb}) with $r$ replaced by $R_\textrm{c}$.  This
316 > term is {\it not} present in the Zahn potential, resulting in a
317 > potential discontinuity as particles cross $R_\textrm{c}$.  Second,
318 > the sign of the derivative portion is different.  The missing
319 > $v_\textrm{c}$ term would not affect molecular dynamics simulations
320 > (although the computed energy would be expected to have sudden jumps
321 > as particle distances crossed $R_c$).  The sign problem would be a
322 > potential source of errors, however.  In fact, it introduces a
323 > discontinuity in the forces at the cutoff, because the force function
324 > is shifted in the wrong direction and doesn't cross zero at
325 > $R_\textrm{c}$.  
326  
327 + Eqs. (\ref{eq:DSFPot}) and (\ref{eq:DSFForces}) result in an
328 + electrostatic summation method that is continuous in both the
329 + potential and forces and which incorporates the damping function
330 + proposed by Wolf \textit{et al.}\cite{Wolf99} In the rest of this
331 + paper, we will evaluate exactly how good these methods ({\sc sp}, {\sc
332 + sf}, damping) are at reproducing the correct electrostatic summation
333 + performed by the Ewald sum.
334 +
335 + \subsection{Other alternatives}
336 + In addition to the methods described above, we will consider some
337 + other techniques that commonly get used in molecular simulations.  The
338 + simplest of these is group-based cutoffs.  Though of little use for
339 + non-neutral molecules, collecting atoms into neutral groups takes
340 + advantage of the observation that the electrostatic interactions decay
341 + faster than those for monopolar pairs.\cite{Steinbach94} When
342 + considering these molecules as groups, an orientational aspect is
343 + introduced to the interactions.  Consequently, as these molecular
344 + particles move through $R_\textrm{c}$, the energy will drift upward
345 + due to the anisotropy of the net molecular dipole
346 + interactions.\cite{Rahman71} To maintain good energy conservation,
347 + both the potential and derivative need to be smoothly switched to zero
348 + at $R_\textrm{c}$.\cite{Adams79} This is accomplished using a
349 + switching function,
350 + \begin{equation}
351 + S(r) = \begin{cases} 1 &\quad r\leqslant r_\textrm{sw} \\
352 + \frac{(R_\textrm{c}+2r-3r_\textrm{sw})(R_\textrm{c}-r)^2}{(R_\textrm{c}-r_\textrm{sw})^3} &\quad r_\textrm{sw}<r\leqslant R_\textrm{c} \\
353 + 0 &\quad r>R_\textrm{c}
354 + \end{cases},
355 + \end{equation}
356 + where the above form is for a cubic function.  If a smooth second
357 + derivative is desired, a fifth (or higher) order polynomial can be
358 + used.\cite{Andrea83}
359 +
360 + Group-based cutoffs neglect the surroundings beyond $R_\textrm{c}$,
361 + and to incorporate their effect, a method like Reaction Field ({\sc
362 + rf}) can be used.  The orignal theory for {\sc rf} was originally
363 + developed by Onsager,\cite{Onsager36} and it was applied in
364 + simulations for the study of water by Barker and Watts.\cite{Barker73}
365 + In application, it is simply an extension of the group-based cutoff
366 + method where the net dipole within the cutoff sphere polarizes an
367 + external dielectric, which reacts back on the central dipole.  The
368 + same switching function considerations for group-based cutoffs need to
369 + made for {\sc rf}, with the additional prespecification of a
370 + dielectric constant.
371 +
372   \section{Methods}
373  
304 \subsection{What Qualities are Important?}\label{sec:Qualities}
374   In classical molecular mechanics simulations, there are two primary
375   techniques utilized to obtain information about the system of
376   interest: Monte Carlo (MC) and Molecular Dynamics (MD).  Both of these
# Line 310 | Line 379 | configurations dictates the progression of MC sampling
379  
380   In MC, the potential energy difference between two subsequent
381   configurations dictates the progression of MC sampling.  Going back to
382 < the origins of this method, the Canonical ensemble acceptance criteria
383 < laid out by Metropolis \textit{et al.} states that a subsequent
384 < configuration is accepted if $\Delta E < 0$ or if $\xi < \exp(-\Delta
385 < E/kT)$, where $\xi$ is a random number between 0 and
386 < 1.\cite{Metropolis53} Maintaining a consistent $\Delta E$ when using
387 < an alternate method for handling the long-range electrostatics ensures
388 < proper sampling within the ensemble.
382 > the origins of this method, the acceptance criterion for the canonical
383 > ensemble laid out by Metropolis \textit{et al.} states that a
384 > subsequent configuration is accepted if $\Delta E < 0$ or if $\xi <
385 > \exp(-\Delta E/kT)$, where $\xi$ is a random number between 0 and
386 > 1.\cite{Metropolis53} Maintaining the correct $\Delta E$ when using an
387 > alternate method for handling the long-range electrostatics will
388 > ensure proper sampling from the ensemble.
389  
390 < In MD, the derivative of the potential directs how the system will
390 > In MD, the derivative of the potential governs how the system will
391   progress in time.  Consequently, the force and torque vectors on each
392 < body in the system dictate how it develops as a whole.  If the
393 < magnitude and direction of these vectors are similar when using
394 < alternate electrostatic summation techniques, the dynamics in the near
395 < term will be indistinguishable.  Because error in MD calculations is
396 < cumulative, one should expect greater deviation in the long term
397 < trajectories with greater differences in these vectors between
398 < configurations using different long-range electrostatics.
392 > body in the system dictate how the system evolves.  If the magnitude
393 > and direction of these vectors are similar when using alternate
394 > electrostatic summation techniques, the dynamics in the short term
395 > will be indistinguishable.  Because error in MD calculations is
396 > cumulative, one should expect greater deviation at longer times,
397 > although methods which have large differences in the force and torque
398 > vectors will diverge from each other more rapidly.
399  
400   \subsection{Monte Carlo and the Energy Gap}\label{sec:MCMethods}
401 < Evaluation of the pairwise summation techniques (outlined in section
402 < \ref{sec:ESMethods}) for use in MC simulations was performed through
403 < study of the energy differences between conformations.  Considering
404 < the SPME results to be the correct or desired behavior, ideal
405 < performance of a tested method was taken to be agreement between the
406 < energy differences calculated.  Linear least squares regression of the
407 < $\Delta E$ values between configurations using SPME against $\Delta E$
408 < values using tested methods provides a quantitative comparison of this
409 < agreement.  Unitary results for both the correlation and correlation
410 < coefficient for these regressions indicate equivalent energetic
411 < results between the methods.  The correlation is the slope of the
412 < plotted data while the correlation coefficient ($R^2$) is a measure of
413 < the of the data scatter around the fitted line and tells about the
414 < quality of the fit (Fig. \ref{fig:linearFit}).
401 > The pairwise summation techniques (outlined in section
402 > \ref{sec:ESMethods}) were evaluated for use in MC simulations by
403 > studying the energy differences between conformations.  We took the
404 > SPME-computed energy difference between two conformations to be the
405 > correct behavior. An ideal performance by an alternative method would
406 > reproduce these energy differences exactly.  Since none of the methods
407 > provide exact energy differences, we used linear least squares
408 > regressions of the $\Delta E$ values between configurations using SPME
409 > against $\Delta E$ values using tested methods provides a quantitative
410 > comparison of this agreement.  Unitary results for both the
411 > correlation and correlation coefficient for these regressions indicate
412 > equivalent energetic results between the method under consideration
413 > and electrostatics handled using SPME.  Sample correlation plots for
414 > two alternate methods are shown in Fig. \ref{fig:linearFit}.
415  
416   \begin{figure}
417   \centering
# Line 351 | Line 420 | quality of the fit (Fig. \ref{fig:linearFit}).
420   \label{fig:linearFit}
421   \end{figure}
422  
423 < Each system type (detailed in section \ref{sec:RepSims}) studied
424 < consisted of 500 independent configurations, each equilibrated from
425 < higher temperature trajectories. Thus, 124,750 $\Delta E$ data points
426 < are used in a regression of a single system type.  Results and
427 < discussion for the individual analysis of each of the system types
359 < appear in the supporting information, while the cumulative results
360 < over all the investigated systems appears below in section
361 < \ref{sec:EnergyResults}.
423 > Each system type (detailed in section \ref{sec:RepSims}) was
424 > represented using 500 independent configurations.  Additionally, we
425 > used seven different system types, so each of the alternate
426 > (non-Ewald) electrostatic summation methods was evaluated using
427 > 873,250 configurational energy differences.
428  
429 < \subsection{Molecular Dynamics and the Force and Torque Vectors}\label{sec:MDMethods}
430 < Evaluation of the pairwise methods (outlined in section
431 < \ref{sec:ESMethods}) for use in MD simulations was performed through
432 < comparison of the force and torque vectors obtained with those from
367 < SPME.  Both the magnitude and the direction of these vectors on each
368 < of the bodies in the system were analyzed.  For the magnitude of these
369 < vectors, linear least squares regression analysis can be performed as
370 < described previously for comparing $\Delta E$ values. Instead of a
371 < single value between two system configurations, there is a value for
372 < each particle in each configuration.  For a system of 1000 water
373 < molecules and 40 ions, there are 1040 force vectors and 1000 torque
374 < vectors.  With 500 configurations, this results in 520,000 force and
375 < 500,000 torque vector comparisons samples for each system type.
429 > Results and discussion for the individual analysis of each of the
430 > system types appear in the supporting information, while the
431 > cumulative results over all the investigated systems appears below in
432 > section \ref{sec:EnergyResults}.
433  
434 < The force and torque vector directions were investigated through
435 < measurement of the angle ($\theta$) formed between those from the
436 < particular method and those from SPME
434 > \subsection{Molecular Dynamics and the Force and Torque Vectors}\label{sec:MDMethods}
435 > We evaluated the pairwise methods (outlined in section
436 > \ref{sec:ESMethods}) for use in MD simulations by
437 > comparing the force and torque vectors with those obtained using the
438 > reference Ewald summation (SPME).  Both the magnitude and the
439 > direction of these vectors on each of the bodies in the system were
440 > analyzed.  For the magnitude of these vectors, linear least squares
441 > regression analyses were performed as described previously for
442 > comparing $\Delta E$ values.  Instead of a single energy difference
443 > between two system configurations, we compared the magnitudes of the
444 > forces (and torques) on each molecule in each configuration.  For a
445 > system of 1000 water molecules and 40 ions, there are 1040 force
446 > vectors and 1000 torque vectors.  With 500 configurations, this
447 > results in 520,000 force and 500,000 torque vector comparisons.
448 > Additionally, data from seven different system types was aggregated
449 > before the comparison was made.
450 >
451 > The {\it directionality} of the force and torque vectors was
452 > investigated through measurement of the angle ($\theta$) formed
453 > between those computed from the particular method and those from SPME,
454   \begin{equation}
455 < \theta_F = \frac{\vec{F}_\textrm{SPME}}{|\vec{F}_\textrm{SPME}|}\cdot\frac{\vec{F}_\textrm{Method}}{|\vec{F}_\textrm{Method}|}.
455 > \theta_f = \cos^{-1} \hat{f}_\textrm{SPME} \cdot \hat{f}_\textrm{Method},
456   \end{equation}
457 + where $\hat{f}_\textrm{M}$ is the unit vector pointing along the
458 + force vector computed using method $M$.  
459 +
460   Each of these $\theta$ values was accumulated in a distribution
461 < function, weighted by the area on the unit sphere.  Non-linear fits
462 < were used to measure the shape of the resulting distributions.
461 > function, weighted by the area on the unit sphere.  Non-linear
462 > Gaussian fits were used to measure the width of the resulting
463 > distributions.
464  
465   \begin{figure}
466   \centering
# Line 395 | Line 473 | Lorentzian.  Since this distribution is a measure of a
473   non-linear fits.  The solid line is a Gaussian profile, while the
474   dotted line is a Voigt profile, a convolution of a Gaussian and a
475   Lorentzian.  Since this distribution is a measure of angular error
476 < between two different electrostatic summation methods, there is
477 < particular reason for the profile to adhere to a specific shape.
478 < Because of this and the Gaussian profile's more statistically
479 < meaningful properties, Gaussian fits was used to compare all the
480 < tested methods.  The variance ($\sigma^2$) was extracted from each of
481 < these fits and was used to compare distribution widths.  Values of
482 < $\sigma^2$ near zero indicate vector directions indistinguishable from
405 < those calculated when using SPME.
476 > between two different electrostatic summation methods, there is no
477 > {\it a priori} reason for the profile to adhere to any specific shape.
478 > Gaussian fits was used to compare all the tested methods.  The
479 > variance ($\sigma^2$) was extracted from each of these fits and was
480 > used to compare distribution widths.  Values of $\sigma^2$ near zero
481 > indicate vector directions indistinguishable from those calculated
482 > when using the reference method (SPME).
483  
484 + \subsection{Short-time Dynamics}
485 +
486   \subsection{Long-Time and Collective Motion}\label{sec:LongTimeMethods}
487   Evaluation of the long-time dynamics of charged systems was performed
488   by considering the NaCl crystal system while using a subset of the
# Line 472 | Line 551 | Electrostatic summation method comparisons were perfor
551  
552   \subsection{Electrostatic Summation Methods}\label{sec:ESMethods}
553   Electrostatic summation method comparisons were performed using SPME,
554 < the Shifted-Potential and Shifted-Force methods - both with damping
554 > the {\sc sp} and {\sc sf} methods - both with damping
555   parameters ($\alpha$) of 0.0, 0.1, 0.2, and 0.3 \AA$^{-1}$ (no, weak,
556   moderate, and strong damping respectively), reaction field with an
557   infinite dielectric constant, and an unmodified cutoff.  Group-based
# Line 535 | Line 614 | shown, but it has a detrimental effect on simulations
614   particularly with a cutoff radius greater than 12 \AA .  Use of a
615   larger damping parameter is more helpful for the shortest cutoff
616   shown, but it has a detrimental effect on simulations with larger
617 < cutoffs.  In the Shifted-Force sets, increasing damping results in
617 > cutoffs.  In the {\sc sf} sets, increasing damping results in
618   progressively poorer correlation.  Overall, the undamped case is the
619   best performing set, as the correlation and quality of fits are
620   consistently superior regardless of the cutoff distance.  This result
# Line 568 | Line 647 | a improvement much more significant than what was seen
647   in the previous $\Delta E$ section.  The unmodified cutoff results are
648   poor, but using group based cutoffs and a switching function provides
649   a improvement much more significant than what was seen with $\Delta
650 < E$.  Looking at the Shifted-Potential sets, the slope and $R^2$
650 > E$.  Looking at the {\sc sp} sets, the slope and $R^2$
651   improve with the use of damping to an optimal result of 0.2 \AA
652   $^{-1}$ for the 12 and 15 \AA\ cutoffs.  Further increases in damping,
653   while beneficial for simulations with a cutoff radius of 9 \AA\ , is
654   detrimental to simulations with larger cutoff radii.  The undamped
655 < Shifted-Force method gives forces in line with those obtained using
655 > {\sc sf} method gives forces in line with those obtained using
656   SPME, and use of a damping function results in minor improvement.  The
657   reaction field results are surprisingly good, considering the poor
658   quality of the fits for the $\Delta E$ results.  There is still a
# Line 596 | Line 675 | the improved behavior that comes with increasing the c
675   torque vector magnitude results in figure \ref{fig:trqMag} are still
676   similar to those seen for the forces; however, they more clearly show
677   the improved behavior that comes with increasing the cutoff radius.
678 < Moderate damping is beneficial to the Shifted-Potential and helpful
679 < yet possibly unnecessary with the Shifted-Force method, and they also
678 > Moderate damping is beneficial to the {\sc sp} and helpful
679 > yet possibly unnecessary with the {\sc sf} method, and they also
680   show that over-damping adversely effects all cutoff radii rather than
681   showing an improvement for systems with short cutoffs.  The reaction
682   field method performs well when calculating the torques, better than
# Line 626 | Line 705 | of the distribution widths, with a similar improvement
705   show the improvement afforded by choosing a longer simulation cutoff.
706   Increasing the cutoff from 9 to 12 \AA\ typically results in a halving
707   of the distribution widths, with a similar improvement going from 12
708 < to 15 \AA .  The undamped Shifted-Force, Group Based Cutoff, and
708 > to 15 \AA .  The undamped {\sc sf}, Group Based Cutoff, and
709   Reaction Field methods all do equivalently well at capturing the
710   direction of both the force and torque vectors.  Using damping
711 < improves the angular behavior significantly for the Shifted-Potential
712 < and moderately for the Shifted-Force methods.  Increasing the damping
711 > improves the angular behavior significantly for the {\sc sp}
712 > and moderately for the {\sc sf} methods.  Increasing the damping
713   too far is destructive for both methods, particularly to the torque
714   vectors.  Again it is important to recognize that the force vectors
715   cover all particles in the systems, while torque vectors are only
# Line 672 | Line 751 | Although not discussed previously, group based cutoffs
751   \end{table}
752  
753   Although not discussed previously, group based cutoffs can be applied
754 < to both the Shifted-Potential and Shifted-Force methods.  Use off a
754 > to both the {\sc sp} and {\sc sf} methods.  Use off a
755   switching function corrects for the discontinuities that arise when
756   atoms of a group exit the cutoff before the group's center of mass.
757   Though there are no significant benefit or drawbacks observed in
# Line 681 | Line 760 | results seen in figure \ref{fig:frcTrqAng} for compari
760   \ref{tab:groupAngle} shows the angular variance values obtained using
761   group based cutoffs and a switching function alongside the standard
762   results seen in figure \ref{fig:frcTrqAng} for comparison purposes.
763 < The Shifted-Potential shows much narrower angular distributions for
763 > The {\sc sp} shows much narrower angular distributions for
764   both the force and torque vectors when using an $\alpha$ of 0.2
765 < \AA$^{-1}$ or less, while Shifted-Force shows improvements in the
765 > \AA$^{-1}$ or less, while {\sc sf} shows improvements in the
766   undamped and lightly damped cases.  Thus, by calculating the
767   electrostatic interactions in terms of molecular pairs rather than
768   atomic pairs, the direction of the force and torque vectors are
769   determined more accurately.
770  
771   One additional trend to recognize in table \ref{tab:groupAngle} is
772 < that the $\sigma^2$ values for both Shifted-Potential and
773 < Shifted-Force converge as $\alpha$ increases, something that is easier
772 > that the $\sigma^2$ values for both {\sc sp} and
773 > {\sc sf} converge as $\alpha$ increases, something that is easier
774   to see when using group based cutoffs.  Looking back on figures
775   \ref{fig:delE}, \ref{fig:frcMag}, and \ref{fig:trqMag}, show this
776   behavior clearly at large $\alpha$ and cutoff values.  The reason for
# Line 710 | Line 789 | up to 0.2 \AA$^{-1}$ proves to be beneficial, but damp
789   high would introduce error in the molecular torques, particularly for
790   the shorter cutoffs.  Based on the above findings, empirical damping
791   up to 0.2 \AA$^{-1}$ proves to be beneficial, but damping is arguably
792 < unnecessary when using the Shifted-Force method.
792 > unnecessary when using the {\sc sf} method.
793  
794   \subsection{Collective Motion: Power Spectra of NaCl Crystals}
795  
796 < In the previous studies using a Shifted-Force variant of the damped
796 > In the previous studies using a {\sc sf} variant of the damped
797   Wolf coulomb potential, the structure and dynamics of water were
798   investigated rather extensively.\cite{Zahn02,Kast03} Their results
799 < indicated that the damped Shifted-Force method results in properties
799 > indicated that the damped {\sc sf} method results in properties
800   very similar to those obtained when using the Ewald summation.
801   Considering the statistical results shown above, the good performance
802   of this method is not that surprising.  Rather than consider the same
# Line 728 | Line 807 | summation methods from the above results.
807   \begin{figure}
808   \centering
809   \includegraphics[width = \linewidth]{./spectraSquare.pdf}
810 < \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, 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.}
810 > \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.}
811   \label{fig:methodPS}
812   \end{figure}
813  
# Line 740 | Line 819 | cm$^{-1}$, the correlated motions are blue-shifted whe
819   methods differ.  Considering the low-frequency inset (expanded in the
820   upper frame of figure \ref{fig:dampInc}), at frequencies below 100
821   cm$^{-1}$, the correlated motions are blue-shifted when using undamped
822 < or weakly damped Shifted-Force.  When using moderate damping ($\alpha
823 < = 0.2$ \AA$^{-1}$) both the Shifted-Force and Shifted-Potential
822 > or weakly damped {\sc sf}.  When using moderate damping ($\alpha
823 > = 0.2$ \AA$^{-1}$) both the {\sc sf} and {\sc sp}
824   methods give near identical correlated motion behavior as the Ewald
825   method (which has a damping value of 0.3119).  The damping acts as a
826   distance dependent Gaussian screening of the point charges for the
# Line 752 | Line 831 | electrostatic potential,
831   clearly, we show how damping strength affects a simple real-space
832   electrostatic potential,
833   \begin{equation}
834 < 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),
834 > V_\textrm{damped}=\sum^N_i\sum^N_{j\ne i}q_iq_j\left[\frac{\textrm{erfc}({\alpha r})}{r}\right]S(r),
835   \end{equation}
836   where $S(r)$ is a switching function that smoothly zeroes the
837   potential at the cutoff radius.  Figure \ref{fig:dampInc} shows how
# Line 765 | Line 844 | blue-shifted such that the lowest frequency peak resid
844   shift to higher frequency in exponential fashion.  Though not shown,
845   the spectrum for the simple undamped electrostatic potential is
846   blue-shifted such that the lowest frequency peak resides near 325
847 < cm$^{-1}$.  In light of these results, the undamped Shifted-Force
847 > cm$^{-1}$.  In light of these results, the undamped {\sc sf}
848   method producing low-lying motion peaks within 10 cm$^{-1}$ of SPME is
849   quite respectable; however, it appears as though moderate damping is
850   required for accurate reproduction of crystal dynamics.
851   \begin{figure}
852   \centering
853   \includegraphics[width = \linewidth]{./comboSquare.pdf}
854 < \caption{Upper: Zoomed inset from figure \ref{fig:methodPS}.  As the damping value for the Shifted-Force potential increases, the low-frequency peaks red-shift.  Lower: Low-frequency correlated motions for NaCl crystals at 1000 K when using SPME and a simple damped Coulombic sum with damping coefficients ($\alpha$) ranging from 0.15 to 0.3 \AA$^{-1}$.  As $\alpha$ increases, the peaks are red-shifted toward and eventually beyond the values given by SPME.  The larger $\alpha$ values weaken the real-space electrostatics, explaining this shift towards less strongly correlated motions in the crystal.}
854 > \caption{Upper: Zoomed inset from figure \ref{fig:methodPS}.  As the damping value for the {\sc sf} potential increases, the low-frequency peaks red-shift.  Lower: Low-frequency correlated motions for NaCl crystals at 1000 K when using SPME and a simple damped Coulombic sum with damping coefficients ($\alpha$) ranging from 0.15 to 0.3 \AA$^{-1}$.  As $\alpha$ increases, the peaks are red-shifted toward and eventually beyond the values given by SPME.  The larger $\alpha$ values weaken the real-space electrostatics, explaining this shift towards less strongly correlated motions in the crystal.}
855   \label{fig:dampInc}
856   \end{figure}
857  
# Line 783 | Line 862 | Wolf \textit{et al.}\cite{Wolf99,Zahn02} In particular
862   electrostatic summation techniques than the Ewald summation, chiefly
863   methods derived from the damped Coulombic sum originally proposed by
864   Wolf \textit{et al.}\cite{Wolf99,Zahn02} In particular, the
865 < Shifted-Force method, reformulated above as equation \ref{eq:SFPot},
865 > {\sc sf} method, reformulated above as eq. (\ref{eq:DSFPot}),
866   shows a remarkable ability to reproduce the energetic and dynamic
867   characteristics exhibited by simulations employing lattice summation
868   techniques.  The cumulative energy difference results showed the
869 < undamped Shifted-Force and moderately damped Shifted-Potential methods
869 > undamped {\sc sf} and moderately damped {\sc sp} methods
870   produced results nearly identical to SPME.  Similarly for the dynamic
871 < features, the undamped or moderately damped Shifted-Force and
872 < moderately damped Shifted-Potential methods produce force and torque
871 > features, the undamped or moderately damped {\sc sf} and
872 > moderately damped {\sc sp} methods produce force and torque
873   vector magnitude and directions very similar to the expected values.
874   These results translate into long-time dynamic behavior equivalent to
875   that produced in simulations using SPME.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines