diff options
author | 2020-03-18 20:49:26 -0700 | |
---|---|---|
committer | 2020-03-18 20:49:26 -0700 | |
commit | 8d71f178e8e9995c2713e656ca1f761c574e3870 (patch) | |
tree | 4e4db28548c12c814ba2ce6fca57030a7d9ba5f2 /Source/Particles/ParticleCreation/SmartUtils.cpp | |
parent | 483f21073f3d9467b8127ca1f6903849ffbca1c3 (diff) | |
download | WarpX-8d71f178e8e9995c2713e656ca1f761c574e3870.tar.gz WarpX-8d71f178e8e9995c2713e656ca1f761c574e3870.tar.zst WarpX-8d71f178e8e9995c2713e656ca1f761c574e3870.zip |
Diagnostics reorganization skeleton (#809)
* 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).
* first implementation of Diags base classes
* add example, temporarily
* 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 more functions
* 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
* cleaning and initialize output mf
* use general average routine
* move flush in new class, and implemented the Plotfile derived class
* add comments
* eol
* free memory in destructor
* typo
* typo
* no need to clear MF pointers there
* though shalt not break existing tests
* FlushRaw doesnt have to be virtual for now
* The importance of being constant
* const in right place
Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
Diffstat (limited to 'Source/Particles/ParticleCreation/SmartUtils.cpp')
0 files changed, 0 insertions, 0 deletions