On Mon, Mar 30, 2009 at 09:28:00PM +0200, Johan Hake wrote: > On Monday 30 March 2009 21:23:49 [email protected] wrote: > > > On Fri, Mar 27, 2009 at 04:33:16PM +0100, Johan Hake wrote: > > >> On Thursday 26 March 2009 21:44:50 Anders Logg wrote: > > >> > FFC is now fully functional w.r.t. compilation of UFL forms, at least > > >> > judging by the demos in FFC which now all produce correct results. > > >> > > > >> > The Poisson demo in DOLFIN has also been moved to UFL. > > >> > > >> Should we also include the ufl version of the Poission python demo too? > > >> > > >> This could be done by putting: > > >> > > >> from dolfin import * > > >> try: > > >> from dolfin.ufl import * > > >> except: > > >> pass > > >> > > >> at the top of the poission demo. > > > > > > I don't think it's necessary. It would generally be good if we could > > > avoid try/except in demos as it obfuscates the code. > > > > In the long run I guess > > from dolfin import * > > does the same as > > from dolfin.ufl import * > > does now. > > Of course! > > I will just move all the files from from dolfin.ufl to dolfin and its done. > Then we will also remove from > > from ffc import * > > that now polute the namespace when also doing an > > from dolfin.ufl import *
Well, that's the main point. To make a release now which supports both FFC (.form) and UFL (.ufl). Then we can freely remove all the FFC specific stuff. -- Anders
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
