diff --git a/common/TwoPhase.h b/common/TwoPhase.h index 76634e6f..beb7102b 100644 --- a/common/TwoPhase.h +++ b/common/TwoPhase.h @@ -1208,8 +1208,8 @@ void TwoPhase::PrintAll(int timestep){ void TwoPhase::PrintComponents(int timestep){ if (Dm.rank==0){ - printf("PRINT COMPONENT AVEREAGES: time = %i \n",timestep); - for (int b=0; b 0.0){ fprintf(NWPLOG,"%i ",timestep-5); fprintf(NWPLOG,"%i ",b); @@ -1242,11 +1242,12 @@ void TwoPhase::PrintComponents(int timestep){ fprintf(NWPLOG,"%.5g ",ComponentAverages_NWP(CMY,b)); fprintf(NWPLOG,"%.5g ",ComponentAverages_NWP(CMZ,b)); fprintf(NWPLOG,"%.5g ",ComponentAverages_WP(TRAWN,b)); - fprintf(NWPLOG,"%.5g\n",ComponentAverages_WP(TRJWN,b)); } + fprintf(NWPLOG,"%.5g\n",ComponentAverages_WP(TRJWN,b)); + } } fflush(NWPLOG); - for (int b=0; b 0.0){ fprintf(WPLOG,"%i ",timestep-5); fprintf(WPLOG,"%i ",b); @@ -1284,7 +1285,7 @@ void TwoPhase::PrintComponents(int timestep){ } } fflush(WPLOG); - +*/ } }