next up previous contents index
Next: Interface has_property Up: Module atoms_module Previous: Interface remove_atoms   Contents   Index

Interface add_property


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call add_property(this,name,value[,n_cols, &
lookup])\end{verbatim}
\end{boxedminipage}

Add an extra property to this atoms object, as extra columns of integers or real numbers in the data table. For example, this interface is used by the DynamicalSystems module to create the velo, acc, etc. properties Optionally, the type and indices of the new property are returned in the array lookup.

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

name -- character(len=*), intent(in)

value -- intent(in), scalar or dimension(this%N),

integer or real(dp) or character(TABLE_STRING_LENGTH) or logical

n_cols -- integer, intent(in), optional

lookup -- integer, optional, intent(out), dimension(3)

has_property interface

gabor 2009-06-30