Dear FEniCS community,
I implemented a Poisson equation in dolfinx, and I tried to set the right-hand side of the equation to zero, like this:
a = u.dx(0)*v.dx(0)*dx
L = ScalarType(0.)*v*dx
problem = fem.petsc.LinearProblem(a, L, bcs=[])
In that case, I get the error
ufl.log.UFLException: This integral is missing an integration domain.
When I replace ScalarType(0.) with some tiny finite value though, like ScalarType(1e-100), the solution works fine.
Is there a way to make the case with a zero-valued right-hand side work?