From 608e2d7b41a84661758ccf6cb6412854b6592857 Mon Sep 17 00:00:00 2001 From: James McClure Date: Thu, 22 Aug 2019 10:55:14 -0400 Subject: [PATCH] remove debug statements --- models/ColorModel.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/models/ColorModel.cpp b/models/ColorModel.cpp index 17b3c7e4..1fda644d 100644 --- a/models/ColorModel.cpp +++ b/models/ColorModel.cpp @@ -946,13 +946,7 @@ double ScaLBL_ColorModel::ImageInit(std::string Filename){ MPI_Barrier(comm); ScaLBL_CopyToHost(Averages->Phi.data(),Phi,Nx*Ny*Nz*sizeof(double)); - - FILE *OUTFILE; - sprintf(LocalRankFilename,"Phase.%05i.raw",rank); - OUTFILE = fopen(LocalRankFilename,"wb"); - fwrite(Averages->Phi.data(),8,N,OUTFILE); - fclose(OUTFILE); - + double saturation = Count/PoreCount; return saturation;