From fc24878e2cdf60c140d8b1a23d82917073eac488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= <inform@tiker.net> Date: Wed, 26 May 2021 23:01:05 -0500 Subject: [PATCH] DiscretizationCollection.{nodes,normal}: add doc that returned arrays are frozen --- grudge/discretization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grudge/discretization.py b/grudge/discretization.py index fe9a52b9..5b232f54 100644 --- a/grudge/discretization.py +++ b/grudge/discretization.py @@ -615,7 +615,7 @@ class DiscretizationCollection: :arg dd: a :class:`~grudge.dof_desc.DOFDesc`, or a value convertible to one. Defaults to the base volume discretization. - :returns: an object array of :class:`~meshmode.dof_array.DOFArray`\ s + :returns: an object array of frozen :class:`~meshmode.dof_array.DOFArray`\ s """ if dd is None: dd = DD_VOLUME @@ -626,7 +626,7 @@ class DiscretizationCollection: r"""Get the unit normal to the specified surface discretization, *dd*. :arg dd: a :class:`~grudge.dof_desc.DOFDesc` as the surface discretization. - :returns: an object array of :class:`~meshmode.dof_array.DOFArray`\ s. + :returns: an object array of frozen :class:`~meshmode.dof_array.DOFArray`\ s. """ from arraycontext import freeze from grudge.geometry import normal -- GitLab