Rosetta 3.4
|
#include <OmegaTetherEnergy.hh>
Public Types | |
typedef ContextIndependentOneBodyEnergy | parent |
Public Member Functions | |
OmegaTetherEnergy () | |
ctor | |
virtual EnergyMethodOP | clone () const |
clone | |
virtual void | residue_energy (conformation::Residue const &rsd, pose::Pose const &pose, EnergyMap &emap) const |
Evaluate the one-body energies for a particular residue, in the context of a given Pose, and increment those energies in the input Emap (do not overwrite them). | |
bool | minimize_in_whole_structure_context (pose::Pose const &) const |
Should this EnergyMethod have score and derivative evaluation evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that's serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return "true" will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction's traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return "true" cannot be included in RTMin. | |
virtual bool | defines_dof_derivatives (pose::Pose const &p) const |
Use the dof_derivative interface for this energy method when calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive. | |
virtual Real | eval_residue_dof_derivative (conformation::Residue const &rsd, ResSingleMinimizationData const &min_data, id::DOF_ID const &dof_id, id::TorsionID const &torsion_id, pose::Pose const &pose, ScoreFunction const &sfxn, EnergyMap const &weights) const |
Evaluate the DOF derivative for a particular residue. The Pose merely serves as context, and the input residue is not required to be a member of the Pose. | |
virtual Real | old_eval_dof_derivative (id::DOF_ID const &, id::TorsionID const &tor_id, pose::Pose const &pose, ScoreFunction const &, EnergyMap const &weights) const |
virtual void | indicate_required_context_graphs (utility::vector1< bool > &) const |
OmegaTether Energy is context independent and thus indicates that no context graphs need to be maintained by class Energies. |
Reimplemented from core::scoring::methods::ContextIndependentOneBodyEnergy.
core::scoring::methods::OmegaTetherEnergy::OmegaTetherEnergy | ( | ) |
ctor
Referenced by clone().
EnergyMethodOP core::scoring::methods::OmegaTetherEnergy::clone | ( | ) | const [virtual] |
bool core::scoring::methods::OmegaTetherEnergy::defines_dof_derivatives | ( | pose::Pose const & | p | ) | const [virtual] |
Use the dof_derivative interface for this energy method when calculating derivatives? It is possible to define both dof_derivatives and atom-derivatives; they are not mutually exclusive.
Reimplemented from core::scoring::methods::OneBodyEnergy.
Real core::scoring::methods::OmegaTetherEnergy::eval_residue_dof_derivative | ( | conformation::Residue const & | rsd, |
ResSingleMinimizationData const & | min_data, | ||
id::DOF_ID const & | dof_id, | ||
id::TorsionID const & | torsion_id, | ||
pose::Pose const & | pose, | ||
ScoreFunction const & | sfxn, | ||
EnergyMap const & | weights | ||
) | const [virtual] |
Evaluate the DOF derivative for a particular residue. The Pose merely serves as context, and the input residue is not required to be a member of the Pose.
Reimplemented from core::scoring::methods::OneBodyEnergy.
References core::id::BB, core::scoring::OmegaTether::eval_omega_score_residue(), core::conformation::Residue::has_variant_type(), core::conformation::Residue::is_protein(), core::scoring::omega, core::id::TorsionID::torsion(), core::id::TorsionID::type(), and core::id::TorsionID::valid().
void core::scoring::methods::OmegaTetherEnergy::indicate_required_context_graphs | ( | utility::vector1< bool > & | ) | const [virtual] |
OmegaTether Energy is context independent and thus indicates that no context graphs need to be maintained by class Energies.
Implements core::scoring::methods::EnergyMethod.
bool core::scoring::methods::OmegaTetherEnergy::minimize_in_whole_structure_context | ( | pose::Pose const & | ) | const [inline, virtual] |
Should this EnergyMethod have score and derivative evaluation evaluated only in the context of the whole Pose, or can it be included in a decomposed manner for a residue or a set of residue-pairs that are not part of the Pose that's serving as their context? The default method implemented in the base class returns true in order to grandfather in EnergyMethods that have not had their derivatives changed to take advantage of the new derivative-evaluation machinery. Methods that return "true" will not have their residue-energy(-ext) / residue-pair-energy(-ext) methods invoked by the ScoreFunction during its traversal of the MinimizationGraph, and instead will be asked to perform all their work during finalize_total_energies(). Similarly, they will be expected to perform all their work during eval_atom_deriv() instead of during the ScoreFunction's traversal of the MinimizationGraph for derivative evaluation. IMPORTANT: Methods that return "true" cannot be included in RTMin.
Reimplemented from core::scoring::methods::EnergyMethod.
Real core::scoring::methods::OmegaTetherEnergy::old_eval_dof_derivative | ( | id::DOF_ID const & | , |
id::TorsionID const & | tor_id, | ||
pose::Pose const & | pose, | ||
ScoreFunction const & | , | ||
EnergyMap const & | weights | ||
) | const [virtual] |
void core::scoring::methods::OmegaTetherEnergy::residue_energy | ( | conformation::Residue const & | rsd, |
pose::Pose const & | pose, | ||
EnergyMap & | emap | ||
) | const [virtual] |
Evaluate the one-body energies for a particular residue, in the context of a given Pose, and increment those energies in the input Emap (do not overwrite them).
Implements core::scoring::methods::ContextIndependentOneBodyEnergy.
References core::scoring::OmegaTether::eval_omega_score_residue(), core::conformation::Residue::has_variant_type(), core::conformation::Residue::is_protein(), and core::scoring::omega.