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

« back to all changes in this revision

Viewing changes to src/compute_contact_atom.cpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
 
72
72
  // need an occasional neighbor list
73
73
 
74
 
  int irequest = neighbor->request((void *) this);
 
74
  int irequest = neighbor->request(this,instance_me);
75
75
  neighbor->requests[irequest]->half = 0;
76
76
  neighbor->requests[irequest]->gran = 1;
77
77
  neighbor->requests[irequest]->pair = 0;
108
108
 
109
109
  // invoke neighbor list (will copy or build if necessary)
110
110
 
111
 
  neighbor->build_one(list->index);
 
111
  neighbor->build_one(list);
112
112
 
113
113
  inum = list->inum;
114
114
  ilist = list->ilist;
170
170
  last = first + n;
171
171
  for (i = first; i < last; i++)
172
172
    buf[m++] = contact[i];
173
 
  return 1;
 
173
  return m;
174
174
}
175
175
 
176
176
/* ---------------------------------------------------------------------- */