#include <amberNonBonded.h>
Public Member Functions |
|
Constructors and Destructors
|
|
AmberNonBonded () | |
Default constructor. |
|
AmberNonBonded (ForceField &force_field) | |
Constructor. |
|
AmberNonBonded (const AmberNonBonded &amber_non_bonded) | |
Copy constructor. |
|
virtual | ~AmberNonBonded () |
Destructor. |
|
const AmberNonBonded & | operator= (const AmberNonBonded &anb) |
Assignment. |
|
virtual void | clear () |
Clear method. |
|
bool | operator== (const AmberNonBonded &anb) |
Predicates. |
|
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. |
|
virtual void | update () throw (Exception::TooManyErrors) |
Update the pair list. |
|
virtual double | getElectrostaticEnergy () const |
Return the electrostatic
energy. |
|
virtual double | getVdwEnergy () const |
Return the Van-der-Waals
energy. |
|
Neighbourhood and Parameter calculations
|
|
virtual MolmecSupport::PairListAlgorithmType |
determineMethodOfAtomPairGeneration () |
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_ |
const AmberNonBonded& BALL::AmberNonBonded::operator= | ( | const AmberNonBonded & | anb | ) |
Assignment.
Assignment operator
bool BALL::AmberNonBonded::operator== | ( | const AmberNonBonded & | anb | ) |
Predicates.
Equality operator
virtual void BALL::AmberNonBonded::update | ( | ) | throw (Exception::TooManyErrors)
[virtual] |
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 BALL::ForceFieldComponent.