From 7da7cd9cee97064b28f541c81c34e99331f57ab9 Mon Sep 17 00:00:00 2001 From: James McClure Date: Sun, 11 May 2014 12:10:58 -0400 Subject: [PATCH] changed mode for finalstate.tcat to append --- tests/lb2_Color_wia_mpi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lb2_Color_wia_mpi.cpp b/tests/lb2_Color_wia_mpi.cpp index 2dbd5df1..c00ca05e 100644 --- a/tests/lb2_Color_wia_mpi.cpp +++ b/tests/lb2_Color_wia_mpi.cpp @@ -2504,7 +2504,7 @@ int main(int argc, char **argv) // printf("Local File Name = %s \n",LocalRankFilename); FILE *FINALSTATE; if (rank==0){ - FINALSTATE= fopen("finalstate.tcat","w"); + FINALSTATE= fopen("finalstate.tcat","a"); fprintf(FINALSTATE,"%i %.5g ",timestep-5,dEs); // change in surface energy fprintf(FINALSTATE,"%.5g %.5g %.5g ",sat_w,paw_global,pan_global); // saturation and pressure fprintf(FINALSTATE,"%.5g %.5g %.5g ",awn_global,ans_global,aws_global); // interfacial areas