Thank you for the insights. My approach was to use something like mol/renum where atoms within a distance are considered as part of the same molecule.
Further, if I could then group all molecules using a logical argument (molecule_size > 1), I can then nust restrict my atom swaps to this limited group while a mol/renum like fix keeps dynamically reassigning atoms to the above group.
However, Im unsure if LAMMPS allows one to group molecules by the number of member atoms in the respective mol IDs. Before I get down to actually writing down a fix, I wanted to confirm if there is a way to do all this with existing fixes and computes in LAMMPS.
So, is there a way that I can group all molecules/clusters that are larger than 1.
Thanks and Regards,
Srivastav Ranganathan
IIT Bombay
Mumbai
India