This commit is contained in:
James McClure
2018-11-30 17:44:42 -05:00
parent 081342d8bd
commit 14a06a9066

View File

@@ -151,8 +151,8 @@ int main(int argc, char **argv)
n = k*Nx*Ny+j*Nx+i;
int idx = CM.Map(i,j,k);
if (idx < Np && !(idx<0)){
printf("idx=%i\n",idx);
if (idx < Np && !(idx<0)){
if (fabs(DenFinal[idx] - DenOriginal[idx]) > 1e-15){
final = DenFinal[idx];
original = DenOriginal[idx];
@@ -175,7 +175,7 @@ int main(int argc, char **argv)
}
}
}
/* if (rank==0) printf("Checking that the correct velocity is retained \n");
/* if (rank==0) printf("Checking that the correct velocity is retained \n");
// Swap convention is observed -- velocity is negative
double *Aeven,*Aodd,*Beven,*Bodd;
Aeven = new double[4*N];