more additions to USER atom styles and bug fixes

This commit is contained in:
Steve Plimpton
2019-12-13 13:54:12 -07:00
parent 9af08f2d54
commit db6d272303
29 changed files with 218 additions and 1289 deletions

View File

@ -37,7 +37,7 @@ AtomVecLine::AtomVecLine(LAMMPS *lmp) : AtomVec(lmp)
size_forward_bonus = 1;
size_border_bonus = 3;
size_restart_bonus_one = 2;
size_restart_bonus_one = 3;
size_data_bonus = 5;
atom->line_flag = 1;
@ -286,7 +286,7 @@ int AtomVecLine::size_restart_bonus()
int nlocal = atom->nlocal;
for (i = 0; i < nlocal; i++) {
if (line[i] >= 0) n += size_restart_bonus_one;
n++;
else n++;
}
return n;