next up previous contents index
Next: Subroutine reinitialise_velo_normal Up: Module dynamicalsystem_module Previous: Subroutine add_heat   Contents   Index

Subroutine rescale_velo


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call rescale_velo(this,temp[,mass_weighted,zero_L])\end{verbatim}
\end{boxedminipage}

Rescale the atomic velocities to temperature temp. If the current temperature is zero, we first randomise the velocites.

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

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

mass_weighted, zero_L -- logical, intent(in), optional

reinitialise_velo_normal subroutine

gabor 2009-06-30