git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@16053 f3b2605a-c512-4ea7-a41b...
[lammps.git] / doc / src / angle_cosine.txt
blob4fb2ccaf7cf5e4fcea86ed4a3d5d11a4ca438ad9
1 "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
3 :link(lws,http://lammps.sandia.gov)
4 :link(ld,Manual.html)
5 :link(lc,Section_commands.html#comm)
7 :line
9 angle_style cosine command :h3
10 angle_style cosine/omp command :h3
12 [Syntax:]
14 angle_style cosine :pre
16 [Examples:]
18 angle_style cosine
19 angle_coeff * 75.0 :pre
21 [Description:]
23 The {cosine} angle style uses the potential
25 :c,image(Eqs/angle_cosine.jpg)
27 where K is defined for each angle type.
29 The following coefficients must be defined for each angle type via the
30 "angle_coeff"_angle_coeff.html command as in the example above, or in
31 the data file or restart files read by the "read_data"_read_data.html
32 or "read_restart"_read_restart.html commands:
34 K (energy) :ul
36 :line
38 Styles with a {gpu}, {intel}, {kk}, {omp}, or {opt} suffix are
39 functionally the same as the corresponding style without the suffix.
40 They have been optimized to run faster, depending on your available
41 hardware, as discussed in "Section 5"_Section_accelerate.html
42 of the manual.  The accelerated styles take the same arguments and
43 should produce the same results, except for round-off and precision
44 issues.
46 These accelerated styles are part of the GPU, USER-INTEL, KOKKOS,
47 USER-OMP and OPT packages, respectively.  They are only enabled if
48 LAMMPS was built with those packages.  See the "Making
49 LAMMPS"_Section_start.html#start_3 section for more info.
51 You can specify the accelerated styles explicitly in your input script
52 by including their suffix, or you can use the "-suffix command-line
53 switch"_Section_start.html#start_7 when you invoke LAMMPS, or you can
54 use the "suffix"_suffix.html command in your input script.
56 See "Section 5"_Section_accelerate.html of the manual for
57 more instructions on how to use the accelerated styles effectively.
59 :line
61 [Restrictions:]
63 This angle style can only be used if LAMMPS was built with the
64 MOLECULE package.  See the "Making
65 LAMMPS"_Section_start.html#start_3 section for more info on packages.
67 [Related commands:]
69 "angle_coeff"_angle_coeff.html
71 [Default:] none