Rosetta 3.4
|
#include <VDW_Energy.hh>
Public Types | |
typedef ContextIndependentTwoBodyEnergy | parent |
Public Member Functions | |
VDW_Energy (EnergyMethodOptions const &options) | |
C-tor, requires options to tell us the atom_type_set_name for the AtomVDW data. | |
virtual EnergyMethodOP | clone () const |
clone | |
VDW_Energy (VDW_Energy const &src) | |
COPY C-TOR. | |
virtual void | setup_for_scoring (pose::Pose &pose, ScoreFunction const &) const |
virtual void | setup_for_derivatives (pose::Pose &pose, ScoreFunction const &) const |
Called immediately before atom- and DOF-derivatives are calculated allowing the derived class a chance to prepare for future calls. | |
virtual void | residue_pair_energy (conformation::Residue const &rsd1, conformation::Residue const &rsd2, pose::Pose const &pose, ScoreFunction const &, EnergyMap &emap) const |
Evaluate the interaction between a given residue pair accumulating the unweighted energies in an EnergyMap. | |
virtual void | eval_intrares_energy (conformation::Residue const &, pose::Pose const &, ScoreFunction const &, EnergyMap &) const |
Evaluate the intra-residue energy for a given residue. | |
virtual void | eval_atom_derivative (id::AtomID const &atom_id, pose::Pose const &pose, kinematics::DomainMap const &domain_map, ScoreFunction const &scorefxn, EnergyMap const &weights, Vector &F1, Vector &F2) const |
Evaluate the XYZ derivative for an atom in the pose. Called during the atomtree derivative calculation, atom_tree_minimize.cc, through the ScoreFunction::eval_atom_derivative intermediary. F1 and F2 should not zeroed, rather, this class should accumulate its contribution from this atom's XYZ derivative. | |
virtual bool | defines_intrares_energy (EnergyMap const &) const |
Two body energies are able to define intra-residue energies, and to do so only in the presence of certain non-zero weights. The ScoreFunction will hand over its weight set as it asks whether the energy method defines an intraresidue energy or not. | |
virtual Distance | atomic_interaction_cutoff () const |
VDW_Energy distance cutoff. | |
virtual void | indicate_required_context_graphs (utility::vector1< bool > &context_graphs_required) const |
VDW_Energy. |
Reimplemented from core::scoring::methods::ContextIndependentTwoBodyEnergy.
core::scoring::methods::VDW_Energy::VDW_Energy | ( | EnergyMethodOptions const & | options | ) |
core::scoring::methods::VDW_Energy::VDW_Energy | ( | VDW_Energy const & | src | ) |
COPY C-TOR.
copy c-tor
Distance core::scoring::methods::VDW_Energy::atomic_interaction_cutoff | ( | ) | const [virtual] |
VDW_Energy distance cutoff.
Implements core::scoring::methods::ShortRangeTwoBodyEnergy.
EnergyMethodOP core::scoring::methods::VDW_Energy::clone | ( | ) | const [virtual] |
virtual bool core::scoring::methods::VDW_Energy::defines_intrares_energy | ( | EnergyMap const & | weights | ) | const [inline, virtual] |
Two body energies are able to define intra-residue energies, and to do so only in the presence of certain non-zero weights. The ScoreFunction will hand over its weight set as it asks whether the energy method defines an intraresidue energy or not.
For example, the Etable method defines intra-residue energies only when one or more of the fa_intra_{atr,rep,sol} weights are non-zero.
Implements core::scoring::methods::TwoBodyEnergy.
void core::scoring::methods::VDW_Energy::eval_atom_derivative | ( | id::AtomID const & | id, |
pose::Pose const & | pose, | ||
kinematics::DomainMap const & | domain_map, | ||
ScoreFunction const & | sfxn, | ||
EnergyMap const & | emap, | ||
Vector & | F1, | ||
Vector & | F2 | ||
) | const [virtual] |
Evaluate the XYZ derivative for an atom in the pose. Called during the atomtree derivative calculation, atom_tree_minimize.cc, through the ScoreFunction::eval_atom_derivative intermediary. F1 and F2 should not zeroed, rather, this class should accumulate its contribution from this atom's XYZ derivative.
The derivative scheme is based on that of Abe, Braun, Noguti and Go (1984) "Rapid Calculation of First and Second Derivatives of Conformational Energy with Respect to Dihedral Angles for Proteins. General Recurrent Equations" Computers & Chemistry 8(4) pp. 239-247. F1 and F2 correspond roughly to Fa and Ga, respectively, of equations 7a & 7b in that paper.
default implementation does not alter either the F1 or F2 vectors.
Reimplemented from core::scoring::methods::EnergyMethod.
References core::id::AtomID::atomno(), core::scoring::etable::count_pair::CP_CROSSOVER_4, core::pose::Pose::energies(), core::pose::Pose::residue(), core::id::AtomID::rsd(), and core::scoring::vdw.
virtual void core::scoring::methods::VDW_Energy::eval_intrares_energy | ( | conformation::Residue const & | rsd, |
pose::Pose const & | pose, | ||
ScoreFunction const & | sfxn, | ||
EnergyMap & | emap | ||
) | const [inline, virtual] |
Evaluate the intra-residue energy for a given residue.
Implements core::scoring::methods::TwoBodyEnergy.
void core::scoring::methods::VDW_Energy::indicate_required_context_graphs | ( | utility::vector1< bool > & | context_graphs_required | ) | const [virtual] |
Implements core::scoring::methods::EnergyMethod.
void core::scoring::methods::VDW_Energy::residue_pair_energy | ( | conformation::Residue const & | rsd1, |
conformation::Residue const & | rsd2, | ||
pose::Pose const & | pose, | ||
ScoreFunction const & | sfxn, | ||
EnergyMap & | emap | ||
) | const [virtual] |
Evaluate the interaction between a given residue pair accumulating the unweighted energies in an EnergyMap.
Implements core::scoring::methods::TwoBodyEnergy.
References core::conformation::Residue::atom_type_index(), core::scoring::etable::count_pair::CP_CROSSOVER_4, core::conformation::Residue::is_bonded(), core::conformation::Residue::is_pseudo_bonded(), core::conformation::Residue::natoms(), core::scoring::vdw, and core::conformation::Residue::xyz().
void core::scoring::methods::VDW_Energy::setup_for_derivatives | ( | pose::Pose & | pose, |
ScoreFunction const & | sfxn | ||
) | const [virtual] |
Called immediately before atom- and DOF-derivatives are calculated allowing the derived class a chance to prepare for future calls.
default implementation noop
Reimplemented from core::scoring::methods::EnergyMethod.
References core::pose::Pose::update_residue_neighbors().
void core::scoring::methods::VDW_Energy::setup_for_scoring | ( | pose::Pose & | pose, |
ScoreFunction const & | |||
) | const [virtual] |
Reimplemented from core::scoring::methods::EnergyMethod.
References core::pose::Pose::update_residue_neighbors().