From ecbe42df44ab90d5a78a4dc0c4dfd719101c58bb Mon Sep 17 00:00:00 2001 From: James E McClure Date: Fri, 5 Jun 2015 13:03:32 -0400 Subject: [PATCH] updated TestBlobAnalyze --- tests/TestBlobAnalyze.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/TestBlobAnalyze.cpp b/tests/TestBlobAnalyze.cpp index fa280702..69f83a30 100644 --- a/tests/TestBlobAnalyze.cpp +++ b/tests/TestBlobAnalyze.cpp @@ -231,6 +231,13 @@ int main(int argc, char **argv) Averages.ComputeLocalBlob(); Averages.Reduce(); + if (rank==0){ + FILE *PHASE; + PHASE = fopen("Phase.00000","wb"); + fwrite(Averages.SDn.get(),8,Nx*Ny*Nz,PHASE); + fclose(PHASE); + } + // Blobs.Set(Averages.BlobAverages.NBLOBS); int dimx = (int)Averages.BlobAverages.size(0); int dimy = (int)Averages.BlobAverages.size(1);