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

This commit is contained in:
pscrozi
2013-04-29 22:44:06 +00:00
parent 2cc636f1aa
commit 44e5b9d4ff

View File

@ -1088,7 +1088,7 @@ void FixGCMC::get_model_molecule()
atom->extra_bond_per_atom = old_atom->extra_bond_per_atom;
atom->allocate_type_arrays();
atom->avec->grow(natoms_per_molecule);
atom->avec->grow(natoms_per_molecule + old_atom->nlocal);
// copy type arrays to model atom class