If I have a linear form defined only in a subdomain
F = inner(grad(u), grad(u))*dx(1)
When this form is assembled, does dolfin iterate through all the elements, then checks whether that element belongs to the subdomain that defines the measure dx(1)
or not and assemble the form? Or it iterates only through the elements in subdomain?