next up previous contents index
Next: Function test_break_bond Up: Module atoms_module Previous: Function is_in_subregion   Contents   Index

Function is_nearest_neighbour


\begin{boxedminipage}{\textwidth}
\begin{verbatim}i = is_nearest_neighbour(this,i,n[,alt_connect])\end{verbatim}
\end{boxedminipage}

Test if an atom's $n$th neighbour is one if its nearest neighbours

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

i, n -- integer, intent(in)

alt_connect -- type(Connection), intent(in), optional, target

Return value -- logical

test_break_bond function

gabor 2009-06-30