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

« back to all changes in this revision

Viewing changes to src/pair_dpd.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:
214
214
 
215
215
void PairDPD::coeff(int narg, char **arg)
216
216
{
217
 
  if (narg < 4 || narg > 5) error->all(FLERR,"Incorrect args for pair coefficients");
 
217
  if (narg < 4 || narg > 5) 
 
218
    error->all(FLERR,"Incorrect args for pair coefficients");
218
219
  if (!allocated) allocate();
219
220
 
220
221
  int ilo,ihi,jlo,jhi;
256
257
  if (force->newton_pair == 0 && comm->me == 0) error->warning(FLERR,
257
258
      "Pair dpd needs newton pair on for momentum conservation");
258
259
 
259
 
  neighbor->request(this);
 
260
  neighbor->request(this,instance_me);
260
261
}
261
262
 
262
263
/* ----------------------------------------------------------------------