How to generate multiple subdomains based on each cell

See for instance: Is there a more efficient way to many integrals over subdomains? - #2 by dokken