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