next up previous contents index
Next: Subroutine diamond Up: Module structures_module Previous: Subroutine Graphene_Sheet   Contents   Index

Subroutine supercell


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call supercell(aa,a,n1,n2, &
n3)\end{verbatim}
\end{boxedminipage}

Replicates the unit cell n1*n2*n3 times along the lattice vectors.

aa -- type(Atoms), intent(out)

Output (big) cell

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

Input cell

n1, n2, n3 -- integer, intent(in)

diamond subroutine

gabor 2009-06-30