Skip to content

Share common Scatterer between Vectors on same FunctionSpace#4293

Open
chrisrichardson wants to merge 5 commits into
mainfrom
chris/vector-share-scatterer
Open

Share common Scatterer between Vectors on same FunctionSpace#4293
chrisrichardson wants to merge 5 commits into
mainfrom
chris/vector-share-scatterer

Conversation

@chrisrichardson

@chrisrichardson chrisrichardson commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Addresses #3065 by adding a Scatterer to FunctionSpace. All Functions created on a FunctionSpace now create a Vector with the same shared Scatterer.
Because all Vectors in the same FunctionSpace have the same parallel layout, a shared Scatterer should always work. The MPI_Request and the actual data, required during a scatter operation are external to the Scatterer so should not be affected by sharing the Scatterer itself.

@garth-wells

Copy link
Copy Markdown
Member

Can you describe the fix? Issue #3065 presents several options, with pros and cons.

@chrisrichardson
chrisrichardson marked this pull request as ready for review July 21, 2026 13:10
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.

2 participants