next up previous contents index
Next: Interface write_binary Up: Module atoms_module Previous: Interface distance_min_image   Contents   Index

Interface diff_min_image


\begin{boxedminipage}{\textwidth}
\begin{verbatim}d1 = diff_min_image(this,i...
...mage(this,i,w)
d4 = diff_min_image(this,v,w)\end{verbatim}
\end{boxedminipage}

This interface calculates the difference vector between the nearest periodic images of two points (or atoms).

this -- type(Atoms), intent(in)

i, j -- integer, intent(in)

shift -- integer, optional, dimension(3)

v -- real(dp), dimension(3)

w -- real(dp), dimension(3)

Return value -- real(dp), dimension(3)
write_binary interface

gabor 2009-06-30