Package src :: Package forces :: Module ElectrostaticForce :: Class ElectrostaticForce
[hide private]
[frames] | no frames]

Class ElectrostaticForce

source code

Implement a harmonic dihedral constraining potential: U(x) = k*(phi - phi0)^2

Instance Methods [hide private]
 
__init__(self, phys, forces)
Initialize an object of type HDForce
source code
 
eval(self)
Modify energy and force vector to include this force term.
source code
Method Details [hide private]

__init__(self, phys, forces)
(Constructor)

source code 

Initialize an object of type HDForce

Parameters:
  • phys (Physical) - The physical system.
  • forces (Forces) - MDL Forces object