Skip to content

Make wrapping into the domain and a patch's node grid public - #32

Merged
max-models merged 2 commits into
develfrom
public-patch-geometry
Oct 28, 2026
Merged

max-models merged 2 commits into
develfrom
public-patch-geometry

Conversation

@max-models

Copy link
Copy Markdown
Owner
  • AMRHierarchy.wrap(points) (in place) and wrapped(points) (a copy, or the array itself when nothing needs wrapping): points beyond a periodic face moved back into the domain. Replaces the private _wrapped copies in cells and nodal.
  • AMRHierarchy.node_grid(patch): a patch's nodes as an mpifield.BlockGrid, for compiled kernels that run on a patch's node array; _stored_block shares its geometry.
  • AMRHierarchy.locate is profiled.

picnic used local copies of these; its PR follows.

@max-models
max-models merged commit db0a20c into devel Oct 28, 2026
15 checks passed
@max-models
max-models deleted the public-patch-geometry branch October 29, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant