Since it can be checked in UFL, I think that's the right place to
check it.
PS: Notice that this is bug 960000. Who will submit lucky bug nr
1000000? :-)
--
Anders
On Tue, Mar 20, 2012 at 03:43:16PM +0100, Kristian Ølgaard wrote:
> 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 <email address hidden> 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
> >
> >
> > 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~ufl
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~ufl
> More help : https://help.launchpad.net/ListHelp
Since it can be checked in UFL, I think that's the right place to
check it.
PS: Notice that this is bug 960000. Who will submit lucky bug nr
1000000? :-)
--
Anders
On Tue, Mar 20, 2012 at 03:43:16PM +0100, Kristian Ølgaard wrote: dot(mesh. ufl_cell( ).n,mesh. ufl_cell( ).n)*dx) dot(mesh. ufl_cell( ).n,mesh. ufl_cell( ).n)*dx) /bugs.launchpad .net/ffc/ +bug/960000/ +subscriptions _______ _______ _______ _______ _______ _____ /launchpad. net/~ufl /launchpad. net/~ufl /help.launchpad .net/ListHelp
> 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 <email address hidden> wrote:
> > Public bug reported:
> >
> > The following three lines give comprehensible compilation error:
> >
> > from dolfin import *
> > mesh = UnitSquare(2,2)
> > assemble(
> >
> > ** Affects: ffc
> > Importance: Undecided
> > Status: New
> >
> >
> > 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(
> >
> > To manage notifications about this bug go to:
> > https:/
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/