ffc team mailing list archive
-
ffc team
-
Mailing list archive
-
Message #00344
Re: division /
On Fri, Sep 30, 2005 at 01:40:55PM +0200, Garth N. Wells wrote:
> Hi Anders,
>
> I noticed that while ffc does not allow division by constants, a/b does not raise
> an error. Might be good to print an error message - would be helpful for people
> who first try it, and read the manual later (if ever)!
FFC does allow division by constants:
c = Constant()
a = v*f/c*dx
I will add a note on this in the manual.
Or maybe you came across something that didn't work?
> BTW, the ffc manual is looking good and Chapter 5 is really helpful.
Thanks! It's just a start. It takes time to write manuals and it's a
bit boring but I'm trying to make some progress...
/Anders
Follow ups