← Back to team overview

ufl team mailing list archive

Re: Scalars and Measures

 

The domain dimension is undefined. Use a Constant.

Martin
Den 5. jan. 2011 23.15 skrev "Johan Hake" <johan.hake@xxxxxxxxx> følgende:
> Hello!
>
> Why isn't the following valid:
>
> 5*dx
>
> It would be handy if it was :)
>
> UFL borks in the function:
>
> is_true_ufl_scalar(5)
>
> as the function only expects instances of Expr which an int or float are
not.
>
> Johan
>
> _______________________________________________
> Mailing list: https://launchpad.net/~ufl
> Post to : ufl@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ufl
> More help : https://help.launchpad.net/ListHelp

Follow ups

References