ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/electrostaticMethodsPaper/electrostaticMethods.tex
Revision: 2599
Committed: Tue Feb 28 14:09:55 2006 UTC (18 years, 6 months ago) by chrisfen
Content type: application/x-tex
File size: 21648 byte(s)
Log Message:
Separated supporting information.

File Contents

# User Rev Content
1 chrisfen 2575 %\documentclass[prb,aps,twocolumn,tabularx]{revtex4}
2     \documentclass[12pt]{article}
3     \usepackage{endfloat}
4     \usepackage{amsmath}
5 chrisfen 2594 \usepackage{amssymb}
6 chrisfen 2599 %\usepackage{ifsym}
7 chrisfen 2575 \usepackage{epsf}
8     \usepackage{times}
9     \usepackage{mathptm}
10     \usepackage{setspace}
11     \usepackage{tabularx}
12     \usepackage{graphicx}
13 chrisfen 2595 \usepackage{booktabs}
14 chrisfen 2586 %\usepackage{berkeley}
15 chrisfen 2575 \usepackage[ref]{overcite}
16     \pagestyle{plain}
17     \pagenumbering{arabic}
18     \oddsidemargin 0.0cm \evensidemargin 0.0cm
19     \topmargin -21pt \headsep 10pt
20     \textheight 9.0in \textwidth 6.5in
21     \brokenpenalty=10000
22     \renewcommand{\baselinestretch}{1.2}
23     \renewcommand\citemid{\ } % no comma in optional reference note
24    
25     \begin{document}
26    
27 chrisfen 2599 \title{Is the Ewald Summation necessary in typical molecular simulations: Alternatives to the accepted standard of cutoff policies}
28 chrisfen 2575
29     \author{Christopher J. Fennell and J. Daniel Gezelter \\
30     Department of Chemistry and Biochemistry\\
31     University of Notre Dame\\
32     Notre Dame, Indiana 46556}
33    
34     \date{\today}
35    
36     \maketitle
37     %\doublespacing
38    
39     \begin{abstract}
40     \end{abstract}
41    
42     %\narrowtext
43    
44 chrisfen 2595 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
45 chrisfen 2575 % BODY OF TEXT
46 chrisfen 2595 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
47 chrisfen 2575
48     \section{Introduction}
49    
50 chrisfen 2594 In this paper, a variety of simulation situations were analyzed to determine the relative effectiveness of the adapted Wolf spherical truncation schemes at reproducing the results obtained using a smooth particle mesh Ewald (SPME) summation technique. In addition to the Shifted-Potential and Shifted-Force adapted Wolf methods, both reaction field and uncorrected cutoff methods were included for comparison purposes. The general usability of these methods in both Monte Carlo and Molecular Dynamics calculations was assessed through statistical analysis over the combined results from all of the following studied systems:
51 chrisfen 2599 \begin{enumerate}
52 chrisfen 2586 \item Liquid Water
53     \item Crystalline Water (Ice I$_\textrm{c}$)
54 chrisfen 2595 \item NaCl Crystal
55     \item NaCl Melt
56 chrisfen 2599 \item Low Ionic Strength Solution of NaCl in Water
57     \item High Ionic Strength Solution of NaCl in Water
58 chrisfen 2586 \item 6 \AA\ Radius Sphere of Argon in Water
59 chrisfen 2599 \end{enumerate}
60 chrisfen 2586 Additional discussion on the results from the individual systems was also performed to identify limitations of the considered methods in specific systems.
61    
62 chrisfen 2575 \section{Methods}
63    
64 chrisfen 2594 In each of the simulated systems, 500 distinct configurations were generated, and the electrostatic summation methods were compared via sequential application on each of these fixed configurations. The methods compared include SPME, the aforementioned Shifted Potential and Shifted Force methods - both with damping parameters ($\alpha$) of 0, 0.1, 0.2, and 0.3 \AA$^{-1}$, reaction field with an infinite dielectric constant, and an unmodified cutoff. Group-based cutoffs with a fifth-order polynomial switching function were necessary for the reaction field simulations and were utilized in the SP, SF, and pure cutoff methods for comparison to the standard lack of group-based cutoffs with a hard truncation.
65 chrisfen 2586
66 chrisfen 2599 Generation of the system configurations was dependent on the system type. For the solid and liquid water configurations, configuration snapshots were taken at regular intervals from higher temperature 1000 SPC/E water molecule trajectories and each equilibrated individually. The solid and liquid NaCl systems consisted of 500 Na+ and 500 Cl- ions and were selected and equilibrated in the same fashion as the water systems. For the low and high ionic strength NaCl solutions, 4 and 40 ions were first solvated in a 1000 water molecule boxes respectively. Ion and water positions were then randomly swapped, and the resulting configurations were again equilibrated individually. Finally, for the Argon/Water "charge void" systems, the identities of all the SPC/E waters within 6 \AA\ of the center of the equilibrated water configurations were converted to argon (Fig. \ref{argonSlice}).
67 chrisfen 2586
68     \begin{figure}
69     \centering
70     \includegraphics[width=3.25in]{./slice.pdf}
71     \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.}
72     \label{argonSlice}
73     \end{figure}
74    
75     All of these comparisons were performed with three different cutoff radii (9, 12, and 15 \AA) to investigate the cutoff radius dependence of the various techniques. It should be noted that the damping parameter chosen in SPME, or so called ``Ewald Coefficient", has a significant effect on the energies and forces calculated. Typical molecular mechanics packages default this to a value dependent on the cutoff radius and a tolerance (typically less than $1 \times 10^{-5}$ kcal/mol). We chose a tolerance of $1 \times 10^{-8}$, resulting in Ewald Coefficients of 0.4200, 0.3119, and 0.2476 \AA$^{-1}$ for cutoff radii of 9, 12, and 15 \AA\ respectively.
76    
77 chrisfen 2575 \section{Results and Discussion}
78    
79 chrisfen 2599 \subsection{$\Delta E$ Comparison}
80 chrisfen 2595 In order to evaluate the performance of the adapted Wolf Shifted Potential and Shifted Force electrostatic summation methods for Monte Carlo simulations, the energy differences between configurations need to be compared to the results using SPME. Considering the SPME results to be the correct or desired behavior, ideal performance of a tested method is taken to be agreement between the energy differences calculated. Linear least squares regression of the $\Delta E$ values between configurations using SPME against $\Delta E$ values using tested methods provides a quantitative comparison of this agreement. Unitary results for both the correlation and correlation coefficient for these regressions indicate equivalent energetic results between the methods. The correlation is the slope of the plotted data while the correlation coefficient ($R^2$) is a measure of the of the data scatter around the fitted line and gives an idea of the quality of the fit (Fig. \ref{linearFit}).
81 chrisfen 2590
82     \begin{figure}
83     \centering
84     \includegraphics[width=3.25in]{./linearFit.pdf}
85 chrisfen 2595 \caption{Example least squares regression of the $\Delta E$ between configurations for the SF method against SPME in the pure water system. }
86 chrisfen 2590 \label{linearFit}
87     \end{figure}
88    
89 chrisfen 2599 With 500 independent configurations, 124,750 $\Delta E$ data points are used in a regression of a single system. Results and discussion for the individual analysis of each of the system types appear in the supporting information. To probe the applicability of each method in the general case, all the different system types were included in a single regression. The results for this regression are shown in figure \ref{delE}.
90 chrisfen 2590
91 chrisfen 2594 \begin{figure}
92     \centering
93     \includegraphics[width=3.25in]{./delEplot.pdf}
94 chrisfen 2595 \caption{The results from the statistical analysis of the $\Delta$E results for all the system types at 9 \AA\ (${\bullet}$), 12 \AA\ ($\blacksquare$), and 15 \AA\ ($\blacktriangledown$) cutoff radii. Results close to a value of 1 (dashed line) indicate $\Delta E$ values from that particular method (listed on the left) are nearly indistinguishable from those obtained from SPME. Reaction Field results do not include NaCl crystal or melt configurations.}
95 chrisfen 2594 \label{delE}
96     \end{figure}
97    
98 chrisfen 2599 In figure \ref{delE}, it is apparent that it is unreasonable to expect realistic results using an unmodified cutoff. This is not all that surprising since this results in large energy fluctuations as atoms move in and out of the cutoff radius. These fluctuations can be alleviated to some degree by using group based cutoffs with a switching function. The Group Switch Cutoff row doesn't show a significant improvement in this plot because the salt and salt solution systems contain non-neutral groups, see the accompanying supporting information for a comparison where all groups are neutral. Correcting the resulting charged cutoff sphere is one of the purposes of the shifted potential proposed by Wolf \textit{et al.}, and this correction indeed improves the results as seen in the Shifted Potental rows. While the undamped case of this method is a significant improvement over the pure cutoff, it still doesn't correlate that well with SPME. Inclusion of potential damping improves the results, and using an $\alpha$ of 0.2 \AA $^{-1}$ shows an excellent correlation and quality of fit with the SPME results, particularly with a cutoff radius greater than 12 \AA . Use of a larger damping parameter is more helpful for the shortest cutoff shown, but it has a detrimental effect on simulations with larger cutoffs. This trend is repeated in the Shifted Force rows, where increasing damping results in progressively poorer correlation; however, damping looks to be unnecessary with this method. Overall, the undamped case is the best performing set, as the correlation and quality of fits are consistently superior regardless of the cutoff distance. This result is beneficial in that the undamped case is less computationally prohibitive do to the lack of complimentary error function calculation when performing the electrostatic pair interaction. The reaction field results illustrates some of that method's limitations, primarily that it was developed for use in homogenous systems; although it does provide results that are an improvement over those from an unmodified cutoff.
99 chrisfen 2594
100 chrisfen 2599 \subsection{Force Magnitude Comparison}
101    
102 chrisfen 2595 While studying the energy differences provides insight into how comparable these methods are energetically, if we want to use these methods in Molecular Dynamics simulations, we also need to consider their effect on forces and torques. Both the magnitude and the direction of the force and torque vectors of each of the bodies in the system can be compared to those observed while using SPME. Analysis of the magnitude of these vectors can be performed in the manner described previously for comparing $\Delta E$ values, only instead of a single value between two system configurations, there is a value for each particle in each configuration. For a system of 1000 water molecules and 40 ions, there are 1040 force vectors and 1000 torque vectors. With 500 configurations, this results in excess of 500,000 data samples for each system type. Figures \ref{frcMag} and \ref{trqMag} respectively show the force and torque vector magnitude results for the accumulated analysis over all the system types.
103 chrisfen 2594
104     \begin{figure}
105     \centering
106     \includegraphics[width=3.25in]{./frcMagplot.pdf}
107     \caption{The results from the statistical analysis of the force vector magnitude results for all the system types at 9 \AA\ (${\bullet}$), 12 \AA\ ($\blacksquare$), and 15 \AA\ ($\blacktriangledown$) cutoff radii. Results close to a value of 1 (dashed line) indicate force vector magnitude values from that particular method (listed on the left) are nearly indistinguishable from those obtained from SPME.}
108     \label{frcMag}
109     \end{figure}
110    
111 chrisfen 2595 The results in figure \ref{frcMag} for the most part parallel those seen in the previous look at the $\Delta E$ results. The unmodified cutoff results are poor, but using group based cutoffs and a switching function provides a improvement much more significant than what was seen with $\Delta E$. Looking at the Shifted Potential sets, the slope and R$^2$ improve with the use of damping to an optimal result of 0.2 \AA $^{-1}$ for the 12 and 15 \AA\ cutoffs. Further increases in damping, while beneficial for simulations with a cutoff radius of 9 \AA\ , is detrimental to simulations with larger cutoff radii. The undamped Shifted Force method gives forces in line with those obtained using SPME, and use of a damping function gives little to no gain. The reaction field results are surprisingly good, considering the poor quality of the fits for the $\Delta E$ results. There is still a considerable degree of scatter in the data, but it correlates well in general.
112 chrisfen 2594
113 chrisfen 2599 \subsection{Torque Magnitude Comparison}
114    
115 chrisfen 2594 \begin{figure}
116     \centering
117     \includegraphics[width=3.25in]{./trqMagplot.pdf}
118     \caption{The results from the statistical analysis of the torque vector magnitude results for all the system types at 9 \AA\ (${\bullet}$), 12 \AA\ ($\blacksquare$), and 15 \AA\ ($\blacktriangledown$) cutoff radii. Results close to a value of 1 (dashed line) indicate torque vector magnitude values from that particular method (listed on the left) are nearly indistinguishable from those obtained from SPME. Torques are only accumulated on the rigid water molecules, so these results exclude NaCl the systems.}
119     \label{trqMag}
120     \end{figure}
121    
122     The torque vector magnitude results in figure \ref{trqMag} are similar to those seen for the forces, but more clearly show the improved behavior with increasing cutoff radius. Moderate damping is beneficial to the Shifted Potential and unnecessary with the Shifted Force method, and they also show that over-damping adversely effects all cutoff radii rather than showing an improvement for systems with short cutoffs. The reaction field method performs well when calculating the torques, better than the Shifted Force method over this limited data set.
123    
124 chrisfen 2599 \subsection{Force and Torque Direction Comparison}
125    
126 chrisfen 2595 Having force and torque vectors with magnitudes that are well correlated to SPME is good, but if they are not pointing in the proper direction the results will be incorrect. These vector directions were investigated through measurement of the angle formed between them and those from SPME. The dot product of these unit vectors provides a theta value that is accumulated in a distribution function, weighted by the area on the unit sphere. Narrow distributions of theta values indicates similar to identical results between the tested method and SPME. To measure the narrowness of the resulting distributions, non-linear Gaussian fits were performed.
127 chrisfen 2594
128     \begin{figure}
129     \centering
130     \includegraphics[width=3.25in]{./gaussFit.pdf}
131     \caption{Example fitting of the angular distribution of the force vectors over all of the studied systems. The solid and dotted lines show Gaussian and Voigt fits of the distribution data respectively. Even though the Voigt profile make for a more accurate fit, the Gaussian was used due to more versatile statistical results.}
132     \label{gaussian}
133     \end{figure}
134    
135 chrisfen 2595 Figure \ref{gaussian} shows an example distribution and the non-linear fit applied. The solid line is a Gaussian profile, while the dotted line is a Voigt profile, a convolution of a Gaussian and a Lorentzian profile. Since this distribution is a measure of angular error between two different electrostatic summation methods, there is particular reason for it to adhere to a particular shape. Because of this and the Gaussian profile's more statistically meaningful properties, Gaussian fitting was used to compare all the methods considered in this study. The results (Fig. \ref{frcTrqAng}) are compared through the variance ($\sigma^2$) of these non-linear fits.
136 chrisfen 2594
137     \begin{figure}
138     \centering
139     \includegraphics[width=3.25in]{./frcTrqAngplot.pdf}
140     \caption{The results from the statistical analysis of the force and torque vector angular distributions for all the system types at 9 \AA\ (${\bullet}$), 12 \AA\ ($\blacksquare$), and 15 \AA\ ($\blacktriangledown$) cutoff radii. Plotted values are the variance ($\sigma^2$) of the Gaussian non-linear fits. Results close to a value of 0 (dashed line) indicate force or torque vector directions from that particular method (listed on the left) are nearly indistinguishable from those obtained from SPME. Torques are only accumulated on the rigid water molecules, so the torque vector angle results exclude NaCl the systems.}
141     \label{frcTrqAng}
142     \end{figure}
143    
144 chrisfen 2599 Both the force and torque $\sigma^2$ results from the analysis of the total accumulated system data are tabulated in figure \ref{frcTrqAng}. All of the sets, aside from the over-damped case show the improvement afforded by choosing a longer simulation cutoff. Increasing the cutoff from 9 to 12 \AA\ typically results in a halving of $\sigma^2$, with a similar improvement going from 12 to 15 \AA . The undamped Shifted Force, Group Based Cutoff, and Reaction Field methods all do equivalently well at capturing the direction of both the force and torque vectors. Using damping improves the angular behavior significantly for the Shifted Potential and moderately for the Shifted Force methods. Increasing the damping too far is destructive for both methods, particularly to the torque vectors. Again it is important to recognize that the force vectors cover all particles in the systems, while torque vectors are only available for neutral molecular groups. Damping appears to have a more beneficial non-neutral bodies, and this observation is investigated further in the accompanying supporting information.
145 chrisfen 2594
146 chrisfen 2595 \begin{table}[htbp]
147     \centering
148     \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$.}
149 chrisfen 2599 \begin{tabular}{@{} ccrrrrrrrr @{}}
150 chrisfen 2595 \\
151     \toprule
152     & & \multicolumn{4}{c}{Shifted Potential} & \multicolumn{4}{c}{Shifted Force} \\
153     \cmidrule(lr){3-6}
154     \cmidrule(l){7-10}
155 chrisfen 2599 $R_\textrm{c}$ & Groups & $\alpha = 0$ & $\alpha = 0.1$ & $\alpha = 0.2$ & $\alpha = 0.3$ & $\alpha = 0$ & $\alpha = 0.1$ & $\alpha = 0.2$ & $\alpha = 0.3$\\
156 chrisfen 2595 \midrule
157 chrisfen 2599
158     9 \AA & N & 29.545 & 12.003 & 5.489 & 0.610 & 2.323 & 2.321 & 0.429 & 0.603 \\
159     & \textbf{Y} & \textbf{2.486} & \textbf{2.160} & \textbf{0.667} & \textbf{0.608} & \textbf{1.768} & \textbf{1.766} & \textbf{0.676} & \textbf{0.609} \\
160     12 \AA & N & 19.381 & 3.097 & 0.190 & 0.608 & 0.920 & 0.736 & 0.133 & 0.612 \\
161     & \textbf{Y} & \textbf{0.515} & \textbf{0.288} & \textbf{0.127} & \textbf{0.586} & \textbf{0.308} & \textbf{0.249} & \textbf{0.127} & \textbf{0.586} \\
162     15 \AA & N & 12.700 & 1.196 & 0.123 & 0.601 & 0.339 & 0.160 & 0.123 & 0.601 \\
163     & \textbf{Y} & \textbf{0.228} & \textbf{0.099} & \textbf{0.121} & \textbf{0.598} & \textbf{0.144} & \textbf{0.090} & \textbf{0.121} & \textbf{0.598} \\
164 chrisfen 2594
165 chrisfen 2595 \midrule
166    
167 chrisfen 2599 9 \AA & N & 262.716 & 116.585 & 5.234 & 5.103 & 2.392 & 2.350 & 1.770 & 5.122 \\
168     & \textbf{Y} & \textbf{2.115} & \textbf{1.914} & \textbf{1.878} & \textbf{5.142} & \textbf{2.076} & \textbf{2.039} & \textbf{1.972} & \textbf{5.146} \\
169     12 \AA & N & 129.576 & 25.560 & 1.369 & 5.080 & 0.913 & 0.790 & 1.362 & 5.124 \\
170     & \textbf{Y} & \textbf{0.810} & \textbf{0.685} & \textbf{1.352} & \textbf{5.082} & \textbf{0.765} & \textbf{0.714} & \textbf{1.360} & \textbf{5.082} \\
171     15 \AA & N & 87.275 & 4.473 & 1.271 & 5.000 & 0.372 & 0.312 & 1.271 & 5.000 \\
172     & \textbf{Y} & \textbf{0.282} & \textbf{0.294} & \textbf{1.272} & \textbf{4.999} & \textbf{0.324} & \textbf{0.318} & \textbf{1.272} & \textbf{4.999} \\
173 chrisfen 2595
174     \bottomrule
175     \end{tabular}
176     \label{groupAngle}
177     \end{table}
178    
179     Although not discussed previously, group based cutoffs can be applied to both the Shifted Potential and Force methods. Use off a switching function corrects for the discontinuities that arise when atoms of a group exit the cutoff before the group's center of mass. Though there are no significant benefit or drawbacks observed in $\Delta E$ and vector magnitude results when doing this, there is a measurable improvement in the vector angle results. Table \ref{groupAngle} shows the angular variance values obtained using group based cutoffs and a switching function alongside the standard results seen in figure \ref{frcTrqAng} for comparison purposes. The Shifted Potential shows much narrower angular distributions for both the force and torque vectors when using an $\alpha$ of 0.2 \AA$^{-1}$ or less, while Shifted Force shows improvements in the undamped and lightly damped cases. Thus, by calculating the electrostatic interactions in terms of molecular pairs rather than atomic pairs, the direction of the force and torque vectors are determined more accurately.
180    
181     One additional trend to recognize in table \ref{groupAngle} is that the $\sigma^2$ values for both Shifted Potential and Shifted Force converge as $\alpha$ increases, something that is easier to see when using group based cutoffs. Looking back on figures \ref{delE}, \ref{frcMag}, and \ref{trqMag}, show this behavior clearly at large $\alpha$ and cutoff values. The reason for this is that the complimentary error function inserted into the potential weakens the electrostatic interaction as $\alpha$ increases. Thus, at larger values of $\alpha$, both the summation method types progress toward non-interacting functions, so care is required in choosing large damping functions lest one generate an undesirable loss in the pair interaction. Kast \textit{et al.} developed a method for choosing appropriate $\alpha$ values for these types of electrostatic summation methods by fitting to $g(r)$ data, and their methods indicate optimal values of 0.34, 0.25, and 0.16 \AA$^{-1}$ for cutoff values of 9, 12, and 15 \AA\ respectively.\cite{Kast03} These appear to be reasonable choices to obtain proper MC behavior (Fig. \ref{delE}); however, based on these findings, choices this high would be introducing error in the molecular torques, particularly for the shorter cutoffs. Based on the above findings, any empirical damping is arguably unnecessary with the choice of the Shifted Force method.
182    
183 chrisfen 2575 \section{Conclusions}
184    
185     \section{Acknowledgments}
186    
187 chrisfen 2594 \newpage
188    
189 chrisfen 2575 \bibliographystyle{achemso}
190     \bibliography{electrostaticMethods}
191    
192    
193     \end{document}