boundaries of subdomains #798
Replies: 4 comments 24 replies
-
This isn't exactly the same as 'internal boundaries in |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
This idea is fine. However, implementing this may not be completely straightforward. The reason why we are able to find those boundary faces in a reasonable time is that the second row of I think the easiest way to hack this together would be to create another In particular, implementing |
Beta Was this translation helpful? Give feedback.
-
Will this include only elements having a facet on the boundary or also elements that have only one node/edge at the boundary? The former can be done by a simple Edit: We should call it |
Beta Was this translation helpful? Give feedback.
-
I propose extending the
class Mesh
to provide some ability to return the boundary of subdomains, even for those cases where the subdomain boundary is not used as a boundary condition.scikit-fem/docs/examples/ex13.py
Lines 62 to 63 in 71eb03e
In Ex13 you use the boundary of the domain. But suppose the domain had an internal boundary between two subdomains. Would the following changes be a good idea?
Where
external=False
specifies you want the cells with edges on the boundary and non-boundary nodes inside the subdomain andexternal=True
means cells with edges on the boundary and non-boundary nodes outside the subdomain.Would these additions make it trivial to extend ex13 to measurements of flux across internal subdomain boundaries?
Is it worth extending the
Mesh.*_satisfying()
functions to have subdomain awareness?If these are good ideas, I'll start a branch for them.
Beta Was this translation helpful? Give feedback.
All reactions