next up previous contents index
Next: Interface angular_momentum Up: Module dynamicalsystem_module Previous: Interface finalise   Contents   Index

Interface kinetic_energy


\begin{boxedminipage}{\textwidth}
\begin{verbatim}ke = kinetic_energy(this)
ke = kinetic_energy(mass,velo)\end{verbatim}
\end{boxedminipage}

Return the total kinetic energy $E_k = \sum_{i} \frac{1}{2} m v^2$

Return the total kinetic energy $E_k = \sum_{i} \frac{1}{2} m v^2$

Return the total kinetic energy given atomic numbers and velocities

this -- intent(in),

type(DynamicalSystem) or type(atoms)

mass -- real(dp), intent(in), dimension(:)

velo -- real(dp), intent(in), dimension(:,:)

Return value -- real(dp)
angular_momentum interface

gabor 2009-06-30