|
Rosetta 3.5
|
#include <NeighborList.hh>


Public Member Functions | |
| NeighborList (kinematics::DomainMap const &domain_map, Real const XX_cutoff, Real const XH_cutoff, Real const HH_cutoff) | |
| virtual | ~NeighborList () |
| 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 |
Definition at line 176 of file NeighborList.hh.
| core::scoring::NeighborList::NeighborList | ( | kinematics::DomainMap const & | domain_map, |
| Real const | XX_cutoff, | ||
| Real const | XH_cutoff, | ||
| Real const | HH_cutoff | ||
| ) |
Definition at line 45 of file NeighborList.cc.
Referenced by clone().
|
virtual |
Definition at line 78 of file NeighborList.cc.
References auto_update_, n_full_updates_, n_prepare_for_scorings_, n_update_from_wide_, and core::scoring::tr().
|
inline |
Definition at line 195 of file NeighborList.hh.
References nblist_.
Referenced by core::scoring::etable::BaseEtableEnergy< Derived >::eval_atom_derivative().
|
inline |
Definition at line 205 of file NeighborList.hh.
References nblist_.
|
inlineprivate |
Definition at line 304 of file NeighborList.hh.
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 |
Definition at line 90 of file NeighborList.cc.
References domain_map_, and nblist_.
Referenced by core::scoring::hackelec::HackElecEnergy::finalize_total_energy(), and core::scoring::etable::BaseEtableEnergy< Derived >::finalize_total_energy().
|
inline |
Definition at line 268 of file NeighborList.hh.
References nblist_.
|
inline |
Definition at line 191 of file NeighborList.hh.
References NeighborList().
|
protected |
Add at2 to atom 1's neighbor lists, but don't touch at2's neighbor lists.
Definition at line 223 of file NeighborList.cc.
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 |
Definition at line 201 of file NeighborList.cc.
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 | ( | ) |
Definition at line 110 of file NeighborList.cc.
References auto_update_.
|
inline |
Definition at line 275 of file NeighborList.hh.
References domain_map_.
|
inline |
Definition at line 231 of file NeighborList.hh.
References intrares_upper_nblist_.
|
inline |
Definition at line 241 of file NeighborList.hh.
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.
Definition at line 642 of file NeighborList.tmpl.hh.
References atom_needs_update_from_wide_, core::id::AtomID::atomno(), atoms_to_update_, auto_update_, 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::io::serialization::size(), core::pose::Pose::total_residue(), update_from_wide_nblist(), wide_move_tolerance_sqr_, wide_reference_coords_, and core::conformation::Residue::xyz().
Referenced by core::scoring::etable::BaseEtableEnergy< Derived >::setup_for_derivatives(), core::scoring::hackelec::HackElecEnergy::setup_for_scoring(), and core::scoring::etable::BaseEtableEnergy< Derived >::setup_for_scoring().
| void core::scoring::NeighborList::set_auto_update | ( | Distance | move_tolerance) |
Definition at line 102 of file NeighborList.cc.
References auto_update_, move_tolerance_sqr_, wide_move_tolerance_sqr_, and wide_nblist_extension_.
Referenced by core::scoring::hackelec::HackElecEnergy::setup_for_minimizing(), and core::scoring::etable::BaseEtableEnergy< Derived >::setup_for_minimizing().
| 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;
Definition at line 443 of file NeighborList.tmpl.hh.
References atom_needs_update_from_wide_, atom_pair_cutoff(), auto_update_, core::pose::Pose::conformation(), declare_atoms_neighbors(), domain_map_, 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::io::serialization::size(), sqrt_XX_cutoff_, core::pose::Pose::total_residue(), 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_, and core::conformation::Residue::xyz().
Referenced by prepare_for_scoring(), and core::scoring::etable::BaseEtableEnergy< Derived >::setup_for_minimizing().
|
private |
instead of doing a full neighbor calculation, we're sure we can update the scoring neighborlist from the wide neighborlist
Definition at line 119 of file NeighborList.cc.
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(), core::kinematics::tree::distance_squared(), 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 protocols::kinmatch::xyz().
Referenced by prepare_for_scoring().
|
inline |
Definition at line 213 of file NeighborList.hh.
References upper_nblist_.
|
inline |
Definition at line 223 of file NeighborList.hh.
References upper_nblist_.
|
mutableprivate |
Variables for updating the nblist from the wide nblist don't use v1< bool >: too slow
Definition at line 357 of file NeighborList.hh.
Referenced by prepare_for_scoring(), setup(), and update_from_wide_nblist().
|
mutableprivate |
Definition at line 359 of file NeighborList.hh.
Referenced by prepare_for_scoring(), and update_from_wide_nblist().
|
private |
Definition at line 321 of file NeighborList.hh.
Referenced by disable_auto_update(), prepare_for_scoring(), set_auto_update(), setup(), and ~NeighborList().
|
private |
Definition at line 340 of file NeighborList.hh.
Referenced by check_domain_map(), domain_map(), and setup().
|
private |
Definition at line 343 of file NeighborList.hh.
Referenced by atom_pair_cutoff().
|
private |
Definition at line 353 of file NeighborList.hh.
Referenced by setup().
|
mutableprivate |
Definition at line 335 of file NeighborList.hh.
Referenced by declare_atom_neighbor_1sided(), declare_atoms_neighbors(), intrares_upper_atom_neighbors(), setup(), and update_from_wide_nblist().
|
private |
Definition at line 324 of file NeighborList.hh.
Referenced by prepare_for_scoring(), and set_auto_update().
|
mutableprivate |
Definition at line 363 of file NeighborList.hh.
Referenced by prepare_for_scoring(), and ~NeighborList().
|
mutableprivate |
Definition at line 361 of file NeighborList.hh.
Referenced by prepare_for_scoring(), and ~NeighborList().
|
mutableprivate |
Definition at line 362 of file NeighborList.hh.
Referenced by prepare_for_scoring(), and ~NeighborList().
|
mutableprivate |
Definition at line 333 of file NeighborList.hh.
Referenced by atom_neighbors(), check_domain_map(), clear(), declare_atom_neighbor_1sided(), declare_atoms_neighbors(), setup(), and update_from_wide_nblist().
|
mutableprivate |
Definition at line 337 of file NeighborList.hh.
Referenced by prepare_for_scoring(), setup(), and update_from_wide_nblist().
|
private |
Definition at line 347 of file NeighborList.hh.
|
private |
Definition at line 346 of file NeighborList.hh.
|
private |
Definition at line 345 of file NeighborList.hh.
Referenced by setup().
|
mutableprivate |
Definition at line 334 of file NeighborList.hh.
Referenced by declare_atom_neighbor_1sided(), declare_atoms_neighbors(), setup(), update_from_wide_nblist(), and upper_atom_neighbors().
|
private |
Definition at line 331 of file NeighborList.hh.
Referenced by prepare_for_scoring(), set_auto_update(), and update_from_wide_nblist().
|
mutableprivate |
Definition at line 336 of file NeighborList.hh.
Referenced by setup(), and update_from_wide_nblist().
|
private |
Definition at line 327 of file NeighborList.hh.
Referenced by set_auto_update(), and setup().
|
mutableprivate |
Definition at line 338 of file NeighborList.hh.
Referenced by prepare_for_scoring(), setup(), and update_from_wide_nblist().
|
private |
Definition at line 342 of file NeighborList.hh.
Referenced by atom_pair_cutoff().
|
private |
Definition at line 352 of file NeighborList.hh.
Referenced by setup().
|
private |
Definition at line 341 of file NeighborList.hh.
Referenced by atom_pair_cutoff(), and setup().
|
private |
Separation square distance for atom pairs in kept in the wide neighbor list.
Definition at line 351 of file NeighborList.hh.
Referenced by setup().
1.8.4