Commit e1c0f4e3 by Francois Gygi

formatting


git-svn-id: http://qboxcode.org/svn/qb/trunk@886 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 4e0d3995
......@@ -159,8 +159,8 @@ void BLYPFunctional::excblyp(double rho, double grad,
const double ex = rha13 * ga;
/* energy done, now the potential */
const double gpa = ( 6.0*beta*beta*xa2 * ( xa/sqrt(xa2+1.0) - asinhxa ) - 2.0*beta*xa ) *
frac*frac;
const double gpa = ( 6.0*beta*beta*xa2 * ( xa/sqrt(xa2+1.0) - asinhxa )
- 2.0*beta*xa ) * frac*frac;
const double vx1 = rha13 * fourthirds * ( ga - xa * gpa );
const double vx2 = - 0.5 * gpa / grada;
......@@ -209,4 +209,3 @@ void BLYPFunctional::excblyp(double rho, double grad,
*vxc1 = vx1 + vc1;
*vxc2 = vx2 + vc2;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment