From 005aa131299c74231c9797343982be1c2a5d1e08 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 25 Aug 2020 21:33:43 -0500 Subject: [PATCH] Doc fixes --- grudge/symbolic/operators.py | 9 ++++++--- grudge/symbolic/primitives.py | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/grudge/symbolic/operators.py b/grudge/symbolic/operators.py index 4ecd920c..df886d45 100644 --- a/grudge/symbolic/operators.py +++ b/grudge/symbolic/operators.py @@ -94,12 +94,12 @@ class Operator(pymbolic.primitives.Expression): """ .. attribute:: dd_in - an instance of :class:`~grudge.symbolic.primitives.DOFDesc` describing the + an instance of :class:`~grudge.sym.DOFDesc` describing the input discretization. .. attribute:: dd_out - an instance of :class:`~grudge.symbolic.primitives.DOFDesc` describing the + an instance of :class:`~grudge.sym.DOFDesc` describing the output discretization. """ @@ -477,7 +477,10 @@ class VandermondeOperator(ElementwiseLinearOperator): class MassOperatorBase(Operator): """ - :attr:`dd_in` and :attr:`dd_out` may be surface or volume discretizations. + Inherits from :class:`Operator`. + + :attr:`~Operator.dd_in` and :attr:`~Operator.dd_out` may be surface or volume + discretizations. """ def __init__(self, dd_in=None, dd_out=None): diff --git a/grudge/symbolic/primitives.py b/grudge/symbolic/primitives.py index 78261d65..0a490345 100644 --- a/grudge/symbolic/primitives.py +++ b/grudge/symbolic/primitives.py @@ -55,6 +55,8 @@ class ExpressionBase(prim.Expression): __doc__ = """ +.. currentmodule:: grudge.sym + DOF description ^^^^^^^^^^^^^^^ -- GitLab