Rosetta
|
#include <NeighborList.hh>
Public Member Functions | |
NeighborList (kinematics::DomainMap const &domain_map, Real const XX_cutoff, Real const XH_cutoff, Real const HH_cutoff) | |
~NeighborList () override | |
NeighborListOP | clone () const |
AtomNeighbors const & | atom_neighbors (int const pos, int const atomno) const |
AtomNeighbors const & | atom_neighbors (id::AtomID const &id) const |
AtomNeighbors const & | upper_atom_neighbors (int const pos, int const atomno) const |
AtomNeighbors const & | upper_atom_neighbors (id::AtomID const &id) const |
AtomNeighbors const & | intrares_upper_atom_neighbors (int const pos, int const atomno) const |
AtomNeighbors const & | intrares_upper_atom_neighbors (id::AtomID const &id) const |
template<class T_Etable > | |
void | setup (pose::Pose const &pose, ScoreFunction const &sfxn, T_Etable const &etable_method) const |
Initialize the nblist so that it reflects the current coordinates in the pose. More... | |
void | check_domain_map (kinematics::DomainMap const &domain_map_in) const |
void | clear () |
kinematics::DomainMap const & | domain_map () const |
template<class T_Etable > | |
void | prepare_for_scoring (pose::Pose const &pose, ScoreFunction const &sfxn, T_Etable const &etable_method) const |
If auto_update_, ensure that no atom in the pose has not moved too much since the last time the neighborlist was updated. The neighborlist tracks the starting coords for all atoms, and then updates. More... | |
void | set_auto_update (Distance move_tolerance) |
void | disable_auto_update () |
Protected Member Functions | |
void | declare_atoms_neighbors (id::AtomID at1, id::AtomID at2, Size path_dist, Real weight, Real weight_func=1.0) const |
void | declare_atom_neighbor_1sided (id::AtomID at1, id::AtomID at2, Size path_dist, Real weight, Real weight_func=1.0) const |
Private Member Functions | |
void | update_from_wide_nblist (pose::Pose const &pose) const |
DistanceSquared | atom_pair_cutoff (bool atom1_is_hydrogen, bool atom2_is_hydrogen) const |
core::scoring::NeighborList::NeighborList | ( | kinematics::DomainMap const & | domain_map, |
Real const | XX_cutoff, | ||
Real const | XH_cutoff, | ||
Real const | HH_cutoff | ||
) |
|
override |
References auto_update_, n_full_updates_, n_prepare_for_scorings_, n_update_from_wide_, and core::scoring::tr().
|
inline |
References nblist_.
|
inline |
References nblist_.
Referenced by core::energy_methods::RNA_FA_ElecEnergy::eval_atom_derivative(), core::energy_methods::StackElecEnergy::eval_atom_derivative(), core::scoring::elec::FA_ElecEnergy::eval_atom_derivative(), core::scoring::methods::MMLJEnergyInter::eval_atom_derivative(), and core::energy_methods::LK_PolarNonPolarEnergy::eval_atom_derivative().
|
inlineprivate |
References HH_cutoff_, XH_cutoff_, and XX_cutoff_.
Referenced by setup(), and update_from_wide_nblist().
void core::scoring::NeighborList::check_domain_map | ( | kinematics::DomainMap const & | domain_map_in | ) | const |
References domain_map_, and nblist_.
Referenced by core::scoring::etable::BaseEtableEnergy< AnalyticEtableEnergy >::eval_residue_pair_derivatives(), core::energy_methods::StackElecEnergy::finalize_total_energy(), core::energy_methods::RNA_FA_ElecEnergy::finalize_total_energy(), core::energy_methods::RNA_CoarseDistEnergy::finalize_total_energy(), and core::scoring::elec::FA_ElecEnergy::finalize_total_energy().
|
inline |
References nblist_.
|
inline |
|
protected |
Add at2 to atom 1's neighbor lists, but don't touch at2's neighbor lists.
References core::id::AtomID::atomno(), intrares_upper_nblist_, nblist_, core::id::AtomID::rsd(), upper_nblist_, and core::scoring::packstat::weight_func().
Referenced by update_from_wide_nblist().
|
protected |
References core::id::AtomID::atomno(), intrares_upper_nblist_, nblist_, core::id::AtomID::rsd(), upper_nblist_, and core::scoring::packstat::weight_func().
Referenced by setup().
void core::scoring::NeighborList::disable_auto_update | ( | ) |
References auto_update_.
|
inline |
References domain_map_.
|
inline |
References intrares_upper_nblist_.
|
inline |
References intrares_upper_nblist_.
void core::scoring::NeighborList::prepare_for_scoring | ( | pose::Pose const & | pose, |
ScoreFunction const & | sfxn, | ||
T_Etable const & | etable_method | ||
) | const |
If auto_update_, ensure that no atom in the pose has not moved too much since the last time the neighborlist was updated. The neighborlist tracks the starting coords for all atoms, and then updates.
References atom_needs_update_from_wide_, core::id::AtomID::atomno(), atoms_to_update_, auto_update_, core::scoring::methods::etable_method, move_tolerance_sqr_, n_full_updates_, n_prepare_for_scorings_, n_update_from_wide_, core::conformation::Residue::natoms(), reference_coords_, core::pose::Pose::residue(), core::id::AtomID::rsd(), setup(), core::pose::Pose::size(), update_from_wide_nblist(), wide_move_tolerance_sqr_, wide_reference_coords_, and core::conformation::Residue::xyz().
Referenced by core::scoring::etable::BaseEtableEnergy< AnalyticEtableEnergy >::eval_atom_derivative(), core::energy_methods::LK_PolarNonPolarEnergy::setup_for_scoring(), core::energy_methods::RNA_FA_ElecEnergy::setup_for_scoring(), core::energy_methods::StackElecEnergy::setup_for_scoring(), core::energy_methods::FA_GrpElecEnergy::setup_for_scoring(), core::energy_methods::RNA_FullAtomStackingEnergy::setup_for_scoring(), and core::scoring::elec::FA_ElecEnergy::setup_for_scoring().
void core::scoring::NeighborList::set_auto_update | ( | Distance | move_tolerance | ) |
References auto_update_, move_tolerance_sqr_, wide_move_tolerance_sqr_, and wide_nblist_extension_.
void core::scoring::NeighborList::setup | ( | pose::Pose const & | pose, |
ScoreFunction const & | sfxn, | ||
T_Etable const & | etable_method | ||
) | const |
Initialize the nblist so that it reflects the current coordinates in the pose.
const so that it may be called within setup_for_scoring T_Etable class must implement the following functions: bool defines_intrares_energy( EnergyMap const & ) const; CountPairFunctionCOP get_intrares_countpair( conformation::Residue const &, pose::Pose const &, ScoreFunction const & ) const; CountPairFunctionCOP get_count_pair_function( Size &, Size &, pose::Pose const &, ScoreFunction const & ) const;
References core::conformation::Residue::atom(), core::conformation::Residue::atom_is_hydrogen(), atom_needs_update_from_wide_, atom_pair_cutoff(), auto_update_, core::pose::Pose::conformation(), declare_atoms_neighbors(), domain_map_, core::scoring::methods::etable_method, core::conformation::Conformation::get_residue_mask(), core::conformation::Conformation::get_residue_weight(), HH_cutoff_wide_, intrares_upper_nblist_, core::conformation::Residue::natoms(), nblist_, core::conformation::Residue::nbr_radius(), core::pose::pose_max_nbr_radius(), reference_coords_, core::pose::Pose::residue(), core::conformation::residue_point_graph_from_conformation(), core::pose::Pose::size(), sqrt_XX_cutoff_, upper_nblist_, core::scoring::packstat::weight_func(), core::scoring::ScoreFunction::weights(), wide_nblist_, wide_nblist_extension_, wide_reference_coords_, XH_cutoff_wide_, XX_cutoff_, XX_cutoff_wide_, core::conformation::Atom::xyz(), and core::conformation::Residue::xyz().
Referenced by prepare_for_scoring().
|
private |
instead of doing a full neighbor calculation, we're sure we can update the scoring neighborlist from the wide neighborlist
References core::conformation::Residue::atom_is_hydrogen(), atom_needs_update_from_wide_, atom_pair_cutoff(), core::id::AtomID::atomno(), atoms_to_update_, declare_atom_neighbor_1sided(), intrares_upper_nblist_, nblist_, reference_coords_, core::pose::Pose::residue(), core::id::AtomID::rsd(), upper_nblist_, wide_move_tolerance_sqr_, wide_nblist_, wide_reference_coords_, and core::conformation::Residue::xyz().
Referenced by prepare_for_scoring().
|
inline |
References upper_nblist_.
|
inline |
References upper_nblist_.
Referenced by core::energy_methods::StackElecEnergy::finalize_total_energy(), core::energy_methods::RNA_FA_ElecEnergy::finalize_total_energy(), core::energy_methods::RNA_CoarseDistEnergy::finalize_total_energy(), and core::scoring::elec::FA_ElecEnergy::finalize_total_energy().
|
mutableprivate |
Variables for updating the nblist from the wide nblist don't use v1< bool >: too slow
Referenced by prepare_for_scoring(), setup(), and update_from_wide_nblist().
|
mutableprivate |
Referenced by prepare_for_scoring(), and update_from_wide_nblist().
|
private |
Referenced by disable_auto_update(), prepare_for_scoring(), set_auto_update(), setup(), and ~NeighborList().
|
private |
Referenced by check_domain_map(), domain_map(), and setup().
|
private |
Referenced by atom_pair_cutoff().
|
private |
Referenced by setup().
|
mutableprivate |
|
private |
Referenced by prepare_for_scoring(), and set_auto_update().
|
mutableprivate |
Referenced by prepare_for_scoring(), and ~NeighborList().
|
mutableprivate |
Referenced by prepare_for_scoring(), and ~NeighborList().
|
mutableprivate |
Referenced by prepare_for_scoring(), and ~NeighborList().
|
mutableprivate |
|
mutableprivate |
Referenced by prepare_for_scoring(), setup(), and update_from_wide_nblist().
|
private |
|
private |
|
mutableprivate |
|
private |
Referenced by prepare_for_scoring(), set_auto_update(), and update_from_wide_nblist().
|
mutableprivate |
Referenced by setup(), and update_from_wide_nblist().
|
private |
Referenced by set_auto_update(), and setup().
|
mutableprivate |
Referenced by prepare_for_scoring(), setup(), and update_from_wide_nblist().
|
private |
Referenced by atom_pair_cutoff().
|
private |
Referenced by setup().
|
private |
Referenced by atom_pair_cutoff(), and setup().
|
private |
Separation square distance for atom pairs in kept in the wide neighbor list.
Referenced by setup().