lbpm_random_pp seems to work on hokiespeed
This commit is contained in:
parent
e30966d91d
commit
e2953090ee
@ -180,7 +180,7 @@ int main(int argc, char **argv)
|
||||
MPI_Bcast(&sizeY,1,MPI_INT,0,MPI_COMM_WORLD);
|
||||
MPI_Bcast(&sizeZ,1,MPI_INT,0,MPI_COMM_WORLD);
|
||||
|
||||
//if (rank==0) printf("Broadcast block at %i,%i,%i \n",x,y,z);
|
||||
if (rank==0) printf("Broadcast block at %i,%i,%i \n",x,y,z);
|
||||
|
||||
for (k=z;k<z+sizeZ;k++){
|
||||
for (j=y;j<y+sizeY;j++){
|
||||
@ -228,7 +228,7 @@ int main(int argc, char **argv)
|
||||
MPI_Allreduce(&count,&countGlobal,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD);
|
||||
sat = float(countGlobal)/totalGlobal;
|
||||
//if (rank==0) printf("New count=%i\n",countGlobal);
|
||||
//if (rank==0) printf("New saturation=%f\n",sat);
|
||||
if (rank==0) printf("New saturation=%f\n",sat);
|
||||
}
|
||||
|
||||
if (InitialWetting == 1) FlipID(id,nx*ny*nz);
|
||||
|
Loading…
Reference in New Issue
Block a user