Tairan Wang
The forces calculated by the DFT++ program are in the relative coordinates.
Let ,
and
be the basis vectors of
the crystal. The coordinates of the basis (the ions) are given in this
basis
.
So that the position of ion i is
or
The jth component of the force on the ith ion is given by the
Feynman-Hellman formula:
What the program calculates, however, is
Thus, to get the real force from what the program outputs,
Now, to move the ion under the influence of this force, we would like
to project it to the relative coordinate system:
That is to say,