[lammps-users] fix rigid/npt?

Many thanks.

There are a couple mentions of the "press" keyword in the fix rigid documentation. I assumed that these were put in there in anticipation of the fix rigid/npt being released.


Axel and Tamara:

Yes, indeed, there exists a fix rigid/npt.


Attached is the version of fix rigid/npt that works. I made some changes and added compute_scalar() to it. Sorry I cannot find time these days to re-arrange the rigid fixes in a similar way to fix nh, nve, nvt and npt. in a couple of months maybe..


Quoting Tamara Rogers <[email protected]>:

fix_rigid_npt.cpp (27.9 KB)

fix_rigid_npt.h (2.78 KB)