The appearance of the constraint terms complicates the velocity Verlet method
slightly for CPMD. The Lagrange parameters
have to be calculated
to be consistent with the discretization method employed.
How to include constraints in the velocity Verlet algorithm has been explained by
Andersen [25]. In the following we will assume that the overlap
is not position dependent, as it is the case for plane wave basis sets.
The more general case will be explained when needed in a later section. These basic equations and generalizations thereof can be found in a series of
papers by Tuckerman et al. [33].
For the case of overlap matrices that are not position dependent the constraint term only appears in the equations for the orbitals.
![]() |
(50) |
| (51) |
CV(:) := CV(:) + dt/(2*m)*CF(:)
CRP(:) := CR(:) + dt*CV(:)
Calculte Lagrange multiplier X
CR(:) := CRP(:) + X*CR(:)
Calculate forces CF(:) = HKS*CR(:)
CV(:) := CV(:) + dt/(2*m)*CF(:)
Calculte Lagrange multiplier Y
CV(:) := CV(:) + Y*CR(:)