From 3542f51b22993fe9788804777c33c771cc3af0ec Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Fri, 24 Jul 2020 12:39:10 -0500 Subject: [PATCH] Doc tweaks in eager --- grudge/eager.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/grudge/eager.py b/grudge/eager.py index 71a01873..a67f2b46 100644 --- a/grudge/eager.py +++ b/grudge/eager.py @@ -38,6 +38,8 @@ from grudge.symbolic.primitives import TracePair __doc__ = """ .. autoclass:: EagerDGDiscretization +.. autofunction:: interior_trace_pair +.. autofunction:: cross_rank_trace_pairs """ @@ -198,7 +200,7 @@ def interior_trace_pair(discrwb, vec): return TracePair("int_faces", i, e) -class RankBoundaryCommunication: +class _RankBoundaryCommunication: base_tag = 1273 def __init__(self, discrwb, remote_rank, vol_field, tag=None): @@ -241,7 +243,7 @@ class RankBoundaryCommunication: def _cross_rank_trace_pairs_scalar_field(discrwb, vec, tag=None): - rbcomms = [RankBoundaryCommunication(discrwb, remote_rank, vec, tag=tag) + rbcomms = [_RankBoundaryCommunication(discrwb, remote_rank, vec, tag=tag) for remote_rank in discrwb.connected_ranks()] return [rbcomm.finish() for rbcomm in rbcomms] -- GitLab