[lammps-users] Is there shifted coulombic potential


I want to know whether there is a shifted coulombic potential in corresponding to that of Gromacs software( the functions are attached).

If there is not, which .cpp and .h can be suitable for modifying? Thanks.

truncated forces.pdf (157 KB)

Did you look at pair_style lj/gromacs or lj/gromacs/coul/gromacs?
If that's not what you want, then modifying one of those files
is a good starting point.