Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #524 from OP2/mixeddat_reversehalo
Browse files Browse the repository at this point in the history
* mixeddat_reversehalo:
  added 'reverse' kwarg for halo exchange on mixed dats
  • Loading branch information
wence- committed Apr 25, 2017
2 parents 98aab7b + b2261bc commit 200780c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyop2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2410,14 +2410,14 @@ def needs_halo_update(self, val):
d.needs_halo_update = val

@collective
def halo_exchange_begin(self):
def halo_exchange_begin(self, reverse=False):
for s in self._dats:
s.halo_exchange_begin()
s.halo_exchange_begin(reverse)

@collective
def halo_exchange_end(self):
def halo_exchange_end(self, reverse=False):
for s in self._dats:
s.halo_exchange_end()
s.halo_exchange_end(reverse)

@collective
def zero(self, subset=None):
Expand Down

0 comments on commit 200780c

Please sign in to comment.