Skip to content
Snippets Groups Projects
Unverified Commit 0f842229 authored by Mike Campbell's avatar Mike Campbell Committed by GitHub
Browse files

Update eager.py

parent c3c3c83e
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment