BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
BALL::MMFF94StretchBend Class Reference

#include <BALL/MOLMEC/MMFF94/MMFF94StretchBend.h>

Inheritance diagram for BALL::MMFF94StretchBend:
BALL::ForceFieldComponent BALL::ScoringComponent

Classes

struct  Bend
 see MMFFANG.PAR More...
 
struct  Stretch
 
struct  StretchBend
 

Public Member Functions

 MMFF94StretchBend ()
 
 MMFF94StretchBend (ForceField &force_field)
 
 MMFF94StretchBend (const MMFF94StretchBend &to_copy)
 
virtual ~MMFF94StretchBend ()
 
virtual bool setup () throw (Exception::TooManyErrors)
 
virtual double updateEnergy ()
 Calculates and returns the component's energy. More...
 
virtual double updateBendEnergy ()
 
virtual double updateStretchEnergy ()
 
virtual double updateStretchBendEnergy ()
 
double getStretchEnergy () const
 
double getBendEnergy () const
 
double getStretchBendEnergy () const
 
virtual void updateForces ()
 Calculates and returns the component's forces. More...
 
virtual void updateBendForces ()
 
virtual void updateStretchForces ()
 
virtual void updateStretchBendForces ()
 
const vector< Bend > & getBends () const
 
const vector< Stretch > & getStretches () const
 
const vector< StretchBend > & getStretchBends () const
 
Index calculateSBTIJK (Position angle_type, bool bond_type1, bool bond_type2)
 
Position getBendType (const Bond &bond1, const Bond &bond2, Atom &atom1, Atom &atom2, Atom &atom3) const
 
double calculateBendEmpiricalReferenceAngle (Atom &atom1, Atom &atom2, Atom &atom3) const
 Bend emperical reference angle. More...
 
double calculateBendEmpiricalForceConstant (Atom &atom1, Atom &atom2, Atom &atom3, double angle_0) const
 Bend emperical force constant. More...
 
double calculateStretchR0 (const Bond &bond)
 Calculate the radius value per Schomaker-Stevenson Rule. More...
 
double calculateStretchConstant (const Bond &bond, double r0)
 
- Public Member Functions inherited from BALL::ForceFieldComponent
 ForceFieldComponent ()
 
 ForceFieldComponent (ForceField &force_field)
 
 ForceFieldComponent (const ForceFieldComponent &force_field_component)
 
virtual ~ForceFieldComponent ()
 
ForceFieldgetForceField () const
 
void setForceField (ForceField &force_field)
 
void setName (const String &name)
 
String getName () const
 
bool isEnabled () const
 
void setEnabled (bool state)
 
virtual double getEnergy () const
 
virtual void update () throw (Exception::TooManyErrors)
 
double updateScore ()
 
- Public Member Functions inherited from BALL::ScoringComponent
 ScoringComponent ()
 
 ScoringComponent (const ScoringComponent &sc)
 
 ScoringComponent (ScoringFunction &sf)
 
void selectBaseFunction (String function)
 
virtual ~ScoringComponent ()
 
virtual void clear ()
 
virtual void setupLigand ()
 
ScoringFunctiongetScoringFunction () const
 
void setScoringFunction (ScoringFunction &sf)
 
String getName () const
 
void setName (const String &name)
 
const StringgetTypeName ()
 
double getRawScore () const
 
double getScaledScore () const
 
virtual void update (const vector< std::pair< Atom *, Atom * > > &pair_vector)
 
virtual void setLigandIntraMolecular (bool b)
 
bool isLigandIntraMolecular ()
 
bool isGridable ()
 
bool isAtomPairwise ()
 
void setCoefficient (const double &coeff)
 
const doublegetCoefficient ()
 
void setNormalizationParameters (double stddev, double mean)
 
void getNormalizationParameters (double &stddev, double &mean)
 
bool isEnabled ()
 
void enable ()
 
void disable ()
 

Additional Inherited Members

