15 #ifndef INCLUDED_core_scoring_hackelec_HackElecEnergy_hh
16 #define INCLUDED_core_scoring_hackelec_HackElecEnergy_hh
37 #include <utility/vector1.hh>
139 bool res_moving_wrt_eachother
248 ObjexxFCL::FArray2D< core::PackerEnergy > & energy_table
559 d2 = i_xyz.distance_squared( j_xyz );
574 return i_charge * j_charge * (
C1_ / std::sqrt(d2) -
C2_ );
576 return i_charge * j_charge * (
C1_ / d2 -
C2_ );
597 return dEfac_ * q1q2 / ( dis2 * std::sqrt(dis2) ) ;
599 return dEfac_ * q1q2 / ( dis2 * dis2 );
602 Real d = std::sqrt( dis2 );
607 Real d = std::sqrt( dis2 );