From fa800347491790d09f62a50b97ce6fe53518fb0b Mon Sep 17 00:00:00 2001 From: JamesEMcclure Date: Mon, 13 Jan 2020 14:03:04 -0500 Subject: [PATCH] fixed redundant layer code --- analysis/SubPhase.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/analysis/SubPhase.cpp b/analysis/SubPhase.cpp index 8f86e977..0848ded1 100644 --- a/analysis/SubPhase.cpp +++ b/analysis/SubPhase.cpp @@ -160,9 +160,6 @@ void SubPhase::Basic(){ // If external boundary conditions are set, do not average over the inlet kmin=1; kmax=Nz-1; - if (Dm->BoundaryCondition > 0 && Dm->kproc() == 0) kmin=4; - if (Dm->BoundaryCondition > 0 && Dm->kproc() == Dm->nprocz()-1) kmax=Nz-4; - imin=jmin=1; // If inlet/outlet layers exist use these as default if (Dm->inlet_layers_x > 0) imin = Dm->inlet_layers_x;