From 5f2acca2ad3657e45e6acb22ed448e3a6076d228 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 26 Apr 2022 14:50:26 -0500
Subject: [PATCH] op: List exported symbols in __all__

---
 grudge/op.py | 46 ++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 42 insertions(+), 4 deletions(-)

diff --git a/grudge/op.py b/grudge/op.py
index 70bd1caf..5ed6e595 100644
--- a/grudge/op.py
+++ b/grudge/op.py
@@ -67,10 +67,10 @@ import numpy as np
 
 import grudge.dof_desc as dof_desc
 
-from grudge.interpolation import interp  # noqa: F401
-from grudge.projection import project  # noqa: F401
+from grudge.interpolation import interp
+from grudge.projection import project
 
-from grudge.reductions import (  # noqa: F401
+from grudge.reductions import (
     norm,
     nodal_sum,
     nodal_min,
@@ -85,7 +85,7 @@ from grudge.reductions import (  # noqa: F401
     elementwise_integral,
 )
 
-from grudge.trace_pair import (  # noqa: F401
+from grudge.trace_pair import (
     interior_trace_pair,
     interior_trace_pairs,
     connected_ranks,
@@ -95,6 +95,44 @@ from grudge.trace_pair import (  # noqa: F401
 )
 
 
+__all__ = (
+    "project",
+    "interp",
+
+    "norm",
+    "nodal_sum",
+    "nodal_min",
+    "nodal_max",
+    "nodal_sum_loc",
+    "nodal_min_loc",
+    "nodal_max_loc",
+    "integral",
+    "elementwise_sum",
+    "elementwise_max",
+    "elementwise_min",
+    "elementwise_integral",
+
+    "interior_trace_pair",
+    "interior_trace_pairs",
+    "connected_ranks",
+    "cross_rank_trace_pairs",
+    "bdry_trace_pair",
+    "bv_trace_pair",
+
+    "local_grad",
+    "local_d_dx",
+    "local_div",
+
+    "weak_local_grad",
+    "weak_local_d_dx",
+    "weak_local_div",
+
+    "mass",
+    "inverse_mass",
+    "face_mass",
+    )
+
+
 # {{{ common derivative "kernels"
 
 def _single_axis_derivative_kernel(
-- 
GitLab