next up previous contents index
Next: Function gaussian_velocity_component Up: Module dynamicalsystem_module Previous: Function torque   Contents   Index

Function temperature


\begin{boxedminipage}{\textwidth}
\begin{verbatim}t = temperature(this[,region,include_all,instantaneous])\end{verbatim}
\end{boxedminipage}

Return the temperature, assuming each degree of freedom contributes $\frac{1}{2}kT$. By default only moving and thermostatted atoms are included -- this can be overriden by setting include_all to true.

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

region -- integer, intent(in), optional

include_all -- logical, intent(in), optional

instantaneous -- logical, intent(in), optional

Return value -- real(dp)

gaussian_velocity_component function

gabor 2009-06-30