git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15240 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -206,6 +206,10 @@ void AtomVecTri::copy_bonus(int i, int j)
|
||||
void AtomVecTri::clear_bonus()
|
||||
{
|
||||
nghost_bonus = 0;
|
||||
|
||||
if (atom->nextra_grow)
|
||||
for (int iextra = 0; iextra < atom->nextra_grow; iextra++)
|
||||
modify->fix[atom->extra_grow[iextra]]->clear_bonus();
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user