Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DistributionMapping::makeSFC - distribute to user-defined procs #957

Merged
merged 1 commit into from
Jun 1, 2020

Conversation

sayerhs
Copy link
Contributor

@sayerhs sayerhs commented Jun 1, 2020

Extends the makeSFC method to take an additional argument where the user can override the number of processes a BoxArray is distributed to.

/**
* if use_box_vol is true, weight boxes by their volume in Distribute
* otherwise, all boxes will be treated with equal weight
*/
static std::vector<std::vector<int> > makeSFC (const BoxArray& ba, bool use_box_vol=true);

Extends the makeSFC method to take an additional argument where the user
can override the number of processes a BoxArray is distributed to.
@WeiqunZhang WeiqunZhang self-requested a review June 1, 2020 20:42
@WeiqunZhang WeiqunZhang merged commit 79d62be into AMReX-Codes:development Jun 1, 2020
@sayerhs sayerhs deleted the f/sfc-nprocs branch June 1, 2020 20:58
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