git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1515 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user