def __init__(self, function, argnum, intent=op2.READ): ufl.Coefficient.__init__(self, function.ufl_function_space()) self.argnum = argnum self.function = function # All arguments in expressions are read, except those on the # LHS of augmented assignment operators. In those cases, the # operator will have to change the intent. self.intent = intent