From e064f1734652e323c7e8a3f1e266e899ed8c734d Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 19 Oct 2023 18:16:23 -0400 Subject: [PATCH] Faster halo exchange --- Grid/algorithms/multigrid/GeneralCoarsenedMatrix.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Grid/algorithms/multigrid/GeneralCoarsenedMatrix.h b/Grid/algorithms/multigrid/GeneralCoarsenedMatrix.h index 3d051067..2b093923 100644 --- a/Grid/algorithms/multigrid/GeneralCoarsenedMatrix.h +++ b/Grid/algorithms/multigrid/GeneralCoarsenedMatrix.h @@ -137,8 +137,7 @@ public: CoarseVector tin=in; texch-=usecond(); - // CoarseVector pin = Cell.Exchange(tin); - CoarseVector pin = Cell.ExchangeTest(tin); + CoarseVector pin = Cell.ExchangePeriodic(tin); texch+=usecond(); CoarseVector pout(pin.Grid());