next up previous contents index
Next: Interface select Up: Module atoms_module Previous: Interface read_xyz   Contents   Index

Interface set_lattice


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call set_lattice(this,new_lattice[,remap,reconnect])\end{verbatim}
\end{boxedminipage}

Change the lattice vectors, keeping the inverse lattice vectors up to date. Optionally map the existing atoms into the new cell and recalculate connectivity.

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

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

remap, reconnect -- logical, optional, intent(in)

select interface

gabor 2009-06-30