#include <amberNonBonded.h>
Inheritance diagram for AmberNonBonded:
Public Member Functions | |
Constructors and Destructors | |
AmberNonBonded () throw () | |
Default constructor. | |
AmberNonBonded (ForceField &force_field) throw () | |
Constructor. | |
AmberNonBonded (const AmberNonBonded &amber_non_bonded) throw () | |
Copy constructor. | |
virtual | ~AmberNonBonded () throw () |
Destructor. | |
const AmberNonBonded & | operator= (const AmberNonBonded &anb) throw () |
Assignment operator. | |
virtual void | clear () throw () |
Clear method. | |
bool | operator== (const AmberNonBonded &anb) throw () |
Equality operator. | |
Setup Methods | |
virtual bool | setup () throw (Exception::TooManyErrors) |
Setup method. | |
Accessors | |
virtual double | updateEnergy () throw () |
Calculates and returns the component's energy. | |
virtual void | updateForces () throw () |
Calculates and returns the component's forces. | |
virtual void | update () throw (Exception::TooManyErrors) |
Update the pair list. | |
virtual double | getElectrostaticEnergy () const throw () |
Return the electrostatic energy. | |
virtual double | getVdwEnergy () const throw () |
Return the Van-der-Waals energy. | |
Neighbourhood and Parameter calculations | |
virtual MolmecSupport::PairListAlgorithmType | determineMethodOfAtomPairGeneration () throw () |
Computes the most efficient way to calculate the non-bonded atom pairs. | |
virtual void | buildVectorOfNonBondedAtomPairs (const std::vector< std::pair< Atom *, Atom * > > &atom_vector, const LennardJones &lennard_jones, const Potential1210 &hydrogen_bond) throw (Exception::TooManyErrors) |
Build a vector of non-bonded atom pairs with the vdw parameters. | |
Protected Attributes | |
double | electrostatic_energy_ |
double | vdw_energy_ |
|
Default constructor.
|
|
Constructor.
|
|
Destructor.
|
|
Return the electrostatic energy.
|
|
Return the Van-der-Waals energy.
|
|
Setup method.
Reimplemented from ForceFieldComponent. |
|
Update the pair list. This method is called by the force field whenever ForceField::update is called. It is used to recalculate the nonbonded pair list. Reimplemented from ForceFieldComponent. |
|
Calculates and returns the component's energy.
Reimplemented from ForceFieldComponent. |
|
Calculates and returns the component's forces.
Reimplemented from ForceFieldComponent. |