Skip to content

Commit 200780c

Browse files
committed
Merge pull request #524 from OP2/mixeddat_reversehalo
* mixeddat_reversehalo: added 'reverse' kwarg for halo exchange on mixed dats
2 parents 98aab7b + b2261bc commit 200780c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyop2/base.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,14 +2410,14 @@ def needs_halo_update(self, val):
24102410
d.needs_halo_update = val
24112411

24122412
@collective
2413-
def halo_exchange_begin(self):
2413+
def halo_exchange_begin(self, reverse=False):
24142414
for s in self._dats:
2415-
s.halo_exchange_begin()
2415+
s.halo_exchange_begin(reverse)
24162416

24172417
@collective
2418-
def halo_exchange_end(self):
2418+
def halo_exchange_end(self, reverse=False):
24192419
for s in self._dats:
2420-
s.halo_exchange_end()
2420+
s.halo_exchange_end(reverse)
24212421

24222422
@collective
24232423
def zero(self, subset=None):

0 commit comments

Comments
 (0)