Skip to content

Optimisation in parent_mesh_embedding#4906

Merged
connorjward merged 6 commits intomainfrom
leo/parent-mesh-embedding
Feb 23, 2026
Merged

Optimisation in parent_mesh_embedding#4906
connorjward merged 6 commits intomainfrom
leo/parent-mesh-embedding

Conversation

@leo-collins
Copy link
Copy Markdown
Contributor

Before, in order to get the mesh cell rank ownership on each process, we were interpolating a Constant(parent_mesh.comm.rank) into DG0 Function. Building the function space and generating the code was very slow.

We can just build visible_ranks on each process and do a halo exchange.

Comment thread firedrake/mesh.py Outdated
Comment thread firedrake/mesh.py Outdated
dham
dham previously approved these changes Feb 19, 2026
Comment thread firedrake/mesh.py Outdated
Comment thread firedrake/mesh.py Outdated
@connorjward connorjward merged commit 23a1a69 into main Feb 23, 2026
7 checks passed
@connorjward connorjward deleted the leo/parent-mesh-embedding branch February 23, 2026 11:09
j-bowhay pushed a commit to j-bowhay/firedrake that referenced this pull request Feb 24, 2026
connorjward pushed a commit that referenced this pull request Mar 3, 2026
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.

3 participants