aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/callbacks.py (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-03-14Sort `FieldProbe` output using probe particle ids (#3746)Gravatar Roelof Groenewald 2-22/+48
* Sort FieldProbe output using probe particle ids * increase noutputs by 1 rather than using +1 in several places * clean up comments * Improve inline comments Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2023-03-14remove spaces from headers in `FieldMaximum`, `RhoMaximum` and ↵Gravatar Arianna Formenti 3-15/+15
`ParticleNumber` red diags (#3751) * removed spaces from headers * removed spaces also from ParticleNumber red diag
2023-03-13NERSC: Update againGravatar Axel Huebl 1-0/+1
Missing newline
2023-03-13NERSC: Jupyter Kernel HelperGravatar Axel Huebl 1-0/+8
Make explicit what the NERSC docs skip.
2023-03-13Fix figure reference in docs for input+output (#3741)Gravatar Marco Garten 1-4/+3
2023-03-13Docs: fix default of `warpx.n_field_gather_buffer` (#3710)Gravatar Edoardo Zoni 1-12/+6
* Docs: fix default of `warpx.n_field_gather_buffer` * Add full syntax for default value
2023-03-13Deposition: Fix LB Cost Segfault (#3738)Gravatar Axel Huebl 2-3/+3
We sometimes call depositions before the load balance cost arrays are allocated, e.g., during initialization. In this case, we need to avoid writing into invalid memory.
2023-03-13AMReX: Weekly Update (#3750)Gravatar Axel Huebl 5-5/+5
2023-03-10PICMI: add missing flags for latest algorithms (#3743)Gravatar Edoardo Zoni 1-2/+76
* PICMI: add missing flags for latest algorithms * Fix docstrings
2023-03-10Fix Bucket __getattr__ (#3747)Gravatar David Grote 1-1/+1
2023-03-09Implement PICMI flag to set `compute_max_step_from_btd` (#3740)Gravatar Remi Lehe 1-0/+7
* Implement PICMI flag for setting max_step from btd * Update Python/pywarpx/picmi.py Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> --------- Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
2023-03-09Spack: OpenMP w/o GPU (#3744)Gravatar Axel Huebl 2-6/+6
Spack desktop environments: Make sure that we are explicit about not matching GPU packages if we want to build a pure OpenMP version on a GPU-enabled machine.
2023-03-09New user input for grid type (collocated, staggered, hybrid) (#3683)Gravatar Edoardo Zoni 65-267/+339
* Introduce `warpx.grid_type` parameter * Replace `or` with `||` * Update examples with new user input syntax * Fix `if` condition * Improve error message * Fix `if` condition * Fix bugs * Fix warning * Fix RZ * Debugging * Fix RZ * Fix bug * Clean up * More changes: - set default algo parameters with hybrid grid - all hybrid input parameters under warpx name * Set default field gathering algo for hybrid grids * Update documentation
2023-03-08Fix typo in a comment (#3736)Gravatar Pierre-Bartoli 1-2/+2
Co-authored-by: Pierre Bartoli <pierre.bartoli@cea.fr>
2023-03-08Fix handling of name passed into SetTag (#3735)Gravatar David Grote 2-10/+10
* Fix handling of name passed into SetTag * Make name a reference in AddToMultiFabMap
2023-03-08Doc: Fix Builds, Disable all but HTML (#3737)Gravatar Axel Huebl 6-19/+21
PDF builds are brittle from auto-converted doc files we include in the theory sections. Disable PDF, fix other build errors for HTML.
2023-03-07Add test for DD fusion with intra-species collisions (#3660)Gravatar Edoardo Zoni 4-0/+199
* Add test for DD fusion with intra-species collisions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix test, add analysis --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-07Fix `max_step` from `zmax_plasma...` upon restart (#3732)Gravatar Ryan Sandberg 3-6/+16
* fix zmax_plasma_... calculation upon restart * simple fix didn't work in all cases * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix indentation --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-07Docs: more structure in numerics input section (#3730)Gravatar Edoardo Zoni 1-74/+101
* Docs: more structure in numerics input section * Improve docs of `warpx.cfl` * Update Docs/source/usage/parameters.rst Co-authored-by: Ryan Sandberg <RSandberg@lbl.gov>
2023-03-06AMReX: Weekly Update (#3729)Gravatar Axel Huebl 5-5/+5
2023-03-04RZ FDTD: fix bug w/ div(E) cleaning (extra c2) (#3726)Gravatar Edoardo Zoni 1-2/+1
2023-03-03Moving window: shift G MultiFab w/ div(B) cleaning (#3725)Gravatar Edoardo Zoni 1-5/+33
2023-03-01Release 23.03 (#3719)Gravatar Axel Huebl 11-13/+13
* AMReX: 23.03 * PICSAR: 23.03 * WarpX: 23.03
2023-03-01GB: Added DOI (#3718)Gravatar Axel Huebl 2-3/+3
Added the DOI for the Gordon Bell 2022 paper.
2023-02-28AMReX: Weekly Update (#3715)Gravatar Axel Huebl 5-5/+5
2023-02-27Change plotfile RZ allowed diags to r,t from x,y (#3663)Gravatar Ryan Sandberg 40-137/+203
* change plotfile RZ allowed diag to r,t from x,y * Change labeling in checksums * add rz silver mueller analysis script * make analysis_silver_mueller_rz.py executable * change x,y fields to r,t in more tests * x->r in MR RZ checksums * correct analysis for plotfiles saved as 'boxlib' * add self to creator list * change rz diags in PICMI * correct PICMI changes * another y->t in an rz test * update picmi plotfile rz btd names * review suggestion to condense analysis * Apply suggestions from code review Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> --------- Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
2023-02-22Reduced diagnostics: charge on the embedded boundary (#3648)Gravatar Remi Lehe 14-27/+362
* Prepare structure to compute charge inside boundary * Add calculation without embedded boundaries * Use EB area fraction * Skip cells that are not cut-cells * Choose point outside of the EB * Skip covered or regular boxes * Only compile with EB and 3D support * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add test for charge on EB * Add automated test * Add automated Python test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Avoid compilation error * Enable PICMI test * Rename ChargeInsideBoundary to ChargeOnEB * Update comments * Add parser for weighting * Call weighting function * Call weighting function * Add documentation * Update Python test * Add Python test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix compilation errors * Fix access of attribute on GPU * Use difference in surface area * Pick smaller radius in test This is in order to avoid the influence of the boundaries * Update benchmark * Update benchmark * Properly add diagnostic * Update radius in analysis * Update analysis script * Relax tolerance * Fix tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update Python tests * Apply suggestions from code review Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> * Test one-eighth from Python * Add one-eighth charge in tests * Handle ChargeOnEB * Remove bug when handling charge on eb * Fix Python errors * Fix Python issues * Use more natural setting of tilebox --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
2023-02-22Doc: Lawrencium (LBNL) Machine (#3700)Gravatar Axel Huebl 3-3/+226
Document how to use the heterogeneous Lawrencium (LBNL) HPC cluster.
2023-02-22Fix getBulkMomentum for Maxwellian distributions (#3705)Gravatar David Grote 1-20/+21
* Fix getBulkMomentum for Maxwellian distributions * Add more "_rt" to real literals * More cleanup
2023-02-22Add option to increase `max_step` or `stop_time` to fill BTD (#3693)Gravatar Ryan Sandberg 5-8/+49
* add option to increase max_step to fill BTD * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * make sure code compiles locally * allow for unspecified max step if setting by BTD * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clarify docs, match default max_step value * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestions from code review shortening flag name * add example input script, fix bugf * check stop_time and max_step * account for stop time * Fix logic, improve documentation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-22Doc: Perlmutter 80 GB GPUs (#3706)Gravatar Axel Huebl 2-1/+10
Perlmutter (NERSC) now has 256 nodes with A100 that have 80 GB instead of 40 GB. Nice!
2023-02-21Fix Silver-Mueller boundary condition in 1D (#3703)Gravatar Remi Lehe 4-5/+82
* Fix Silver-Mueller boundary condition in 1D * Use WARPX_ZINDEX * Add automated test * Add benchmark
2023-02-21Doc: HPC build/bin (#3675)Gravatar Axel Huebl 11-9/+53
Hint where to find the executable after build.
2023-02-21AMReX: Weekly Update (#3701)Gravatar Axel Huebl 5-5/+5
2023-02-21Renamed "particle_vel" to "particle_mom" (#3672)Gravatar Davide Terzani 33-118/+146
* Renamed particle_vel to particle_mom * Changed vel to u * Updated gitignore with vscode-specific folder * Updated docs for single particle * Revert "Updated gitignore with vscode-specific folder" This reverts commit cb44ef8d66c123daa93d6a13d5a1d88416e866bb. * Fixed typo * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixed other typo * Add species indication in warning --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-21Add warning message in RZ for < 2 azimuthal modes (#3655)Gravatar Davide Terzani 1-0/+13
* Add warning message in RZ for < 2 azimuthal modes * Simplify if statements C++ operator precedence doesn't require double parenthesis in `if` statements Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2023-02-21GetExternalEBField: Use AMReX's CompileTimeOption ParallelFor (#3696)Gravatar Weiqun Zhang 4-14/+56
This greatly improves the performance on AMD and Intel GPUs when GetExternalEBField is not used.
2023-02-21Add FieldReduction and ParticleHistogram to PICMI (#3697)Gravatar David Grote 3-24/+137
* Added FieldReduction and ParticleHistogram to ReducedDiagnostics * Add tests to reduced_diags/PICMI_inputs_loadbalancecosts.py * Clean up ReducedDiagnostics setting of argv
2023-02-20add flag to picmi `FieldDiagnostic` for whether particle data should be ↵Gravatar Roelof Groenewald 1-0/+5
saved along with the field data (#3699)
2023-02-10Update Crusher Modules to cce/15.0.0 and others (#3688)Gravatar Marco Garten 2-5/+25
Module changes were suggested by HPE on 2023/02/08 due to problems with building ImpactX on cce/14.0.2. Hence we update WarpX dependencies accordingly, too.
2023-02-09Pass seed for gpu in ResetRandomSeed (#3682)Gravatar David Grote 1-4/+8
2023-02-08Updated gitignore with vscode-specific folder (#3685)Gravatar Davide Terzani 1-0/+5
2023-02-08CI & Bug Fixes: 1D & 2D Compile (#3680)Gravatar Axel Huebl 4-10/+102
* CI: 1D & 2D Compile Add a modern CI entry that compiles 1D and 2D with `-Werror` and many warnings enabled. * Fix: 1D Field Init in z * Fix 1D: filterCreateTransformFromFAB * CI Job: Rename * CI: 1D/2D EB Off Not yet working.
2023-02-08Fix bug in mirror with F,G fields (#3681)Gravatar Edoardo Zoni 1-24/+41
2023-02-07Bug fix: retain particles in boundary buffer during Redistribute() (#3679)Gravatar Roelof Groenewald 1-1/+2
2023-02-06Pre-Commit: Smaller Files & NB (#3678)Gravatar Axel Huebl 2-14/+17
* Pre-Commit: Smaller Files & NB - Reduce threshold of "large file" from 50KB to 40KB. - Remove Jupyter notebook output if present. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-06AMReX: Weekly Update (#3677)Gravatar Axel Huebl 5-5/+5
2023-02-03 Bug fix : Coarse patch dx for external field init (#3674)Gravatar Revathi Jambunathan 3-11/+18
* fix coarse patch dx for external field init * rename var * Update Source/Initialization/WarpXInitData.cpp Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * reset benchmark for PEC_mr test case --------- Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2023-02-03Clean warning on unused function (#3656)Gravatar Remi Lehe 1-2/+0
2023-02-03Add all the elements from Z=87 (Fr) to Z=100 (Fm) to the ionization table ↵Gravatar Luca Fedeli 3-7/+1787
(#3670) * add elements between Z=87 and Z=100 to the ionization table * update documentation