Multiple groups in one fix command

Is it possible to identify two or more groups using a single customized fix command or can only one group of atoms be used?


Andrew Antony

Department of Materials Science and Engineering

University of Florida

Email: [email protected]…1447…

Phone: 318-805-5146

Only one group can be used with a fix. However, you can group two or more groups into one group (by group command union style) and apply your fix to this unified group.


When you say “customized fix”, if you mean
you are writing your own, then you could define
as many groups as you want as arguments to
your fix.