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

« back to all changes in this revision

Viewing changes to src/compute_stress_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:
60
60
      error->all(FLERR,"Could not find compute stress/atom temperature ID");
61
61
    if (modify->compute[icompute]->tempflag == 0)
62
62
      error->all(FLERR,
63
 
                 "Compute stress/atom temperature ID does not compute temperature");
 
63
                 "Compute stress/atom temperature ID does not "
 
64
                 "compute temperature");
64
65
  }
65
66
 
66
67
  // process optional args
355
356
    buf[m++] = stress[i][4];
356
357
    buf[m++] = stress[i][5];
357
358
  }
358
 
  return 6;
 
359
  return m;
359
360
}
360
361
 
361
362
/* ---------------------------------------------------------------------- */