From memory, there is a report on this on the Launchpad bug tracker. Maybe you could search for it and paste the link into the Bitbucket report?
Garth On 28 May 2013 20:37, Nico Schlömer <[email protected]> wrote: > Hi, > > when using lhs() or rhs() on an expression that happens to have no lhs or > rhs, e.g., > > { 0 } * dxeverywhere > > those routines will return > > <empty Form> > > When passing this to assemble(), it'll complain with > > ========= *snip* ========= > [...] > RuntimeError: Form is empty. Cannot pass to JIT compiler. > ========= *snap* ========= > > I posted something related as a bug, > https://bitbucket.org/fenics-project/dolfin/issue/44/assemble-0-vectors. > > Any quick and dirty workaround known for this? (e.g., how do I test if a > form is empty?) > > --Nico > > _______________________________________________ > fenics-support mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics-support > _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
