17 #include <basic/database/open.hh>
18 #include <basic/options/option.hh>
19 #include <basic/options/keys/in.OptionKeys.gen.hh>
26 #include <numeric/interpolation/spline/SplineGenerator.hh>
27 #include <numeric/NumericTraits.hh>
28 #include <utility/io/izstream.hh>
62 sts.push_back(
gauss );
136 return ( ( 1 <= atype && atype <= 6 )
137 || ( 18 <= atype && atype <= 19 )
155 using namespace core;
156 using namespace conformation;
177 Real const d2( i_xyz.distance_squared( j_xyz ) );
183 r1 = .92*r1; r2 = .92*r2;
184 if( d2 <= .5*(r1+r2) ){
186 else if( d2 <= .8*(r1+r2) ){
187 score = (r1+r2)/(d2*d2*d2*d2*sqrt(d2));}
189 score = ((sqrt(numeric::NumericTraits<Real>::pi())*r1*r2)/(sqrt(r1*r1+r2*r2)))*(exp(-d2/(r1*r1+r2*r2)));
190 emap[
gauss ] += score;}}
192 emap[
gauss ] += 0.0;}
207 using namespace numeric;