updating segmented pp
This commit is contained in:
parent
4c84b322c4
commit
6c2ea29606
@ -32,12 +32,12 @@ double ReadFromBlock( char *ID, int iproc, int jproc, int kproc, int Nx, int Ny,
|
|||||||
|
|
||||||
int x,y,z,i,j,k;
|
int x,y,z,i,j,k;
|
||||||
// Get the list of blocks that contain the local rank
|
// Get the list of blocks that contain the local rank
|
||||||
int b0x =iproc*(Nx-2)/1024-1;
|
int b0x =iproc*(Nx-2)/1024;
|
||||||
int b0y =jproc*(Ny-2)/1024-1;
|
int b0y =jproc*(Ny-2)/1024;
|
||||||
int b0z =kproc*(Nz-2)/1024-1;
|
int b0z =kproc*(Nz-2)/1024;
|
||||||
int Bx =iproc*(Nx-2)/1024 +1;
|
int Bx =iproc*(Nx-2)/1024;
|
||||||
int By =jproc*(Ny-2)/1024 +1;
|
int By =jproc*(Ny-2)/1024;
|
||||||
int Bz =kproc*(Nz-2)/1024 +1;
|
int Bz =kproc*(Nz-2)/1024;
|
||||||
|
|
||||||
// arrays to hold the strings
|
// arrays to hold the strings
|
||||||
char LocalRankFilename[40];
|
char LocalRankFilename[40];
|
||||||
|
Loading…
Reference in New Issue
Block a user