lammps/doc/angle_style.txt

80 lines
2.5 KiB
Plaintext

"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Section_commands.html#comm)
:line
angle_style command :h3
[Syntax:]
angle_style style :pre
style = {none} or {hybrid} or {charmm} or {class2} or {cosine} or \
{cosine/squared} or {harmonic} :ul
[Examples:]
angle_style harmonic
angle_style charmm
angle_style hybrid harmonic cosine :pre
[Description:]
Set the formula(s) LAMMPS uses to compute angle interactions between
triplets of atoms, which remain in force for the duration of the
simulation. The list of angle triplets is read in by a
"read_data"_read_data.html or "read_restart"_read_restart.html command
from a data or restart file.
Hybrid models where angles are computed using different angle
potentials can be setup using the {hybrid} angle style.
The coefficients associated with a angle style can be specified in a
data or restart file or via the "angle_coeff"_angle_coeff.html command.
In the formulas listed for each angle style, {theta} is the angle
between the 3 atoms in the angle.
Note that when both an angle and pair style is defined, the
"special_bond"_special_bond.html command often needs to be used to
turn off (or weight) the pairwise interactions that would otherwise
exist between the 3 bonded atoms.
:line
Here is an alphabetic list of angle styles defined in LAMMPS. Click on
the style to display the formula it computes and coefficients
specified by the associated "angle_coeff"_angle_coeff.html command:
"angle_style none"_angle_style_none.html - turn off angle interactions
"angle_style hybrid"_angle_style_hybrid.html - define multiple styles of angle interactions :ul
"angle_style charmm"_angle_style_charmm.html - CHARMM angle
"angle_style class2"_angle_style_class2.html - COMPASS (class 2) angle
"angle_style cosine"_angle_style_cosine.html - cosine angle potential
"angle_style cosine/squared"_angle_style_cosine_squared.html - cosine squared angle potential
"angle_style harmonic"_angle_style_harmonic.html - harmonic angle :ul
:line
[Restrictions:]
Angle styles can only be set for atom_styles that allow angles to be
defined.
Angle styles are part of the "molecular" package or other packages as
noted in their documentation. They are only enabled if LAMMPS was
built with that package. See the "Making
LAMMPS"_Section_start.html#2_2 section for more info.
[Related commands:]
"angle_coeff"_angle_coeff.html
[Default:]
angle_style none :pre