ONly output final radius / sw in lbpm_morphopen_pp

This commit is contained in:
James E McClure
2016-11-09 11:27:55 -05:00
parent 898bdfc2ba
commit 53d56eb401

View File

@@ -481,13 +481,14 @@ int main(int argc, char **argv)
}
MPI_Allreduce(&count,&countGlobal,1,MPI_INT,MPI_SUM,comm);
sw = float(countGlobal)/totalGlobal;
if (rank==0)
{
}
if (rank==0){
printf("Final saturation=%f\n",sw);
printf("Final critical radius=%f\n",Rcrit);
}
}
// Restore the solid phase
for (int k=1; k<nz-1; k++){
for (int j=1; j<ny-1; j++){