/usr/lib/python2.7/dist-packages/ufl/pullbackof.py is in python-ufl 1.4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # FIXME: Finish the implementation of this type.
from ufl.operator import Operator
from ufl.common import EmptyDict
class PullbackOf(Operator):
"Pullback of form argument to reference cell representation."
__slots__ = ("_op",)
def __init__(self, f):
Operator.__init__(self)
self._f = f
error("Not fully implemented.")
def operands(self):
return (self._f,)
def free_indices(self):
return ()
def index_dimensions(self):
return EmptyDict
def shape(self):
return self._f.element().reference_value_shape()
|