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

« back to all changes in this revision

Viewing changes to src/USER-MISC/pair_gauss_cut.cpp

  • 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:
168
168
{
169
169
  if (narg != 1) error->all(FLERR,"Illegal pair_style command");
170
170
 
171
 
  cut_global = force->numeric(arg[0]);
 
171
  cut_global = force->numeric(FLERR,arg[0]);
172
172
 
173
173
  // reset cutoffs that have been explicitly set
174
174
 
193
193
  force->bounds(arg[0],atom->ntypes,ilo,ihi);
194
194
  force->bounds(arg[1],atom->ntypes,jlo,jhi);
195
195
 
196
 
  double hgauss_one = force->numeric(arg[2]);
197
 
  double rmh_one = force->numeric(arg[3]);
198
 
  double sigmah_one = force->numeric(arg[4]);
 
196
  double hgauss_one = force->numeric(FLERR,arg[2]);
 
197
  double rmh_one = force->numeric(FLERR,arg[3]);
 
198
  double sigmah_one = force->numeric(FLERR,arg[4]);
199
199
 
200
200
  double cut_one = cut_global;
201
 
  if (narg == 6) cut_one = force->numeric(arg[5]);
 
201
  if (narg == 6) cut_one = force->numeric(FLERR,arg[5]);
202
202
 
203
203
  int count = 0;
204
204
  for (int i = ilo; i <= ihi; i++) {