debug
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user