07.04.2013 Views

Essentials of Computational Chemistry

Essentials of Computational Chemistry

Essentials of Computational Chemistry

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.4 GEOMETRY OPTIMIZATION 47<br />

that the speed <strong>of</strong> a force-field calculation exhibits with respect to increasing system size.<br />

Although we raise the issues here in the context <strong>of</strong> geometry optimization, they are equally<br />

important in force-field simulations, which are discussed in more detail in the next chapter.<br />

If we look at the scaling behavior <strong>of</strong> the various terms in a typical force field, we see that<br />

the internal coordinates have very favorable scaling – the number <strong>of</strong> internal coordinates<br />

is 3N − 6, which is linear in N. The non-bonded terms, on the other hand, are computed<br />

from pairwise interactions, and therefore scale as N 2 . However, this scaling assumes the<br />

evaluation <strong>of</strong> all pairwise terms. If we consider the Lennard–Jones potential, its long-range<br />

behavior decays proportional to r −6 . The total number <strong>of</strong> interactions should grow at most<br />

as r 2 (i.e., proportional to the surface area <strong>of</strong> a surrounding sphere), so the net energetic<br />

contribution should decay with an r −4 dependence. This quickly becomes negligible (particularly<br />

from a gradient standpoint) so force fields usually employ a ‘cut-<strong>of</strong>f’ range for the<br />

evaluation <strong>of</strong> van der Waals energies – a typical choice is 10 ˚A. Thus, part <strong>of</strong> the calculation<br />

involves the periodic updating <strong>of</strong> a ‘pair list’, which is a list <strong>of</strong> all atoms for which the<br />

Lennard–Jones interaction needs to be calculated (Petrella et al. 2003). The update usually<br />

occurs only once every several steps, since, <strong>of</strong> course, evaluation <strong>of</strong> interatomic distances<br />

also formally scales as N 2 .<br />

In practice, even though the use <strong>of</strong> a cut-<strong>of</strong>f introduces only small disparities in the energy,<br />

the discontinuity <strong>of</strong> these disparities can cause problems for optimizers. A more stable<br />

approach is to use a ‘switching function’ which multiplies the van der Waals interaction<br />

and causes it (and possibly its first and second derivatives) to go smoothly to zero at some<br />

cut-<strong>of</strong>f distance. This function must, <strong>of</strong> course, be equal to 1 at short distances.<br />

The electrostatic interaction is more problematic. For point charges, the interaction energy<br />

decays as r −1 . As already noted, the number <strong>of</strong> interactions increases by up to r 2 ,sothe<br />

total energy in an infinite system might be expected to diverge! Such formal divergence is<br />

avoided in most real cases, however, because in systems that are electrically neutral there<br />

are as many positive interactions as negative, and thus there are large cancellation effects. If<br />

we imagine a system composed entirely <strong>of</strong> neutral groups (e.g., functional groups <strong>of</strong> a single<br />

molecule or individual molecules <strong>of</strong> a condensed phase), the long-range interaction between<br />

groups is a dipole–dipole interaction, which decays as r −3 , and the total energy contribution<br />

should decay as r −1 . Again, the actual situation is more favorable because <strong>of</strong> positive and<br />

negative cancellation effects, but the much slower decay <strong>of</strong> the electrostatic interaction makes<br />

it significantly harder to deal with. Cut-<strong>of</strong>f distances (again, ideally implemented with smooth<br />

switching functions) must be quite large to avoid structural artifacts (e.g., atoms having large<br />

partial charges <strong>of</strong> like sign anomalously segregating at interatomic distances just in excess<br />

<strong>of</strong> the cut-<strong>of</strong>f).<br />

In infinite periodic systems, an attractive alternative to the use <strong>of</strong> a cut-<strong>of</strong>f distance is the<br />

Ewald sum technique, first described for chemical systems by York, Darden and Pedersen<br />

(1993). By using a reciprocal-space technique to evaluate long-range contributions, the total<br />

electrostatic interaction can be calculated to a pre-selected level <strong>of</strong> accuracy (i.e., the Ewald<br />

sum limit is exact) with a scaling that, in the most favorable case (called ‘Particle-mesh<br />

Ewald’, or PME), is NlogN. Prior to the introduction <strong>of</strong> Ewald sums, the modeling <strong>of</strong><br />

polyelectrolytes (e.g., DNA) was rarely successful because <strong>of</strong> the instabilities introduced

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!