next up previous contents index
Next: Interface diff_min_image Up: Module atoms_module Previous: Interface assign_pointer   Contents   Index

Interface distance_min_image


\begin{boxedminipage}{\textwidth}
\begin{verbatim}d1 = distance_min_image(th...
...])
d4 = distance_min_image(this,v,w[,shift])\end{verbatim}
\end{boxedminipage}

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

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

i, j -- integer, intent(in)

shift -- integer, optional, intent(out), dimension(3)

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

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

Return value -- real(dp)
diff_min_image interface

gabor 2009-06-30