~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to src/USER-OMP/neighbor_omp.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2013-11-20 22:41:36 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131120224136-tzx7leh606fqnckm
Tags: 0~20131119.git7162cf0-1
* [e65b919] Imported Upstream version 0~20131119.git7162cf0
* [f7bddd4] Fix some problems, introduced by upstream recently.
* [3616dfc] Use wrap-and-sort script.
* [7e92030] Ignore quilt dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
// make sure we have at least one page for each thread
27
27
#define NEIGH_OMP_INIT                          \
28
 
  const int nthreads = comm->nthreads;          \
29
 
  if (nthreads > list->maxpage)                 \
30
 
    list->add_pages(nthreads - list->maxpage)
 
28
  const int nthreads = comm->nthreads;
31
29
 
32
30
// get thread id and then assign each thread a fixed chunk of atoms
33
31
#define NEIGH_OMP_SETUP(num)                    \