refactor open

This commit is contained in:
James E McClure committed 2018-06-19 07:46:09 -04:00
1 parent 2d2666ebd5
commit cd29c2c63a
1 file changed
+4
+4
View File
@@ -361,6 +361,10 @@ int main(int argc, char **argv)
MPI_Allreduce(&count,&countGlobal,1,MPI_DOUBLE,MPI_SUM,comm);
sw_new = countGlobal/totalGlobal;
sw_diff_new = abs(sw_new-SW);
if (rank==0){
printf(" %f ",sw_new);
printf(" %f\n",Rcrit_new);
}
}
if (sw_diff_new<sw_diff_old){