Files
lammps/doc/src/angle_zero.rst
2019-11-15 11:13:07 -05:00

57 lines
1.3 KiB
ReStructuredText

.. index:: angle_style zero
angle_style zero command
========================
Syntax
""""""
.. code-block:: LAMMPS
angle_style zero *nocoeff*
Examples
""""""""
.. code-block:: LAMMPS
angle_style zero
angle_style zero nocoeff
angle_coeff *
angle_coeff * 120.0
Description
"""""""""""
Using an angle style of zero means angle forces and energies are not
computed, but the geometry of angle triplets is still accessible to
other commands.
As an example, the :doc:`compute angle/local <compute_angle_local>`
command can be used to compute the theta values for the list of
triplets of angle atoms listed in the data file read by the
:doc:`read_data <read_data>` command. If no angle style is defined,
this command cannot be used.
The optional *nocoeff* flag allows to read data files with AngleCoeff
section for any angle style. Similarly, any :doc:`angle_coeff <angle_coeff>` commands
will only be checked for the angle type number and the rest ignored.
Note that the :doc:`angle_coeff <angle_coeff>` command must be used for
all angle types. If specified, there can be only one value, which is
going to be used to assign an equilibrium angle, e.g. for use with
:doc:`fix shake <fix_shake>`.
Restrictions
""""""""""""
none
Related commands
""""""""""""""""
:doc:`angle_style none <angle_none>`
**Default:** none