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

This commit is contained in:
sjplimp 2014-04-18 20:58:43 +00:00
parent 4fa40b7f36
commit 01d414a2da
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;