← Back to team overview

dolfin team mailing list archive

Re: [Bug 497509] [NEW] Cannot assemble simple Expression (norm of Expression not working)

 

On Wed, Dec 16, 2009 at 06:59:33PM -0000, Johan Hake wrote:
> Public bug reported:
>
> from dolfin import *
> f = Expression("sin(3.0*x[0])*sin(3.0*x[1])*sin(3.0*x[2])")
> mesh = UnitCube(2,2,2)
> n = norm(f, mesh=mesh)
>
> Raise:
> UFLException: Unable to extract form data. Reason: Missing cell definition in form.
>
> ** Affects: dolfin
>      Importance: Undecided
>          Status: New

I'm on it.

--
Anders

-- 
Cannot assemble simple Expression (norm of Expression not working)
https://bugs.launchpad.net/bugs/497509
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.

Status in DOLFIN: New

Bug description:
from dolfin import *
f = Expression("sin(3.0*x[0])*sin(3.0*x[1])*sin(3.0*x[2])")
mesh = UnitCube(2,2,2)
n = norm(f, mesh=mesh)

Raise:
UFLException: Unable to extract form data. Reason: Missing cell definition in form.





References