diff options
author | 2020-03-18 19:23:02 -0700 | |
---|---|---|
committer | 2020-03-18 19:23:02 -0700 | |
commit | 483f21073f3d9467b8127ca1f6903849ffbca1c3 (patch) | |
tree | 6ecb3512d8d2dd8629f1a71f3306551b124fc1ea /Source/Particles/ParticleCreation/SmartUtils.cpp | |
parent | 838fd08139efe4bfd7c6e502f7c828323c8d6869 (diff) | |
download | WarpX-483f21073f3d9467b8127ca1f6903849ffbca1c3.tar.gz WarpX-483f21073f3d9467b8127ca1f6903849ffbca1c3.tar.zst WarpX-483f21073f3d9467b8127ca1f6903849ffbca1c3.zip |
Averages to cell centers (#795)
* Start implementation of new averaging with staggering:
- face-to-cell-center and edge-to-cell-center replaced so far;
- TODO: node-to-cell-center and 1D behavior (AMREX_SPACEDIM=1).
* Continue implementation of new averaging with staggering:
- new function takes reference to single MultiFab (no vector);
- TODO: node-to-cell-center still in progress.
* Fix small bug and clean up
* Fix bug in loop over n=0,...,ncomp-1 and clean up
* Add Doxygen documentation and clean up
* Small clean-up in Doxygen documentation
* Compile in single precision: add _rt suffix to avoid unnecessary conversions
* Avoid accessing staggering index directly from IntVect in innermost loops
* Replace do-while loop with for loop (default ncomp=1)
* Remove temporary pointer and pass reference to MultiFab (instead of MultiFab*)
* Replace AMREX_LAUNCH_HOST_DEVICE_LAMBDA with ParallelFor
* Merge code refactoring suggested in PR #809
* Fix bug after fixing merge conflicts
* Restore Doxygen documentation after code refactoring
* Unify implementation for 2D and 3D when possible
* Fix bug in 2D (IntVect type is not dimension-agnostic)
* Use ParallelFor in 4D and remove intermediate overload
* Remove temporary Vector srcmf and avoid unnecessary copies
* Simplify function AverageAndPackVectorField
* Delete function PackPlotDataPtrs (not used anymore)
* Minor revisions
Diffstat (limited to 'Source/Particles/ParticleCreation/SmartUtils.cpp')
0 files changed, 0 insertions, 0 deletions