Skip to content

Commit

Permalink
Give FlashFluxRegisters ways to accumulate data in registers (#3597)
Browse files Browse the repository at this point in the history
I introduce variant methods that allow adding to previously stored data
in Flash(-X) flux registers, rather than just copying over the older
data.

For Flash-X'ers: Something like this is needed to get flux correction
working in the nontelescoping variant of the current Spark Hydro
implementation.

## Summary

## Additional background

## Checklist

The proposed changes:
- [ ] fix a bug or incorrect behavior in AMReX
- [x] add new capabilities to AMReX
- [ ] changes answers in the test suite to more than roundoff level
- [ ] are likely to significantly affect the results of downstream AMReX
users
- [ ] include documentation in the code and/or rst files, if appropriate

---------

Co-authored-by: Weiqun Zhang <weiqunzhang@lbl.gov>
  • Loading branch information
kweide and WeiqunZhang committed Oct 31, 2023
1 parent be6c641 commit 601cc4e
Show file tree
Hide file tree
Showing 4 changed files with 544 additions and 272 deletions.

0 comments on commit 601cc4e

Please sign in to comment.