[lammps-users] dump force before aveforce

Hi all,

Is there any way to dump the force on a group of atoms before the
“fix aveforce” is applied, without modifying the existing code?

Thanks.

Lingti

Fix setforce makes these forces available before it changes them.
See the doc page for setforce for details.
So I suppose fix aveforce could do the same. Or if you
put a "fix setforce NULL NULL NULL" in your script before
the fix aveforce it will do nothing except tally the original force.

Steve

I added this capability to the fix addforce and fix aveforce
commands. See the 18Mar08 patch.

Steve