/usr/lib/python2.7/dist-packages/ufl/testobjects.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 | "Some premade objects useful for quick testing."
from ufl import *
cell = triangle
element = FiniteElement("CG", cell, 1)
v = TestFunction(element)
u = TrialFunction(element)
f = Coefficient(element)
velement = VectorElement("CG", cell, 1)
vv = TestFunction(velement)
vu = TrialFunction(velement)
vf = Coefficient(velement)
telement = TensorElement("CG", cell, 1)
tv = TestFunction(telement)
tu = TrialFunction(telement)
tf = Coefficient(telement)
|