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

« back to all changes in this revision

Viewing changes to src/USER-OMP/pppm_tip4p_omp.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:
343
343
  const double boxloz = boxlo[2];
344
344
  const int nlocal = atom->nlocal;
345
345
 
 
346
  if (!isfinite(boxlo[0]) || !isfinite(boxlo[1]) || !isfinite(boxlo[2]))
 
347
    error->one(FLERR,"Non-numeric box dimensions - simulation unstable");
 
348
 
346
349
  int i, flag = 0;
347
350
#if defined(_OPENMP)
348
351
#pragma omp parallel for private(i) default(none) reduction(+:flag) schedule(static)