ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #01709
Re: Scalars and Measures
On Wednesday January 5 2011 22:11:22 Martin Sandve Alnæs wrote:
> The check clearly succeeded, but a better message could be written of
> course.
:)
Johan
> Martin
>
> Den 6. jan. 2011 00.08 skrev "Johan Hake" <johan.hake@xxxxxxxxx> følgende:
> > On Wednesday January 5 2011 14:20:03 Martin Sandve Alnæs wrote:
> >> The domain dimension is undefined. Use a Constant.
> >
> > Ok, should there be some check further check that Meassure.__rmul__
>
> expects an
>
> > Expr as integrand?
> >
> > Johan
> >
> >> 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
References