Skip to content

Sum boundary deter#4660

Closed
WeiqunZhang wants to merge 8 commits into
AMReX-Codes:developmentfrom
WeiqunZhang:sum_boundary_deter
Closed

Sum boundary deter#4660
WeiqunZhang wants to merge 8 commits into
AMReX-Codes:developmentfrom
WeiqunZhang:sum_boundary_deter

Conversation

@WeiqunZhang

Copy link
Copy Markdown
Member

For regression testing only

In the old approach, we make a temporary copy of the data, zero out the
original data, and then perform parallel add. In the new approach that
should be more efficient, we no longer need a temporary copy of the entire
data.

We have also added an optional argument that can be used to make SumBoundary
deterministic. Note that being deterministic does not mean the data are
consistent on shared nodes. For that, one still needs to call OverrideSync,
or FillBounaryAndSync.
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