On Fri, Oct 16, 2009 at 03:12:41PM +0100, Garth N. Wells wrote: > > > Garth N. Wells wrote: > > Can we expose DOLFIN_PI when generating code via JIT for an Expression? > > > > Is there some Python magic going on because > > u = Expression("pi", V = V) > > compiles but > > u = Expression("DOLFIN_PI", V = V) > > doesn't. > > Garth
You don't need to expose DOLFIN_PI since pi is already defined in the generated code, I've used it a lot (but don't know where it comes from). -- Anders > > > > > > Garth > > _______________________________________________ > > DOLFIN-dev mailing list > > DOLFIN-dev@fenics.org > > http://www.fenics.org/mailman/listinfo/dolfin-dev > > > _______________________________________________ > DOLFIN-dev mailing list > DOLFIN-dev@fenics.org > http://www.fenics.org/mailman/listinfo/dolfin-dev
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@fenics.org http://www.fenics.org/mailman/listinfo/dolfin-dev