zoomy_core.mesh.overlap#
The overlap of a coupled participant (overlapping Schwarz over preCICE, the Chorin march):
its mesh reaches layers cell rings across the coupled interface into the peer’s domain, the
outer boundary of those rings tagged tag. The rings (the overlap) hold the peer’s values; the
next layers rings of own cells (the mirror) are what the peer holds as its overlap.
Backend-neutral (numpy).
Module Contents#
Functions#
|
API#
- zoomy_core.mesh.overlap.overlap_layers(mesh, tag, layers)#
(overlap, mirror): the inner cells of the firstlayersface rings from the boundary faces taggedtag, and those of the nextlayersrings, each ring by ring in cell order.Raises if the mesh has no boundary
tag, or if it is too small for2 layersrings.