Skip to content
Snippets Groups Projects
Commit dce3d61e authored by marco's avatar marco
Browse files

use smaller radius for clash-score

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1911 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent c2162804
Branches master
No related tags found
No related merge requests found
...@@ -48,12 +48,12 @@ Real do_clash_score(const T& ent_a, const mol::EntityView& ent_b) ...@@ -48,12 +48,12 @@ Real do_clash_score(const T& ent_a, const mol::EntityView& ent_b)
for (I i=ent_a.AtomsBegin(), e=ent_a.AtomsEnd(); i!=e; ++i) { for (I i=ent_a.AtomsBegin(), e=ent_a.AtomsEnd(); i!=e; ++i) {
mol::AtomViewList clashees=ent_b.FindWithin((*i).GetPos(), mol::AtomViewList clashees=ent_b.FindWithin((*i).GetPos(),
(*i).GetProp().radius+2.0); (*i).GetProp().radius+1.7);
for (mol::AtomViewList::iterator j=clashees.begin(), for (mol::AtomViewList::iterator j=clashees.begin(),
e2=clashees.end(); j!=e2; ++j) { e2=clashees.end(); j!=e2; ++j) {
energy+=StericEnergy((*j).GetPos(), (*j).GetProp().radius, energy+=StericEnergy((*j).GetPos(), (*j).GetProp().radius-0.25,
(*i).GetPos(), (*i).GetProp().radius); (*i).GetPos(), (*i).GetProp().radius-0.25);
} }
} }
return energy; return energy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment