ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #00577
abs
Since FFC is about to move to UFL, I guess this is the best place to ask
certain questions now ;).
Will UFL support the absolute value of sums, e.g.
vector = VectorElement("Lagrange", "tetrahedron", 1)
scalar = Element("Lagrange", "tetrahedron", 1)
v = TestFunction(scalar)
u = Function(vector)
n = Function(vector)
L = v*abs(inner(u, n))*ds
This would be useful for upwinding fluxes.
Garth
Follow ups
-
Re: abs
From: Martin Sandve Alnæs, 2009-01-01