33 #include <basic/datacache/CacheableData.hh>
34 #include <basic/prof.hh>
40 #include <utility/vector1.hh>
85 potential_( src.potential_ ),
86 exclude_DNA_DNA_( src.exclude_DNA_DNA_ )
92 potential_(
ScoringManager::get_instance()->get_GenBornPotential() ),
93 exclude_DNA_DNA_( options.exclude_DNA_DNA() )
169 bool create_new_lre_container(
false );
171 if ( energies.long_range_container( lr_type ) == 0 ) {
172 create_new_lre_container =
true;
178 create_new_lre_container =
true;
182 if ( create_new_lre_container ) {
184 energies.set_long_range_container( lr_type, new_dec );
229 using namespace conformation;
230 using namespace numeric;
257 using namespace conformation;
258 using namespace numeric;
274 (emaps[ ii ])[
gb_elec ] += elecE ;
285 ObjexxFCL::FArray2D< core::PackerEnergy > & energy_table
288 using namespace conformation;
289 using namespace numeric;
294 PROF_START( basic::GEN_BORN_ROTAMER_PAIR_ENERGIES );
307 Vector const & ii_coord( ii_example_rotamer.nbr_atom_xyz() );
308 Real const ii_radius( ii_example_rotamer.nbr_radius() );
314 if (
exclude_DNA_DNA_ && ii_example_rotamer.is_DNA() && jj_example_rotamer.is_DNA() )
continue;
316 Vector const & jj_coord( jj_example_rotamer.nbr_atom_xyz() );
317 Real const jj_radius( jj_example_rotamer.nbr_radius() );
321 Size const kk_rot_id = ii_offset + kk - 1;
323 Size const ll_rot_id = jj_offset + ll - 1;
335 PROF_START( basic::GEN_BORN_ROTAMER_PAIR_ENERGIES );
348 PROF_START( basic::GEN_BORN_ROTAMER_BACKGROUND_ENERGIES );
366 Vector const & ii_coord( ii_example_rotamer.nbr_atom_xyz() );
367 Real const ii_radius( ii_example_rotamer.nbr_radius() );
376 Size const kk_rot_id = ii_offset + kk - 1;
380 rsd, gb_rsd_info ) );
385 PROF_STOP( basic::GEN_BORN_ROTAMER_BACKGROUND_ENERGIES );
416 Vector const & ii_coord( ii_example_rotamer.nbr_atom_xyz() );
417 Real const ii_radius( ii_example_rotamer.nbr_radius() );
426 Size const kk_rot_id = ii_offset + kk - 1;
430 rsd, gb_rsd_info ) );
431 (emaps[ kk_rot_id ])[
gb_elec ] += elecE;