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.

78 3 SIMULATIONS OF MOLECULAR ENSEMBLES<br />

(not third) about t + t/2 are employed, in particular<br />

and<br />

<br />

q<br />

<br />

q<br />

t + 1<br />

2<br />

t + 1<br />

2<br />

1<br />

t +<br />

2 t<br />

<br />

= q t + 1<br />

2 t<br />

<br />

+ v t + 1<br />

2 t<br />

<br />

1 1<br />

t +<br />

2 2! a<br />

<br />

t + 1<br />

2 t<br />

<br />

1<br />

2 t<br />

2 (3.21)<br />

1<br />

t −<br />

2 t<br />

<br />

= q t + 1<br />

2 t<br />

<br />

− v t + 1<br />

2 t<br />

<br />

1 1<br />

t +<br />

2 2! a<br />

<br />

t + 1<br />

2 t<br />

<br />

1<br />

2 t<br />

2 When Eq. (3.22) is subtracted from Eq. (3.21) one obtains<br />

Similar expansions for v give<br />

(3.22)<br />

<br />

q(t + t) = q(t) + v t + 1<br />

2 t<br />

<br />

t (3.23)<br />

<br />

v t + 1<br />

2 t<br />

<br />

= v t − 1<br />

2 t<br />

<br />

+ a(t)t (3.24)<br />

Note that in the leapfrog method, position depends on the velocities as computed one-half<br />

time step out <strong>of</strong> phase, thus, scaling <strong>of</strong> the velocities can be accomplished to control temperature.<br />

Note also that no force-field calculations actually take place for the fractional time<br />

steps. Forces (and thus accelerations) in Eq. (3.24) are computed at integral time steps, halftime-step-forward<br />

velocities are computed therefrom, and these are then used in Eq. (3.23)<br />

to update the particle positions. The drawbacks <strong>of</strong> the leapfrog algorithm include ignoring<br />

third-order terms in the Taylor expansions and the half-time-step displacements <strong>of</strong> the position<br />

and velocity vectors – both <strong>of</strong> these features can contribute to decreased stability in<br />

numerical integration <strong>of</strong> the trajectory.<br />

Considerably more stable numerical integration schemes are known for arbitrary trajectories,<br />

e.g., Runge–Kutta (Press et al. 1986) and Gear predictor-corrector (Gear 1971) methods.<br />

In Runge–Kutta methods, the gradient <strong>of</strong> a function is evaluated at a number <strong>of</strong> different<br />

intermediate points, determined iteratively from the gradient at the current point, prior to<br />

taking a step to a new trajectory point on the path; the ‘order’ <strong>of</strong> the method refers to<br />

the number <strong>of</strong> such intermediate evaluations. In Gear predictor-corrector algorithms, higher<br />

order terms in the Taylor expansion are used to predict steps along the trajectory, and then<br />

the actual particle accelerations computed for those points are compared to those that were<br />

predicted by the Taylor expansion. The differences between the actual and predicted values<br />

are used to correct the position <strong>of</strong> the point on the trajectory. While Runge–Kutta and Gear<br />

predictor-corrector algorithms enjoy very high stability, they find only limited use in MD<br />

simulations because <strong>of</strong> the high computational cost associated with computing multiple first<br />

derivatives, or higher-order derivatives, for every step along the trajectory.<br />

A different method <strong>of</strong> increasing the time step without decreasing the numerical stability is<br />

to remove from the system those degrees <strong>of</strong> freedom having the highest frequency (assuming,

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

Saved successfully!

Ooh no, something went wrong!