diff --git a/meshmode/array_context.py b/meshmode/array_context.py index 619f44c822262d5d72d4c250a073f65f8c1c7d82..5ed7d88cd68558647fc80851cd52f166b07e0aae 100644 --- a/meshmode/array_context.py +++ b/meshmode/array_context.py @@ -83,16 +83,18 @@ class ArrayContext: return self.zeros(shape=ary.shape, dtype=ary.dtype) def from_numpy(self, array: np.ndarray): - """ + r""" :returns: the :class:`numpy.ndarray` *array* converted to the - array context's array type. + array context's array type. The returned array will be + :meth:`thaw`\ ed. """ raise NotImplementedError def to_numpy(self, array): - """ + r""" :returns: *array*, an array recognized by the context, converted - to a :class:`numpy.ndarray`. + to a :class:`numpy.ndarray`. *array* must be + :meth:`thaw`\ ed. """ raise NotImplementedError