From 9c23f712ee368c7b4524d3a11164937393e0d767 Mon Sep 17 00:00:00 2001
From: Thomas Gibson <gibsonthomas1120@hotmail.com>
Date: Tue, 25 May 2021 11:54:34 -0500
Subject: [PATCH] discretization: update docs

---
 grudge/discretization.py | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/grudge/discretization.py b/grudge/discretization.py
index ef7aab3c..8fdefc53 100644
--- a/grudge/discretization.py
+++ b/grudge/discretization.py
@@ -1,3 +1,9 @@
+"""
+.. currentmodule:: grudge
+
+.. autoclass:: DiscretizationCollection
+"""
+
 __copyright__ = """
 Copyright (C) 2015-2017 Andreas Kloeckner, Bogdan Enache
 Copyright (C) 2021 University of Illinois Board of Trustees
@@ -44,13 +50,6 @@ from meshmode.mesh import BTAG_PARTITION
 from warnings import warn
 
 
-__doc__ = """
-.. currentmodule:: grudge
-
-.. autoclass:: DiscretizationCollection
-"""
-
-
 class DiscretizationCollection:
     """A collection of discretizations on various mesh entities
     (volume, interior facets, boundaries) and associated element
@@ -66,8 +65,6 @@ class DiscretizationCollection:
 
     .. automethod:: discr_from_dd
     .. automethod:: connection_from_dds
-    .. automethod:: opposite_face_connection
-    .. automethod:: get_distributed_boundary_swap_connection
 
     .. automethod:: empty
     .. automethod:: zeros
@@ -541,7 +538,7 @@ class DiscretizationCollection:
 
     @property
     def ambient_dim(self):
-        """Return the geometric dimension."""
+        """Return the dimension of the ambient space."""
         return self._volume_discr.ambient_dim
 
     @property
-- 
GitLab