git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11676 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-04-01 22:21:39 +00:00
parent 4046e95b0d
commit bd537e077e
2 changed files with 3 additions and 3 deletions

View File

@ -537,8 +537,8 @@ void Finish::end(int flag)
neighbor->old_requests[m]->respaouter || neighbor->old_requests[m]->respaouter ||
neighbor->old_requests[m]->half_from_full) && neighbor->old_requests[m]->half_from_full) &&
neighbor->old_requests[m]->skip == 0) { neighbor->old_requests[m]->skip == 0) {
if (neighbor->lists[m] && neighbor->lists[m]->numneigh) break;
if (lmp->kokkos && lmp->kokkos->neigh_list_kokkos(m)) break; if (lmp->kokkos && lmp->kokkos->neigh_list_kokkos(m)) break;
else break;
} }
} }
@ -576,8 +576,8 @@ void Finish::end(int flag)
for (m = 0; m < neighbor->old_nrequest; m++) { for (m = 0; m < neighbor->old_nrequest; m++) {
if (neighbor->old_requests[m]->full && if (neighbor->old_requests[m]->full &&
neighbor->old_requests[m]->skip == 0) { neighbor->old_requests[m]->skip == 0) {
if (neighbor->lists[m] && neighbor->lists[m]->numneigh) break;
if (lmp->kokkos && lmp->kokkos->neigh_list_kokkos(m)) break; if (lmp->kokkos && lmp->kokkos->neigh_list_kokkos(m)) break;
else break;
} }
} }

View File

@ -16,6 +16,7 @@
#include "run.h" #include "run.h"
#include "domain.h" #include "domain.h"
#include "update.h" #include "update.h"
#include "force.h"
#include "integrate.h" #include "integrate.h"
#include "modify.h" #include "modify.h"
#include "output.h" #include "output.h"
@ -23,7 +24,6 @@
#include "input.h" #include "input.h"
#include "timer.h" #include "timer.h"
#include "error.h" #include "error.h"
#include "force.h"
using namespace LAMMPS_NS; using namespace LAMMPS_NS;