32 #include <numeric/xyzVector.hh>
37 #include <utility/vector1.hh>
64 potential_(
ScoringManager::get_instance()->get_SmoothEnvPairPotential() )
111 Real const cendist = cen1.xyz().distance_squared( cen2.
xyz() );
114 Real pair_score( 0.0 ), cenpack_score( 0.0 );
118 pair_score *= 2.019f;
119 cenpack_score *= 2.0f;
146 Real const cendist = cen1.xyz().distance_squared( cen2.
xyz() );
147 Real dpair_dr, dcenpack_dr;
157 Vector f1( atom_x.cross( atom_y ) );
158 Vector f2( atom_x - atom_y );
159 Real const dis( f2.length() );
163 f1 *= (weight1 * dpair_dr + weight2 * dcenpack_dr);
164 f2 *= (weight1 * dpair_dr + weight2 * dcenpack_dr);
166 r1_atom_derivs[ rsd1.
nbr_atom() ].f1() += f1;
167 r1_atom_derivs[ rsd1.
nbr_atom() ].f2() += f2;
168 r2_atom_derivs[ rsd2.
nbr_atom() ].f1() -= f1;
169 r2_atom_derivs[ rsd2.
nbr_atom() ].f2() -= f2;