autodoxymethod

Input

Methods can also be documented individually:

.. autodoxymethod:: OpenMM::AmoebaAngleForce::addAngle

Output

int addAngle(int particle1, int particle2, int particle3, double length, double quadraticK)

Add an angle term to the force field.

Parameters:
  • particle1 – the index of the first particle connected by the angle
  • particle2 – the index of the second particle connected by the angle
  • particle3 – the index of the third particle connected by the angle
  • length – the equilibrium angle, measured in degrees
  • quadraticK – the quadratic force constant for the angle, measured in kJ/mol/radian^2
Returns:the index of the angle that was added