[lammps-users] Dihedral_shifted_scaled

Hi all,
I am using an old version of Lammps that has “Dihedral_shifted_scaled “, which is necessary for my coarse grained models.

Could you please give me the mathematical description of the Dihedral_shifted_scaled or refer me to any paper discussing about it. I hardly figure it our from the codes and find nothing in google.

Thanks,
Ly Le, Utah

dihedral_shifted_scaled.cpp (17 KB)

dihedral_shifted_scaled.h (1.25 KB)

Please remind me what version of LAMMPS has dihedral_shifted_scaled
and what it is called in that version?

Steve