From 0f842229eae7c848592cbc47067189d374fb241d Mon Sep 17 00:00:00 2001 From: Mike Campbell <mtcampbe@illinois.edu> Date: Mon, 26 Oct 2020 11:16:49 -0700 Subject: [PATCH] Update eager.py --- grudge/eager.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/grudge/eager.py b/grudge/eager.py index efc60549..0d3a1fde 100644 --- a/grudge/eager.py +++ b/grudge/eager.py @@ -251,6 +251,11 @@ class EagerDGDiscretization(DGDiscretizationWithBoundaries): @memoize_method def normal(self, dd): + """Get unit normal to specified surface discretization, *dd*. + + :arg dd: a :class:`~grudge.sym.DOFDesc` as the surface discretization. + :returns: surface normal as :class:`~pymbolic.geometric_algebra.MultiVector`. + """ surface_discr = self.discr_from_dd(dd) actx = surface_discr._setup_actx return freeze( -- GitLab