SubMesh of multiple subdomains

Issue #87 wontfix
Nico Schlömer created an issue

The syntax for extracting a submesh from a mesh is

submesh = SubMesh(mesh, subdomains, 24)

Sometimes, it is necessary to combine two or more subdomains into one submesh, e.g.,

submesh = SubMesh(mesh, subdomains, [24, 25])

See http://fenicsproject.org/qa/513/submesh-of-two-subdomains.

Comments (4)

  1. Martin Sandve Alnæs

    In other words, it would be nice if all places taking a subdomain id can take a tuple just as f*dx((24,25)).

  2. Log in to comment