Bases: object
This class defines the interface for definition of subdomains. Alternatively, subdomains may be defined by a Mesh and a MeshFunction <std::size_t> over the mesh.
Constructor
Return geometric dimension
Return true for points inside the subdomain
Map coordinate x in domain H to coordinate y in domain G (used for periodic boundary conditions)
Overloaded versions
mark(mesh, dim, sub_domain, check_midpoint=true)
Set subdomain markers (std::size_t) for given topological dimension and subdomain number
The mesh to be marked.
The topological dimension of entities to be marked.
The subdomain number.
Flag for whether midpoint of cell should be checked (default).
mark(sub_domains, sub_domain, check_midpoint=true)
Set subdomain markers (std::size_t) for given subdomain number
The subdomain markers.
The subdomain number.
Flag for whether midpoint of cell should be checked (default).
mark(sub_domains, sub_domain, check_midpoint=true)
Set subdomain markers (int) for given subdomain number
The subdomain markers.
The subdomain number.
Flag for whether midpoint of cell should be checked (default).
mark(sub_domains, sub_domain, check_midpoint=true)
Set subdomain markers (double) for given subdomain number
The subdomain markers.
The subdomain number.
Flag for whether midpoint of cell should be checked (default).
mark(sub_domains, sub_domain, check_midpoint=true)
Set subdomain markers (bool) for given subdomain
The subdomain markers.
The subdomain number.
Flag for whether midpoint of cell should be checked (default).
mark(sub_domains, sub_domain, mesh, check_midpoint=true)
Set subdomain markers (std::size_t) for given subdomain number
The subdomain markers.
The subdomain number.
The mesh.
Flag for whether midpoint of cell should be checked (default).
mark(sub_domains, sub_domain, mesh, check_midpoint=true)
Set subdomain markers (int) for given subdomain number
The subdomain markers
The subdomain number
Flag for whether midpoint of cell should be checked (default).
mark(sub_domains, sub_domain, mesh, check_midpoint=true)
Set subdomain markers (double) for given subdomain number
The subdomain markers.
The subdomain number
Flag for whether midpoint of cell should be checked (default).
mark(sub_domains, sub_domain, mesh, check_midpoint=true)
Set subdomain markers (bool) for given subdomain
The subdomain markers
The subdomain number
Flag for whether midpoint of cell should be checked (default).
Set subdomain markers (std::size_t) on cells for given subdomain number
Set subdomain markers (std::size_t) on facets for given subdomain number
Snap coordinate to boundary of subdomain
The membership flag