From 9525f3b831e38e4f159bf82f1e8e92a598db506b Mon Sep 17 00:00:00 2001 From: James E McClure Date: Tue, 19 Jun 2018 10:19:40 -0400 Subject: [PATCH] open --- tests/lbpm_morphopen_pp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lbpm_morphopen_pp.cpp b/tests/lbpm_morphopen_pp.cpp index 13df38fd..0f1e7bad 100644 --- a/tests/lbpm_morphopen_pp.cpp +++ b/tests/lbpm_morphopen_pp.cpp @@ -136,7 +136,7 @@ int main(int argc, char **argv) } } } - if (maxdist>100.f) maxdist=100.f; + if (maxdist>1.f*nprocx*nz) maxdist=1.f*nprocx*nz; MPI_Barrier(comm); // total Global is the number of nodes in the pore-space MPI_Allreduce(&count,&totalGlobal,1,MPI_DOUBLE,MPI_SUM,comm);