Setting a group of atoms

Hi LAMMPS users,
Is there any way to create a group by reading the predefined atom ID's from a file?

Regards,
Bartlomiej Czerwinski

Hi LAMMPS users,
Is there any way to create a group by reading the predefined atom ID's
from a file?

you should be able to use an atomfile variable with the variable style
of a group definition. the documentation doesn't say so explicitly,
but in my recollection atomfile style variable should work wherever
atom style variables work. if not, this would likely be a bug.

axel.