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

Reply via email to