Hi there,
I assemble a left hand side by
a = kappa * inner(nabla_grad(u), nabla_grad(v)) * dx
A = assemble(A)
with a random field kappa in form of a fenics function, and solve my system.
After i refine the mesh and do the above again, i get
ufl.log.UFLException: An Integral without a Domain is now illegal.
which happens with dolfin-version 1.5, not with 1.2 or 1.4.
Ok, so i changed to
a = (kappa * inner(nabla_grad(u), nabla_grad(v))) * dx(mesh)
but this leads to
KeyError: Domain(Cell('triangle', 2), label='dolfin_mesh_with_id_952', data='<data with id 952>')
What i'm doing wrong?