Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

CharmmImproperTorsion Class Reference
[CHARMM Force Field.]

Charmm improper torsion component. More...

#include <charmmImproperTorsion.h>

Inheritance diagram for CharmmImproperTorsion:

ForceFieldComponent List of all members.

Public Member Functions

Constructors and Destructors
 CharmmImproperTorsion ()
 Default constructor.
 CharmmImproperTorsion (ForceField &force_field)
 Constructor.
 CharmmImproperTorsion (const CharmmImproperTorsion &charmm_stretch)
 Copy constructor.
virtual ~CharmmImproperTorsion ()
 Destructor.
Setup Methods
virtual bool setup () throw (Exception::TooManyErrors)
 Setup method.
Accessors
virtual double updateEnergy ()
 Calculates and returns the component's energy.
virtual void updateForces ()
 Calculates and returns the component's forces.

Detailed Description

Charmm improper torsion component.

The CHARMM force field employs a harmonic out-of-plane potential for improper torsions. An imporper torsion is defined for four atoms A , B , C , and D where A is the central atom B , C , and D are bound to.

The out-of-plane-angle phi is defined as the angle between the planes defined by ABC and BCD . The improper torsion energy $E_{imp}$ is then defined as $ E_{imp} = k ( - )^2 $ where $k$ and $$ are constants read from the parameter section and depend on the atom types of A , B , C , and D .


Constructor & Destructor Documentation

CharmmImproperTorsion::CharmmImproperTorsion  ) 
 

Default constructor.

CharmmImproperTorsion::CharmmImproperTorsion ForceField force_field  ) 
 

Constructor.

virtual CharmmImproperTorsion::~CharmmImproperTorsion  )  [virtual]
 

Destructor.


Member Function Documentation

virtual bool CharmmImproperTorsion::setup  )  throw (Exception::TooManyErrors) [virtual]
 

Setup method.

Reimplemented from ForceFieldComponent.

virtual double CharmmImproperTorsion::updateEnergy  )  [virtual]
 

Calculates and returns the component's energy.

Reimplemented from ForceFieldComponent.

virtual void CharmmImproperTorsion::updateForces  )  [virtual]
 

Calculates and returns the component's forces.

Reimplemented from ForceFieldComponent.