Dihedral style harmonic

Dear sir,

The harmonic dihedral style uses the potential : E = [K(1+dcos(n*phi)]
K = energy
d = +1 or -1
n = (integer >=0)

dihedral_style harmonic
dihedral_coeff 1 80.0 1 2

My doubt is how to define angle value?

this is correct or wrong ?
dihedral_coeff 1 1 0.5 180.0

Wrong!

Reading the manual is the fastest way to learn the syntax.

Thanks, Sir

Thanks Sir