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

This commit is contained in:
sjplimp
2009-11-17 16:07:28 +00:00
parent ae7fa87a27
commit a78ba892af
26 changed files with 177 additions and 33 deletions

View File

@ -71,6 +71,17 @@ void AtomVecAtomic::grow(int n)
modify->fix[atom->extra_grow[iextra]]->grow_arrays(nmax);
}
/* ----------------------------------------------------------------------
reset local array ptrs
------------------------------------------------------------------------- */
void AtomVecAtomic::grow_reset()
{
tag = atom->tag; type = atom->type;
mask = atom->mask; image = atom->image;
x = atom->x; v = atom->v; f = atom->f;
}
/* ---------------------------------------------------------------------- */
void AtomVecAtomic::copy(int i, int j)