Skip to content

Reverse distributor#1025

Open
mrlag31 wants to merge 3 commits intoarborx:masterfrom
mrlag31:mls-rev-distributor
Open

Reverse distributor#1025
mrlag31 wants to merge 3 commits intoarborx:masterfrom
mrlag31:mls-rev-distributor

Conversation

@mrlag31
Copy link
Contributor

@mrlag31 mrlag31 commented Jan 16, 2024

This PR adds the "reverse distributor" and is a private type used later for the distributed moving least squares. It adds the DistributedValuesDistributor class in namespace Interpolation::Details which wraps around a Details::Distributor.

When querying a distributed tree, it will give back a list of index-rank pairs. DistributedValuesDistributor uses that list and creates an object that distributes values regarding it (and can repeat that last operation).

For example:

Process Indices Ranks Source values Distributed values
0 2 1 1 0 1 0 1 1 a b c y b x w
1 0 0 1 1 1 0 w x y z w w b

@aprokop aprokop self-assigned this Apr 8, 2024
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