From 3e9483820450f2fca43689387d042cb5e51e86c8 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 25 Aug 2023 17:31:28 -0400 Subject: [PATCH] Spread out improvement --- Grid/lattice/PaddedCell.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Grid/lattice/PaddedCell.h b/Grid/lattice/PaddedCell.h index 863d361a..b9788ad8 100644 --- a/Grid/lattice/PaddedCell.h +++ b/Grid/lattice/PaddedCell.h @@ -45,8 +45,9 @@ public: dims=_grid->Nd(); AllocateGrids(); Coordinate local =unpadded_grid->LocalDimensions(); + Coordinate procs =unpadded_grid->ProcessorGrid(); for(int d=0;d=depth); + if ( procs[d] > 1 ) assert(local[d]>=depth); } } void DeleteGrids(void) @@ -111,7 +112,7 @@ public: if(dim==0) conformable(old_grid,unpadded_grid); else conformable(old_grid,grids[dim-1]); - std::cout << " dim "<