forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@772 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
124c51243b
commit
4b78a11135
|
@ -49,6 +49,8 @@ void Neighbor::stencil_allocate(int sx, int sy, int sz)
|
|||
{
|
||||
int i;
|
||||
|
||||
// for 2d, sz = 0
|
||||
|
||||
int nmax = (2*sz+1) * (2*sy+1) * (2*sx+1);
|
||||
|
||||
if (half) {
|
||||
|
|
Loading…
Reference in New Issue