From b479e3a36e4eda64164c000d23cc4a0db9776015 Mon Sep 17 00:00:00 2001 From: Marco Biasini <mvbiasini@gmail.com> Date: Sat, 9 Mar 2013 08:55:44 +0100 Subject: [PATCH] remove unused function --- modules/mol/alg/src/clash_score.cc | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/modules/mol/alg/src/clash_score.cc b/modules/mol/alg/src/clash_score.cc index 3bac0cd84..48b4d64be 100644 --- a/modules/mol/alg/src/clash_score.cc +++ b/modules/mol/alg/src/clash_score.cc @@ -24,28 +24,6 @@ namespace ost { namespace mol { namespace alg { -namespace { - -template <typename T, typename I> -Real do_clash_score(const T& ent_a, const EntityView& ent_b) -{ - Real energy=0.0; - for (I i=ent_a.AtomsBegin(), e=ent_a.AtomsEnd(); i!=e; ++i) { - - AtomViewList clashees=ent_b.FindWithin((*i).GetPos(), - (*i).GetRadius()+1.7); - - for (AtomViewList::iterator j=clashees.begin(), - e2=clashees.end(); j!=e2; ++j) { - energy+=StericEnergy((*j).GetPos(), (*j).GetRadius()-0.25, - (*i).GetPos(), (*i).GetRadius()-0.25); - } - } - return energy; -} - -} - Real StericEnergy(const geom::Vec3& pos1, Real r1, const geom::Vec3& pos2, Real r2) { -- GitLab