/usr/share/doc/python-ufl-doc/demo/MassAD.ufl is in python-ufl-doc 2016.2.0-2.
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 | #
# Author: Martin Sandve Alnes
# Date: 2008-10-28
#
element = FiniteElement("Lagrange", triangle, 1)
u = Coefficient(element)
# L2 norm
M = u**2/2*dx
# source vector
L = derivative(M, u)
# mass matrix
a = derivative(L, u)
|