next up previous contents index
Next: Subroutine divide_cell Up: Module atoms_module Previous: Subroutine calc_connect   Contents   Index

Subroutine partition_atoms


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call partition_atoms(this,at[,dont_wipe])\end{verbatim}
\end{boxedminipage}

Spatially partition the atoms into cells. The number of cells in each dimension must already be set (cellsNa,b,c). Pre-wiping of the cells can be skipped (e.g. if they are already empty).

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

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

dont_wipe -- logical, optional, intent(in)

divide_cell subroutine

gabor 2009-06-30