← Back to team overview

ufl team mailing list archive

conditionals

 

In the UFL manual, there is a section on 'conditionals' (sec 2.11) but
I'm unsure of the what the intention is. Is the idea that they can be
used in forms? It would be really useful if I could do something like:

  un   = dot(u, n)
  cond = lt(un, 0.0)

and use 'cond' (= 0 or 1) in a form.

Garth



Follow ups