fix mean width bug

This commit is contained in:
James E McClure 2019-04-15 15:21:10 -04:00
parent 93be749df5
commit 72f28e8cd0

View File

@ -127,9 +127,9 @@ int main(int argc, char **argv)
n = k*Nx*Ny+j*Nx+i; n = k*Nx*Ny+j*Nx+i;
// global position relative to center // global position relative to center
x = Dm->iproc()*(Nx-2)+i - CX; x = Dm->iproc()*(Nx-2)+i - CX - 0.1;
y = Dm->jproc()*(Ny-2)+j - CY; y = Dm->jproc()*(Ny-2)+j - CY - 0.1;
z = Dm->kproc()*(Nz-2)+k - CZ; z = Dm->kproc()*(Nz-2)+k - CZ -0.1;
//.............................................................................. //..............................................................................
// Single torus // Single torus