Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix broken ppol module #23

Merged
merged 15 commits into from
Apr 8, 2018
Prev Previous commit
Next Next commit
PrepSlater omp schedule change
  • Loading branch information
M. F. Gu committed Apr 5, 2018
commit 3a8e50c32730e507005fe198528e97e080d54c38
4 changes: 2 additions & 2 deletions faclib/radial.c
Original file line number Diff line number Diff line change
Expand Up @@ -5434,6 +5434,8 @@ void PrepSlater(int ib0, int iu0, int ib1, int iu1,
orb2 = GetOrbital(p);
GetJLFromKappa(orb2->kappa, &j2, &k2);
if (k0 > slater_cut.kl0 || k2 > slater_cut.kl0) continue;
int skip = SkipMPI();
if (skip) continue;
GetYk(k, _yk, orb0, orb2, i, p, -1);
ilast = potential->maxrp-1;
for (m = 0; m <= ilast; m++) {
Expand All @@ -5452,8 +5454,6 @@ void PrepSlater(int ib0, int iu0, int ib1, int iu1,
IsOdd((k1+k3)/2+k) ||
!Triangle(j0, j2, kk) ||
!Triangle(j1, j3, kk)) continue;
int skip = SkipMPI();
if (skip) continue;
index[0] = i;
index[1] = j;
index[2] = p;
Expand Down