1 "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
3 :link(lws,http://lammps.sandia.gov)
5 :link(lc,Section_commands.html#comm)
9 angle_style cosine command :h3
10 angle_style cosine/omp command :h3
14 angle_style cosine :pre
19 angle_coeff * 75.0 :pre
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:
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
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.
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.
69 "angle_coeff"_angle_coeff.html