aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/_libwarpx.py
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2020-03-20 08:47:27 -0700
committerGravatar GitHub <noreply@github.com> 2020-03-20 08:47:27 -0700
commitd55a5be512f0a7a7ce5aae52bbf89387d2d8b510 (patch)
treeccef23623a46803cd828056e6d5ec05b59dd8e57 /Python/pywarpx/_libwarpx.py
parent9abcc85a384d4c51dac246679bc3a8270b98fb87 (diff)
downloadWarpX-d55a5be512f0a7a7ce5aae52bbf89387d2d8b510.tar.gz
WarpX-d55a5be512f0a7a7ce5aae52bbf89387d2d8b510.tar.zst
WarpX-d55a5be512f0a7a7ce5aae52bbf89387d2d8b510.zip
plot_int for new diagnostics (#824)
* 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 * Capability to select fields in output files * EOL * revert to old inputs * const in right place * avoid brace initializer there * oops, fix logic error in is_in * user can choose flush interval, same behavior as plot_int * replace ter flush with dump to avoid confusion Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
Diffstat (limited to 'Python/pywarpx/_libwarpx.py')
0 files changed, 0 insertions, 0 deletions