← Back to team overview

ffc team mailing list archive

Re: division /

 

Yes, it's a bug. I think I fixed it now. Try again.

/Anders

On Fri, Sep 30, 2005 at 05:01:34PM +0200, Garth N. Wells wrote:
> Quoting Anders Logg <logg@xxxxxxxxx>:
> 
> > 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?
> 
> OK, looks like a bug then. If I do something like
> 
> c = Constant()
> a = v*f*c/c*dx
> 
> then in the header file for DOLFIN, the bilinear form wants two reals, rather
> than just one.
> 
> Garth
> 
> 
> >     
> > > 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
> > 
> > _______________________________________________
> > FFC-dev mailing list
> > FFC-dev@xxxxxxxxxx
> > http://www.fenics.org/cgi-bin/mailman/listinfo/ffc-dev
> > 
> 

-- 
Anders Logg
Research Assistant Professor
Toyota Technological Institute at Chicago
http://www.tti-c.org/logg/



References