next up previous contents index
Next: Function max_cutoff Up: Module atoms_module Previous: Function is_nearest_neighbour   Contents   Index

Function test_break_bond


\begin{boxedminipage}{\textwidth}
\begin{verbatim}t = test_break_bond(this,c...
...iform_cutoff,Z, &
pos,lattice,i,j, &
shift)\end{verbatim}
\end{boxedminipage}

Test if atom $i$ is no longer neighbour of atom $j$ with shift $s$, and update this%connect as necessary. Called by calc_connect. The shift vector is added to the position of the $j$ atom to get the correct image position.

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

cutoff_break -- real(dp), intent(in)

use_uniform_cutoff -- logical, intent(in)

Z -- integer, intent(in), dimension(:)

pos -- real(dp), intent(in), dimension(:,:)

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

i, j -- integer, intent(in)

shift -- integer, intent(in), dimension(3)

Return value -- logical

max_cutoff function

gabor 2009-06-30