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 committed Mar 6, 2024
1 parent 0da9e04 commit 115ae85
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 @@ -313,7 +312,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 115ae85

Please sign in to comment.