next up previous contents index
Next: Function realpos Up: Module atoms_module Previous: Function atoms_neighbour   Contents   Index

Function diff


\begin{boxedminipage}{\textwidth}
\begin{verbatim}d = diff(this,i,j,shift)\end{verbatim}
\end{boxedminipage}

Difference vector between atoms $i$ and $j$ if they are separated by a shift of shift

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

i, j -- integer, intent(in)

shift -- integer, dimension(3)

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

realpos function

gabor 2009-06-30