[lammps-users] number of groups

Is there a reason for the small limit on the number of definable groups?
Does this have to do with scaling efficiency?


The group(s) an atom belongs to is stored in a single 32-bit int.
Since each group is represented as a single bit, there can be a
maximum of 32 groups defined.


Ahh, that makes sense. I guess I'll need to find another way to
harmonically restrain the position of my protein (possibly modifying fix
spring to work on each atom instead of the center of mass of the group).