Initial Layering in the halo (so initial layer will not cause fluid to appear where Distance < Rcrit)

This commit is contained in:
James E McClure
2016-04-14 13:07:34 -04:00
parent 968feb1fbb
commit 3a88da2235

View File

@@ -239,7 +239,8 @@ int main(int argc, char **argv)
if (kproc == 0){
for(j=0; j<Ny; j++){
for(i=0; i<Nx; i++){
n = nx*ny + j*nx+i;
n = j*nx+i;
// n = nx*ny + j*nx+i;
if (id[n] == 0) id[n]=1;
}
}