diff --git a/doc/conf.py b/doc/conf.py index 6bb9487380141270dcbfcf88c7e5036935be7e91..d75d2aa2ac850052f2c0ad196affaea5b0ec9e98 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -325,6 +325,6 @@ intersphinx_mapping = { 'https://documen.tician.de/modepy/': None, 'https://documen.tician.de/pymbolic/': None, 'https://documen.tician.de/meshmode/': None, - #'http://documen.tician.de/loopy/': None, + 'http://documen.tician.de/loopy/': None, } autoclass_content = "both" diff --git a/doc/eager.rst b/doc/eager.rst new file mode 100644 index 0000000000000000000000000000000000000000..5d2bdd5b071a15623134a1f549589ce6d0178f13 --- /dev/null +++ b/doc/eager.rst @@ -0,0 +1,5 @@ +Eagerly-evaluated Operation +=========================== + +.. automodule:: grudge.eager + diff --git a/doc/index.rst b/doc/index.rst index b996c470ffc998618b118e815b05b1c42ff7e9be..6d7782bc950b12431961f3bd0b8ee30deba4d050 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -8,6 +8,7 @@ Contents: misc symbolic + eager Indices and Tables diff --git a/grudge/eager.py b/grudge/eager.py index ffea3b599312f30d82b300698e2dd207d86cbec7..07cb0f046c5cfb9187973b7b6fa44c4cb435cdab 100644 --- a/grudge/eager.py +++ b/grudge/eager.py @@ -36,7 +36,24 @@ from grudge.discretization import DGDiscretizationWithBoundaries from grudge.symbolic.primitives import TracePair +__doc__ = """ +.. autoclass:: EagerDGDiscretization +""" + + class EagerDGDiscretization(DGDiscretizationWithBoundaries): + """ + .. automethod:: project + .. automethod:: nodes + .. automethod:: grad + .. automethod:: div + .. automethod:: weak_grad + .. automethod:: weak_div + .. automethod:: normal + .. automethod:: inverse_mass + .. automethod:: face_mass + """ + def interp(self, src, tgt, vec): from warnings import warn warn("using 'interp' is deprecated, use 'project' instead.",