44 #include <numeric/xyzVector.hh>
51 #include <utility/vector1.hh>
77 potential_( scoring::
ScoringManager::get_instance()->get_MMLJEnergyTable() )
106 library.nblist_dis2_cutoff_XX(),
107 library.nblist_dis2_cutoff_XH(),
108 library.nblist_dis2_cutoff_HH())
113 nblist->set_auto_update( 1 );
116 nblist->setup( pose, sfxn, *
this );
150 using namespace chemical;
151 using namespace conformation;
152 using namespace etable;
153 using namespace count_pair;
155 Real total_rep(0.0), total_atr(0.0);
166 for (
int i = 1, i_end = rsdnatom; i <= i_end; ++i ) {
168 for (
int j = i + 1, j_end = rsdnatom; j <= j_end; ++j ) {
175 if ( cpfxn->count( i, j, weight, path_dist ) ) {
177 Real dist_squared( atom1.xyz().distance_squared( atom2.xyz() ) );
180 potential_.
score( rsdtype.atom( i ).mm_atom_type_index(), rsdtype.atom( j ).mm_atom_type_index(), path_dist, dist_squared, rep, atr );
225 for ( scoring::AtomNeighbors::const_iterator iter=nbrs.begin(), iter_end=nbrs.end(); iter != iter_end; ++iter ) {
237 Real dist_squared( atom1.
xyz().distance_squared( atom2.
xyz() ) );
243 Real drep(0), datr(0);
245 Real deriv( drep + datr );
247 if ( deriv != 0.0 ) {
253 utility_exit_with_message(
"non-nblist minimize!");
291 using namespace etable;
292 using namespace count_pair;
305 using namespace etable;
306 using namespace count_pair;