← Back to team overview

ufl team mailing list archive

Re: conditionals

 

On Sat, Jan 30, 2010 at 10:56:12AM +0000, Garth N. Wells wrote:
> 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

Yes, I think that's the idea. I also think Kristian implemented it at
some point but don't know if it works currently.

--
Anders

Attachment: signature.asc
Description: Digital signature


References