Rosetta 3.4
Public Types | Public Member Functions
core::scoring::methods::P_AA_Energy Class Reference

#include <P_AA_Energy.hh>

Inheritance diagram for core::scoring::methods::P_AA_Energy:
Inheritance graph
[legend]
Collaboration diagram for core::scoring::methods::P_AA_Energy:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
ContextIndependentOneBodyEnergy 
parent

Public Member Functions

 P_AA_Energy ()
virtual EnergyMethodOP clone () const
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).
virtual Real eval_dof_derivative (id::DOF_ID const &dof_id, id::TorsionID const &tor_id, pose::Pose const &pose, ScoreFunction const &sfxn, EnergyMap const &weights) const
virtual void indicate_required_context_graphs (utility::vector1< bool > &) const
 P_AA_Energy is context independent; indicates that no context graphs are required.

Member Typedef Documentation


Constructor & Destructor Documentation

core::scoring::methods::P_AA_Energy::P_AA_Energy ( )
Remarks:
get_P_AA calls a method in ScoringManager which create a new object of type P_AA. The constructor for that created object reads in the three database files: p_aa, p_aa_pp, and p_aa_n. That object is returned and then stored as a private member variable here.

Referenced by clone().


Member Function Documentation

EnergyMethodOP core::scoring::methods::P_AA_Energy::clone ( ) const [virtual]
Real core::scoring::methods::P_AA_Energy::eval_dof_derivative ( id::DOF_ID const &  dof_id,
id::TorsionID const &  tor_id,
pose::Pose const &  pose,
ScoreFunction const &  sfxn,
EnergyMap const &  weights 
) const [virtual]
Remarks:
no DOF to vary for P_AA, so just return 0.0 like the reference energy does
void core::scoring::methods::P_AA_Energy::indicate_required_context_graphs ( utility::vector1< bool > &  ) const [virtual]

P_AA_Energy is context independent; indicates that no context graphs are required.

Implements core::scoring::methods::EnergyMethod.

void core::scoring::methods::P_AA_Energy::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::p_aa, and core::scoring::P_AA::P_AA_energy().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines