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

Add: MultiFab::sum_unique #2909

Merged
merged 3 commits into from
Aug 10, 2022

Commits on Aug 9, 2022

  1. Add: MultiFab::sum_unique

    This provides a new method to sum values in a `MultiFab`.
    For non-cell-centered data, `MultiFab::sum` double counts box
    boundary values that are owned by multiple boxes. This provides
    a function that does not double count these and provides a
    quick way to get only the sum of physically unique values.
    ax3l committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    6f5256f View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Weiqun Zhang <WeiqunZhang@lbl.gov>
    ax3l and WeiqunZhang authored Aug 9, 2022
    Configuration menu
    Copy the full SHA
    4b530f0 View commit details
    Browse the repository at this point in the history
  3. Improve: local & cell-centered

    ax3l committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    d1cf355 View commit details
    Browse the repository at this point in the history