Hi, thanks a lot for the fast reply.
What I am trying to do is just to import a 3D mesh generated with gmesh that has marked 3D subdomains (representing different materials) and 2D subdomains of the boundary marked to impose different boundary conditions.
Later in the code I will need to do the following three things:
being able to integrate separately on the 3D subdomains (like dx(1))
being able to integrate over 2D subdomains (ds(2) for example)
being able to impose Dirichlet BC on one of the marked subdomain of the boundary.
They seems to be super standard operation but I was not able to find a clean (or just working) way to do them.
Iacopo