~liggghts-dev/+junk/liggghts-dev

« back to all changes in this revision

Viewing changes to src/compute_pair_gran_local.cpp

  • Committer: Anton Gladky
  • Date: 2011-12-03 07:21:52 UTC
  • Revision ID: gladky.anton@gmail.com-20111203072152-kuse4ike0ac0g8fx
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
324
324
    if (!(atom->mask[i] & groupbit)) return;
325
325
    if (!(atom->mask[j] & groupbit)) return;
326
326
 
 
327
    nlocal = atom->nlocal;
 
328
 
327
329
    if (newton_pair == 0 && j >= nlocal && atom->tag[i] <= atom->tag[j]) return;
328
330
 
329
 
    nlocal = atom->nlocal;
330
331
    xi = atom->x[i];
331
332
    xj = atom->x[j];
332
333