next up previous contents index
Next: Subroutine property_to_list Up: Module atoms_module Previous: Subroutine atoms_read_xyz   Contents   Index

Subroutine parse_atom_mask


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call parse_atom_mask(mask_in,atom_indices)\end{verbatim}
\end{boxedminipage}

Parses an atom_mask, which is string consisting of the @ symbol followed by a comma separated list of indices or ranges into a table containing all the indices it represents. E.g. @1,37-39,54,99-102 is expanded to a table with 1, 37, 38, 39, 54, 99, 100, 101, 102 as its first integer column. There must be no spaces in the mask.

mask_in -- character(*), intent(in)

atom_indices -- type(Table), intent(out)

property_to_list subroutine

gabor 2009-06-30