19 #include <basic/Tracer.hh>
31 #include <numeric/numeric.functions.hh>
34 #include <utility/exit.hh>
35 #include <utility/string_util.hh>
37 static basic::Tracer
tr(
"core.scoring.solid_surface.SurfaceEnergies");
41 namespace solid_surface {
46 neighbor_cutoff_( -1 )
53 total_residue_( other.total_residue_ ),
54 non_surface_ranges_( other.non_surface_ranges_ ),
55 is_surface_( other.is_surface_ ),
56 neighbor_cutoff_( other.neighbor_cutoff_ )
66 assert( dynamic_cast< SurfaceEnergies const * > ( & rhs ) );
67 if (
this == &rhs )
return *
this;
69 SurfaceEnergies const & surf_rhs( static_cast< SurfaceEnergies const & > ( rhs ) );
91 if ( dynamic_cast< SurfaceEnergies const * > (&other) ) {
136 assert( seqpos_begin <= seqpos_end );
143 for (
Size ii = seqpos_begin; ii <= seqpos_end; ++ii ) {
167 Distance const neighbor_cutoff = numeric::max( energy_neighbor_cutoff, context_cutoff );
173 core::conformation::find_neighbors_naive_surface<core::conformation::PointGraphVertexData,core::conformation::PointGraphEdgeData>( pg, neighbor_cutoff,
non_surface_ranges_,
is_surface_ );
247 SurfaceEnergies::reset_surface_grid() const