Permalink
Browse files

[ug] Fix invalid syntax [ci skip]

  • Loading branch information...
hmenke committed Jan 12, 2018
1 parent f297b39 commit 28210e448e943f9ca37f7b21f4c774a5f2266ba0
Showing with 6 additions and 6 deletions.
  1. +6 −6 doc/sphinx/inter.rst
View
@@ -893,30 +893,30 @@ A tabulated bond can be instantiated via
:class:`espressomd.interactions.Tabulated`::
from espressomd.interactions import Tabulated
tab = Tabulated(type = <str>, min = <min>, max = <max>,
energy = <energy>, force = <force> )
tab = Tabulated(type = <str>, min = <min>, max = <max>,
energy = <energy>, force = <force>)
This creates a bond type identifier with a two-body bond length,
three-body angle or four-body dihedral
tabulated potential. For details of the interpolation, see :ref:`Tabulated interaction`.
The bonded interaction can be based on a distance, a bond angle or a
dihedral angle. This is determined by the ``type`` argument, which can
be one of ``distance``, ``angle`` or ``dihedral``.
be one of the strings ``distance``, ``angle`` or ``dihedral``.
Calculation of the force and energy
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The potential is calculated as follows:
- ``type=distance``: is a two body interaction
- ``type="distance"``: is a two body interaction
depending on the distance of two particles. The force acts in the
direction of the connecting vector between the particles. The bond
breaks above the tabulated range, but for distances smaller than the
tabulated range, a linear extrapolation based on the first two
tabulated force values is used.
- ``type=angle``: is a three-body angle
- ``type="angle"``: is a three-body angle
interaction similar to the bond angle potential.
It is assumed that the potential is tabulated
for all angles between 0 and :math:`\pi`, where 0 corresponds to a
@@ -928,7 +928,7 @@ The potential is calculated as follows:
defined by the three particles. The force on the center particle
:math:`p_2` balances the other two forces.
- ``type=dihedral``: tabulates a torsional
- ``type="dihedral"``: tabulates a torsional
dihedral angle potential. It is assumed
that the potential is tabulated for all angles between 0 and
:math:`2\pi`. *This potential is not tested yet! Use on own risk, and

0 comments on commit 28210e4

Please sign in to comment.