← Back to team overview

ufl team mailing list archive

Re: [Bug 960000] [NEW] missing error message facet normal is used in cell integrals

 

Could this be one of the things UFL should check for (an algorithm to
check if a form is valid)?

On 20 March 2012 09:10, Johan Hake <960000@xxxxxxxxxxxxxxxxxx> wrote:
> Public bug reported:
>
> The following three lines give comprehensible compilation error:
>
> from dolfin import *
> mesh = UnitSquare(2,2)
> assemble(dot(mesh.ufl_cell().n,mesh.ufl_cell().n)*dx)
>
> ** Affects: ffc
>     Importance: Undecided
>         Status: New
>
> --
> You received this bug notification because you are a member of FFC Core
> Team, which is subscribed to FFC.
> https://bugs.launchpad.net/bugs/960000
>
> Title:
>  missing error message facet normal is used in cell integrals
>
> Status in FEniCS Form Compiler:
>  New
>
> Bug description:
>  The following three lines give comprehensible compilation error:
>
>  from dolfin import *
>  mesh = UnitSquare(2,2)
>  assemble(dot(mesh.ufl_cell().n,mesh.ufl_cell().n)*dx)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ffc/+bug/960000/+subscriptions


Follow ups