Skip to content

Commit

Permalink
discretization: use part_id instead of removed part_nr
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Mar 6, 2024
1 parent 4cab8a8 commit df1c6f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grudge/discretization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
.. autoclass:: DiscretizationTag
.. currentmodule:: grudge
Expand Down Expand Up @@ -311,7 +310,7 @@ def distributed_boundary_swap_connection(self, dd):

vtag = dd.domain_tag.volume_tag

return self._dist_boundary_connections[vtag][dd.domain_tag.tag.part_nr]
return self._dist_boundary_connections[vtag][dd.domain_tag.tag.part_id]

# }}}

Expand Down

0 comments on commit df1c6f2

Please sign in to comment.