← Back to team overview

ufl team mailing list archive

[Bug 426496] [NEW] No error message for restrictions in cell integrals

 

Public bug reported:

UFL does not complain about the following form:

L = v('+')*dx

This should give an error. Restrictions should not be allowed in cell
integrals and exterior facet integrals, only in interior facet
integrals.

To reproduce this, compile the following code with FFC:

element = FiniteElement("CG", triangle, 1)
v = TestFunction(element)
L = v('+')*dx

This is a summary of a bug report to the mailing list by Kristian
earlier.

** Affects: ufl
     Importance: Medium
         Status: New

** Changed in: ufl
   Importance: Undecided => Medium

-- 
No error message for restrictions in cell integrals
https://bugs.launchpad.net/bugs/426496
You received this bug notification because you are subscribed to UFL.

Status in Unified Form Language: New

Bug description:
UFL does not complain about the following form:

L = v('+')*dx

This should give an error. Restrictions should not be allowed in cell integrals and exterior facet integrals, only in interior facet integrals.

To reproduce this, compile the following code with FFC:

element = FiniteElement("CG", triangle, 1)
v = TestFunction(element)
L = v('+')*dx

This is a summary of a bug report to the mailing list by Kristian earlier.


Follow ups

References