next up previous contents index
Next: Subroutine connection_fill Up: Module atoms_module Previous: Subroutine atoms_copy_without_connect   Contents   Index

Subroutine calc_dists


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call calc_dists(this[,parallel])\end{verbatim}
\end{boxedminipage}

The subroutine calc_dists updates the stored distance tables using the stored connectivity and shifts. This should be called every time any atoms are moved (e.g. it is called by advance_verlet).

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

parallel -- logical, optional, intent(in)

connection_fill subroutine

gabor 2009-06-30