I would suggest using ufl.conditional
, see: How to implement function with condition? - #3 by dokken
2 Likes
I would suggest using ufl.conditional
, see: How to implement function with condition? - #3 by dokken