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

This commit is contained in:
sjplimp
2013-11-07 20:30:02 +00:00
parent c3ac2c5be0
commit 83534f0802
14 changed files with 6520 additions and 3 deletions

View File

@ -686,7 +686,7 @@ void Special::angle_trim()
int nbuf = 0;
for (i = 0; i < nlocal; i++) {
if (num_angle && atom->nangles) nbuf += 2*num_angle[i];
if (num_dihedral && atom->ndihedrals) nbuf + 2*2*num_dihedral[i];
if (num_dihedral && atom->ndihedrals) nbuf += 2*2*num_dihedral[i];
}
int *buf;
memory->create(buf,nbuf,"special:buf");