Bases: dolfin.cpp.mesh.Mesh
A SubMesh is a mesh defined as a subset of a given mesh. It provides a convenient way to create matching meshes for multiphysics applications by creating meshes for subdomains as subsets of a single global mesh. A mapping from the vertices of the sub mesh to the vertices of the parent mesh is stored as the mesh data named “parent_vertex_indices”.
Overloaded versions
SubMesh(mesh, sub_domain)
Create subset of given mesh marked by sub domain
SubMesh(mesh, sub_domains, sub_domain)
Create subset of given mesh marked by mesh function
SubMesh(mesh, sub_domain)
Create subset of given mesh from stored MeshValueCollection
The membership flag
Returns the ufl cell of the mesh.
The cell corresponds to the topological dimension of the mesh.
Returns the ufl Domain corresponding to the mesh.
Returns an id that UFL can use to decide if two objects are the same.