dihedral style harmonic: manual formula question

Dear all,

It seems like something is not correct on the lammps web documentation page, or maybe I am mistaken, but instead of a harmonic dihedral, there is a cosine equation for the dihedral?


With best wishes


I agree that the name is a little misleading, but the documentation is correct. It does what it says it does.