Commit e2727b2c by Francois Gygi

added OpenMP pragmas

git-svn-id: http://qboxcode.org/svn/qb/trunk@1169 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 31a8c06c
......@@ -94,6 +94,7 @@ void PBEFunctional::setxc(void)
assert( exc != 0 );
assert( vxc1 != 0 );
assert( vxc2 != 0 );
#pragma omp parallel for
for ( int i = 0; i < _np; i++ )
{
double grad = sqrt(grad_rho[0][i]*grad_rho[0][i] +
......@@ -117,6 +118,7 @@ void PBEFunctional::setxc(void)
assert( vxc2_dnup != 0 );
assert( vxc2_dndn != 0 );
#pragma omp parallel for
for ( int i = 0; i < _np; i++ )
{
double grx_up = grad_rho_up[0][i];
......
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