Hi fenics users!
I am trying to define a form in which one of the integrals is on a part of the domain defined by $ E = (x : a > \epsilon ) $ and $ a $ is a = Coefficient(Q)
where Q
is some scalar Finite Element space.
I thought to integrate on the whole domain the characteristic function of $ E $, using the conditional
function provided by UFL like this
Pen = conditional(gt(a,eps),1,0)*dx
but ffc
complains that this is an invalid expression, in particular the gt(a,eps)
.
What's my best option? How should I do this?
Thanks in advance!
Massimiliano