Skip to content

Commit

Permalink
Give FlashFluxRegisters ways to accumulate data in registers (AMReX-C…
Browse files Browse the repository at this point in the history
…odes#3597)

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
2 people authored and guj committed Dec 13, 2023
1 parent a47d644 commit ecf024c
Show file tree
Hide file tree
Showing 4 changed files with 544 additions and 272 deletions.
Loading

0 comments on commit ecf024c

Please sign in to comment.