31 #include <basic/options/option.hh>
41 #include <basic/options/keys/pH.OptionKeys.gen.hh>
43 #include <utility/vector1.hh>
66 sts.push_back(
e_pH );
74 using namespace basic::options;
75 pH_ = option[ OptionKeys::pH::value_pH ]();
105 core::Real ipKa_, pH_score_, fprot_, score1_, score2_;
107 switch ( rsd.
type().
aa() ) {
111 fprot_ = 1.0/((pow (10.0,(
pH_ - ipKa_))) + 1.0);
112 score1_ = -0.59 * log (fprot_);
113 score2_ = -0.59 * log (1.0 - fprot_);
119 fprot_ = 1.0/((pow (10.0,(
pH_ - ipKa_))) + 1.0);
120 score1_ = -0.59 * log (fprot_);
121 score2_ = -0.59 * log (1.0 - fprot_);
127 fprot_ = 1.0/((pow (10.0,(
pH_ - ipKa_))) + 1.0);
128 score1_ = -0.59 * log (fprot_);
129 score2_ = -0.59 * log (1.0 - fprot_);
135 fprot_ = 1.0/((pow (10.0,(
pH_ - ipKa_))) + 1.0);
136 score1_ = -0.59 * log (fprot_);
137 score2_ = -0.59 * log (1.0 - fprot_);
143 fprot_ = 1.0/((pow (10.0,(
pH_ - ipKa_))) + 1.0);
144 score1_ = -0.59 * log (fprot_);
145 score2_ = -0.59 * log (1.0 - fprot_);
155 emap[
e_pH ] += pH_score_;