Merge branch 'master' of github.com:JamesEMcClure/LBPM-WIA
This commit is contained in:
commit
f26b026570
Binary file not shown.
Binary file not shown.
@ -169,6 +169,10 @@ int main(int argc, char **argv)
|
||||
int y = yStart + jp*ny + j-1;
|
||||
// int z = zStart + kp*nz + k-1;
|
||||
int z = zStart + kp*nz + k-1 - z_transition_size;
|
||||
if (x<xStart) x=xStart;
|
||||
if (!(x<Nx)) x=Nx-1;
|
||||
if (y<yStart) y=yStart;
|
||||
if (!(y<Ny)) y=Ny-1;
|
||||
if (z<zStart) z=zStart;
|
||||
if (!(z<Nz)) z=Nz-1;
|
||||
int nlocal = k*(nx+2)*(ny+2) + j*(nx+2) + i;
|
||||
|
Loading…
Reference in New Issue
Block a user