forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11831 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
4fa40b7f36
commit
01d414a2da
|
@ -593,7 +593,7 @@ void FixPour::pre_exchange()
|
|||
int n = atom->nlocal - 1;
|
||||
atom->tag[n] = maxtag_all + m+1;
|
||||
if (mode == MOLECULE) {
|
||||
if (atom->molecule) atom->molecule[n] = maxmol_all+1;
|
||||
if (atom->molecule_flag) atom->molecule[n] = maxmol_all+1;
|
||||
if (atom->molecular == 2) {
|
||||
atom->molindex[n] = 0;
|
||||
atom->molatom[n] = m;
|
||||
|
|
|
@ -451,7 +451,7 @@ void FixDeposit::pre_exchange()
|
|||
n = atom->nlocal - 1;
|
||||
atom->tag[n] = maxtag_all + m+1;
|
||||
if (mode == MOLECULE) {
|
||||
if (atom->molecular) atom->molecule[n] = maxmol_all+1;
|
||||
if (atom->molecule_flag) atom->molecule[n] = maxmol_all+1;
|
||||
if (atom->molecular == 2) {
|
||||
atom->molindex[n] = 0;
|
||||
atom->molatom[n] = m;
|
||||
|
|
Loading…
Reference in New Issue