Applying different valued matrix according to subdomain

Create a tensor function space of cellwise constant variables (DG 0).