Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support coupled volumes #285

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
use make_distributed_send_ref_holder
  • Loading branch information
majosm committed Feb 6, 2024
commit 949d5a08608231bcb567a311381c3a6b27d33c89
4 changes: 2 additions & 2 deletions grudge/trace_pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def __init__(self,
from pytato import (
make_distributed_recv,
make_distributed_send,
DistributedSendRefHolder)
make_distributed_send_ref_holder)

# TODO: This currently assumes that local_bdry_data and
# remote_bdry_data_template have the same structure. This is not true
Expand All @@ -734,7 +734,7 @@ def recv_single_array(key, remote_subary_template):
return remote_subary_template
else:
ary_tag = (local_part_id.volume_tag, comm_tag, key)
return DistributedSendRefHolder(
return make_distributed_send_ref_holder(
sends[key],
make_distributed_recv(
src_rank=remote_rank, comm_tag=ary_tag,
Expand Down
Loading