Add error message if facet normal is used in cell integrals

Issue #6 resolved
Martin Sandve Alnæs created an issue

From Johan Hake:

The following three lines give incomprehensible compilation error:

from dolfin import *
mesh = UnitSquare(2,2)
assemble(dot(mesh.ufl_cell().n,mesh.ufl_cell().n)*dx)

Similar checks can be implemented for all integration domain specific types.

Comments (8)

  1. Log in to comment