bondAngle
index

Helper module to calculate bond angle values and gradients
 
The bond angle is defined by atoms a0, a1 and a2:
 
    
      a0--a1
            \
             a2
 
A single bond angle can be represented by the class BondAngle
 
Constructor:
                        
  BondAngle(a0, a1, a2)
 
    The arguments specify the three atoms in the bond angle.  Each   
    argument is an atom.Atom object, an atomSel.AtomSel object or 
    simply a string with an X-PLOR language atom selection. 
 
  
Methods:
 
   value() 
 
      Return the value of the bond angle (in radians).
 
   cos() 
 
      Return the cosine of the bond angle (in radians).
 
   derivs()
 
      Return the value of the gradient of the bond angle Theta for the three
      atoms.  The return value is a tuple:
 
      (dThetadAtom0, dThetadAtom1, dThetadAtom2)
 
      where dThetadAtomx (x = 0-2) is a vec3.Vec3 object with the x,y,z
      partial derivatives of the bond angle at the coordinates of atom
      ax.
 
   atom0(), atom1(), atom2()
 
      Return the requested atom (an atom.Atom object).
 
 
 
 
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

 
Classes
       
builtins.object
BondAngle

 
class BondAngle(builtins.object)
    BondAngle(*args, **kwargs)
 

 
  Methods defined here:
__init__(self, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__ = _swig_repr(self)
atom0(self, *args, **kwargs) -> 'Atom const &'
atom1(self, *args, **kwargs) -> 'Atom const &'
atom2(self, *args, **kwargs) -> 'Atom const &'
cos(self, *args, **kwargs) -> 'float_type'
derivs(self, *args, **kwargs) -> 'void'
pyXplorHelp(self, *args, **kwargs) -> 'String'
value(self, *args, **kwargs) -> 'float_type'

Static methods defined here:
__swig_destroy__ = delete_BondAngle(...)

Data descriptors defined here:
__dict__

 
dictionary for instance variables (if defined)
__weakref__

 
list of weak references to the object (if defined)
thisown

 
The membership flag

 
Functions
       
pyXplorHelp(*args) -> 'String'