LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

dihedral_style harmonic command

Syntax:

dihedral_style harmonic 

Examples:

dihedral_style harmonic
dihedral_coeff 1 80.0 1 2 

Description:

The harmonic dihedral style uses the potential

The following coefficients must be defined for each dihedral type via the dihedral_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:

Restrictions:

This dihedral style can only be used if LAMMPS was built with the "molecular" package (which it is by default). See the Making LAMMPS section for more info on packages.

Related commands:

dihedral_coeff

Default: none