- Protected Member Functions inherited from BALL::ScoringComponent
double scaleScore (double score) const
 
- Protected Attributes inherited from BALL::ForceFieldComponent
ForceFieldforce_field_
 
double energy_
 
- Protected Attributes inherited from BALL::ScoringComponent
bool ligand_intra_molecular_
 
bool gridable_
 
bool atom_pairwise_
 
ScoringFunctionscoring_function_
 
ScoringBaseFunctionbase_function_
 
double score_
 
double coefficient_
 
double stddev_
 
double mean_
 
bool enabled_
 
String type_name_
 

Detailed Description

MMFF94 bond stretch component

Definition at line 25 of file MMFF94StretchBend.h.

Constructor & Destructor Documentation

BALL::MMFF94StretchBend::MMFF94StretchBend ( )

Default constructor.

BALL::MMFF94StretchBend::MMFF94StretchBend ( ForceField force_field)

Constructor.

BALL::MMFF94StretchBend::MMFF94StretchBend ( const MMFF94StretchBend to_copy)

Copy constructor

virtual BALL::MMFF94StretchBend::~MMFF94StretchBend ( )
virtual

Destructor.

Member Function Documentation

double BALL::MMFF94StretchBend::calculateBendEmpiricalForceConstant ( Atom atom1,
Atom atom2,
Atom atom3,
double  angle_0 
) const

Bend emperical force constant.

double BALL::MMFF94StretchBend::calculateBendEmpiricalReferenceAngle ( Atom atom1,
Atom atom2,
Atom atom3 
) const

Bend emperical reference angle.

Index BALL::MMFF94StretchBend::calculateSBTIJK ( Position  angle_type,
bool  bond_type1,
bool  bond_type2 
)
double BALL::MMFF94StretchBend::calculateStretchConstant ( const Bond bond,
double  r0 
)
double BALL::MMFF94StretchBend::calculateStretchR0 ( const Bond bond)

Calculate the radius value per Schomaker-Stevenson Rule.

double BALL::MMFF94StretchBend::getBendEnergy ( ) const
const vector<Bend>& BALL::MMFF94StretchBend::getBends ( ) const
inline

Definition at line 138 of file MMFF94StretchBend.h.

Position BALL::MMFF94StretchBend::getBendType ( const Bond bond1,
const Bond bond2,
Atom atom1,
Atom atom2,
Atom atom3 
) const
double BALL::MMFF94StretchBend::getStretchBendEnergy ( ) const
const vector<StretchBend>& BALL::MMFF94StretchBend::getStretchBends ( ) const
inline

Definition at line 144 of file MMFF94StretchBend.h.

double BALL::MMFF94StretchBend::getStretchEnergy ( ) const
const vector<Stretch>& BALL::MMFF94StretchBend::getStretches ( ) const
inline

Definition at line 141 of file MMFF94StretchBend.h.

virtual bool BALL::MMFF94StretchBend::setup ( )
throw (Exception::TooManyErrors
)
virtual

Setup method.

Reimplemented from BALL::ForceFieldComponent.

virtual double BALL::MMFF94StretchBend::updateBendEnergy ( )
virtual
virtual void BALL::MMFF94StretchBend::updateBendForces ( )
virtual
virtual double BALL::MMFF94StretchBend::updateEnergy ( )
virtual

Calculates and returns the component's energy.

Reimplemented from BALL::ForceFieldComponent.

virtual void BALL::MMFF94StretchBend::updateForces ( )
virtual

Calculates and returns the component's forces.

Reimplemented from BALL::ForceFieldComponent.

virtual double BALL::MMFF94StretchBend::updateStretchBendEnergy ( )
virtual
virtual void BALL::MMFF94StretchBend::updateStretchBendForces ( )
virtual
virtual double BALL::MMFF94StretchBend::updateStretchEnergy ( )
virtual
virtual void BALL::MMFF94StretchBend::updateStretchForces ( )
virtual