next up previous contents index
Next: Function direction_cosines Up: Module atoms_module Previous: Function cosine   Contents   Index

Function cosine_neighbour


\begin{boxedminipage}{\textwidth}
\begin{verbatim}c = cosine_neighbour(this,i,n,m)\end{verbatim}
\end{boxedminipage}

Cosine of the angle n-i-m where $n,m$ are the $n$th, $m$th neighbours of i

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

i, n, m -- integer, intent(in)

Return value -- real(dp)

direction_cosines function

gabor 2009-06-30