From 5d03313a0be80bb22e6c500d30214a1846cc8f5f Mon Sep 17 00:00:00 2001 From: James E McClure Date: Sat, 6 Aug 2016 11:43:12 -0400 Subject: [PATCH] Pore size histogram working in lbpm_morph_pp --- tests/lbpm_morph_pp.cpp | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/tests/lbpm_morph_pp.cpp b/tests/lbpm_morph_pp.cpp index 2ff96c9f..533eb5ef 100644 --- a/tests/lbpm_morph_pp.cpp +++ b/tests/lbpm_morph_pp.cpp @@ -167,7 +167,7 @@ int main(int argc, char **argv) // Generate a histogram of pore size distribution // Get all local pore sizes (local maxima) if (rank==0) printf("Generating a histogram of pore sizes \n"); - int NumBins=100; + int NumBins=30; int *BinCounts; BinCounts = new int [NumBins]; int *GlobalHistogram; @@ -202,6 +202,7 @@ int main(int argc, char **argv) } } // Compute min and max poresize + if (rank==0) printf(" computing local minimum and maximum... \n"); MinPoreSize=MaxPoreSize=PoreSize[0]; for (int idx=0; idx