git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1515 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2008-02-15 19:06:53 +00:00
parent 9fa38a6e94
commit 9864ead231
27 changed files with 243 additions and 110 deletions

View File

@ -70,6 +70,7 @@ void FixNVE::initial_integrate(int vflag)
int *type = atom->type;
int *mask = atom->mask;
int nlocal = atom->nlocal;
if (igroup == atom->firstgroup) nlocal = atom->nfirst;
if (mass) {
for (int i = 0; i < nlocal; i++) {
@ -112,6 +113,7 @@ void FixNVE::final_integrate()
int *type = atom->type;
int *mask = atom->mask;
int nlocal = atom->nlocal;
if (igroup == atom->firstgroup) nlocal = atom->nfirst;
if (mass) {
for (int i = 0; i < nlocal; i++) {