next up previous contents index
Next: Function moment_of_inertia_tensor Up: Module dynamicalsystem_module Previous: Function atom_type   Contents   Index

Function moment_of_inertia


\begin{boxedminipage}{\textwidth}
\begin{verbatim}MoI = moment_of_inertia(this,axis[,origin])\end{verbatim}
\end{boxedminipage}

Return the moment of inertia of all the atoms in this DynamicalSystem about a particular axis placed at (optional) origin $I = \sum_{i} m_i \vert\mathbf{r_i}-\mathbf{o}\vert^2 $.

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

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

origin -- real(dp), intent(in), optional, dimension(3)

Return value -- real(dp)

moment_of_inertia_tensor function

gabor 2009-06-30