1.. index:: angle_style fourier 2.. index:: angle_style fourier/omp 3 4angle_style fourier command 5=========================== 6 7Accelerator Variants: *fourier/omp* 8 9Syntax 10"""""" 11 12.. code-block:: LAMMPS 13 14 angle_style fourier 15 16Examples 17"""""""" 18 19.. code-block:: LAMMPS 20 21 angle_style fourier 22 angle_coeff 75.0 1.0 1.0 1.0 23 24Description 25""""""""""" 26 27The *fourier* angle style uses the potential 28 29.. math:: 30 31 E = K [C_0 + C_1 \cos ( \theta) + C_2 \cos( 2 \theta) ] 32 33The following coefficients must be defined for each angle type via the 34:doc:`angle_coeff <angle_coeff>` command as in the example above, or in 35the data file or restart files read by the :doc:`read_data <read_data>` 36or :doc:`read_restart <read_restart>` commands: 37 38* :math:`K` (energy) 39* :math:`C_0` (real) 40* :math:`C_1` (real) 41* :math:`C_2` (real) 42 43---------- 44 45.. include:: accel_styles.rst 46 47---------- 48 49Restrictions 50"""""""""""" 51 52This angle style can only be used if LAMMPS was built with the 53EXTRA-MOLECULE package. See the :doc:`Build package <Build_package>` doc 54page for more info. 55 56Related commands 57"""""""""""""""" 58 59:doc:`angle_coeff <angle_coeff>` 60 61Default 62""""""" 63 64none 65