The first method used is the leapfrog algorithm, which is a modified version of the Verlet algorithm. The Verlet algorithm uses the positions and accelerations at the time t and the positions at the time
| (8.3) |
The error in the atomic positions is of the order of
| (8.4) |
with an error of the order of
| (8.5) |
The velocities at time t can be also computed from
| (8.6) |
This is useful when the kinetic energy is needed at time t, as for example in the case where velocity rescaling must be carried out (see below). The atomic positions are then obtained from
| (8.7) |
The leapfrog algorithm is computationally less expensive than the Predictor-Corrector approach for example, and requires less storage. This could be an important advantage in the case of large scale calculations. Moreover, the conservation of energy is respected, even at large time steps. Therefore, the computation time could be greatly decreased when this algorithm is used. However, when more accurate velocities and positions are needed, another algorithm should be implemented, like the Predictor-Corrector algorithm. We will show in the following the effects of this algorithm on the results of the calculations.
No comments:
Post a Comment