Permalink
Browse files

Fix Height calculation

  • Loading branch information...
hombit committed Sep 27, 2016
1 parent da0c7ad commit a940c8dd5010ef990e9342fab19fb376d58ac778
Showing with 1 addition and 1 deletion.
  1. +1 −1 opacity_related.cpp
@@ -83,7 +83,7 @@ void OpacityRelated::init_OPAL(){


double OpacityRelated::Height(double R, double F){
return R * Height_coef * pow(2.*M_PI*F, Height_exp_F) * pow(R/1e10, Height_exp_R - Height_exp_F/2.);
return R * Height_coef * pow(F, Height_exp_F) * pow(R/1e10, Height_exp_R - Height_exp_F/2.);
}


0 comments on commit a940c8d

Please sign in to comment.