1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-12 16:55:37 +00:00

Faster halo exchange

This commit is contained in:
Peter Boyle 2023-10-19 18:16:23 -04:00
parent afe10ba2a2
commit e064f17346

View File

@ -137,8 +137,7 @@ public:
CoarseVector tin=in; CoarseVector tin=in;
texch-=usecond(); texch-=usecond();
// CoarseVector pin = Cell.Exchange(tin); CoarseVector pin = Cell.ExchangePeriodic(tin);
CoarseVector pin = Cell.ExchangeTest(tin);
texch+=usecond(); texch+=usecond();
CoarseVector pout(pin.Grid()); CoarseVector pout(pin.Grid());