← Back to team overview

dolfin team mailing list archive

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

 

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

-- 
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.





Follow ups

References