aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/GuardCellManager.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-19Docs: rst Formatting Issue in GB PaperGravatar Axel Huebl 1-6/+6
2022-12-16Add a new section on domain decomposition to the docs. (#3572)Gravatar Andrew Myers 5-90/+86
* Add a new section on domain decomposition to the docs. * Remove old parallelization section and migrate more info
2022-12-16Docs: add ``photo_species`` input param and fix typo (#3575)Gravatar Arianna Formenti 1-1/+5
* Docs: add photo_species input param and fix typo This PR makes the following changes to the _Input Parameters_ page of the documentation: - Adds the input parameter ``particles.photon_species`` to the Particle Initialization section. - Fixes a typo in the section _Lookup tables and other settings for QED modules_ under the bullet point about ``qed_qs.lookup_table_mode`` (from ``qed_bw.save_table_in`` to ``qed_qs.save_table_in``) * [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>
2022-12-15Refactor update of auxiliary data for electrostatic solver (#3573)Gravatar Remi Lehe 2-10/+4
* Refactor update of auxiliary data for electrostatic solver * [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>
2022-12-15Allow surface flux injection from the domain boundary (#3554)Gravatar David Grote 6-18/+59
* Fix to AddPlasmaFlux to allow flux surface to be on the domain boundary * Update FluxInjection3D.json since the particle positions changed * Update comments in AddPlasmaFlux
2022-12-13Fix Syntax in .zenodo.jsonGravatar Axel Huebl 1-0/+1
follow-up to last commit updating contributors
2022-12-13Typo: Fewer Ranks (Perf. Hint) (#3569)Gravatar Axel Huebl 1-2/+2
* Typo: Fewer Ranks (Perf. Hint) * fix warning message (space) Co-authored-by: lucafedeli88 <luca.fedeli@cea.fr>
2022-12-13Release 22.12 (#3565)Gravatar Axel Huebl 11-14/+14
* AMReX: 22.12 * PICSAR: 22.12 * WarpX: 22.12
2022-12-12CodeQL Filter: One Level DeeperGravatar Axel Huebl 1-0/+1
2022-12-12CI CodeQL: Filter Third Party (#3563)Gravatar Axel Huebl 2-0/+27
Filter out third party warnings, i.e., from AMReX, PICSAR, and openPMD.
2022-12-13[pre-commit.ci] pre-commit autoupdate (#3564)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/pycqa/isort: 5.10.1 → 5.11.1](https://github.com/pycqa/isort/compare/5.10.1...5.11.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-13Update documentation to compile and run on LUMI supercomputer (#3562)Gravatar Luca Fedeli 3-8/+57
* update example profile * update documentation for LUMI * Fix minor typo Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2022-12-09CI: CodeQL w/ 🔍Gravatar Axel Huebl 1-1/+1
2022-12-09Improve memory footprint for ParticleInitialize (#3392)Gravatar Revathi Jambunathan 5-38/+59
2022-12-09CI: Source Checks on ubuntu 22.04 (#3558)Gravatar Axel Huebl 1-1/+1
Updated Doxygen from 1.8.17 to 1.9.1
2022-12-09Renamed currents in Vay deposition from `j` to `D` (#3557)Gravatar Arianna Formenti 2-35/+36
* Renamed Vay currents from j to D * [pre-commit.ci] auto fixes from pre-commit.com hooks
2022-12-08CI: Concurrency Limit CodeQLGravatar Axel Huebl 1-0/+4
Same as other runners: aborts when new updates are pushed to safe CI time.
2022-12-08Add CodeQL workflow for GitHub code scanning (#3555)Gravatar lgtm-com[bot] 2-29/+63
* Add CodeQL workflow for GitHub code scanning * Remove: old LGTM config * Fix: CodeQL Deps Co-authored-by: LGTM Migrator <lgtm-migrator@users.noreply.github.com> Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2022-12-08Docs: Repo Vis Link (#3553)Gravatar Axel Huebl 1-1/+1
2022-12-08ABLASTR: Coarsen Functions (#3433)Gravatar Axel Huebl 32-546/+640
* ABLASTR: Coarsen Functions Move coarsen functions to ABLASTR. Rename by property of the coarsening function. * Remove unused imports Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
2022-12-08Highlights & References: Gordon Bell (#3552)Gravatar Axel Huebl 4-5/+25
* Highlights & References: Gordon-Bell Add our award-winning Gordon Bell paper in documentation :) * Update Landing Pages
2022-12-07PSATD: Implement First-Order Equations (#3466)Gravatar Edoardo Zoni 37-292/+957
* Implement First-Order PSATD Equations * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix Unused Parameter Warning * Fix RZ Build * Fix Normalization of G to Match PML * Add CI Test: 3D Uniform Plasma * Cleaning * Update 2D CI Checksums * Update 3D CI Checksums * Add F,G to CI Checksums of `uniform_plasma_multiJ` * Allow User to Choose First-Order v. Second-Order * Add WARPX_ALWAYS_ASSERT_WITH_MESSAGE * Rename New Class `PsatdAlgorithmFirstOrder` * Remove Inline Comment * Update RZ CI Checksums * Fix inline comment * Use auxiliary variables to avoid divisions * Use auxiliary variables to avoid divisions * Make `nci_psatd_stability` dir and merge inputs * Move all Galilean tests to `nci_psatd_stability` * Fix CI * Fix index for backward FFT of J Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-06Zenodo: Move Gunther to ContributorsGravatar Axel Huebl 1-5/+5
2022-12-07Fix the CUDA Aware part of the Perlmutter script. (#3549)Gravatar kngott 1-1/+1
As a Gordon Bell winner, I take no responsibility for this bug. But, I'll fix it. And it gives solid performance enhancement, so I will take responsibility for that. 😄
2022-12-06[pre-commit.ci] pre-commit autoupdate (#3547)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/mgedmin/check-manifest: 0.48 → 0.49](https://github.com/mgedmin/check-manifest/compare/0.48...0.49) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-05Update docutils version (#3546)Gravatar David Grote 3-281/+529
* Update Docs/Doxyfile * Update Docs/requirements.txt versions * Update Docs/source/index.rst
2022-12-02Check rho pointer in `if` conditions for charge deposition (#3544)Gravatar Edoardo Zoni 1-2/+4
2022-12-02Clean up examples folders (#3545)Gravatar Edoardo Zoni 146-307/+307
* Clean up examples folders * Use `snake_case` names * Rename `nci_corrector` as `nci_fdtd_stability`
2022-11-30PSATD: Rewrite Equations with/without Rho (#3343)Gravatar Edoardo Zoni 1-83/+64
2022-11-29Fix Esirkepov deposition in 1D (#3537)Gravatar Remi Lehe 3-22/+20
* Fix Esirkepov deposition in 1D * Clean up code * Update benchmarks * Update benchmark
2022-11-29[pre-commit.ci] pre-commit autoupdate (#3540)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-28fix bug with reduced diagnostic FieldProbe in 1d (#3535)Gravatar Roelof Groenewald 2-2/+5
2022-11-28enable the use of `FieldProbe` default parameter values (#3538)Gravatar Roelof Groenewald 3-38/+36
2022-11-28AMReX/PICSAR: Weekly Update (#3539)Gravatar Edoardo Zoni 5-5/+5
2022-11-24Take into account mean velocity in gaussian flux injection (#3514)Gravatar Remi Lehe 8-18/+325
* Take into account normal mean velocity in gaussian flux injection * Avoid negative u * Adjust threshold to switch from one method to the other * Fix compilation error * Fix compilation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Raise error if momentum is positive * Fix compilation * Add correct import statement * Fix compilation * Fix automated test * Update checksum * Relax tolerance * Add analysis script * Add CI test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add checksum file * Make the code clearer Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-24allow initial fields to be set through the picmi interface (#3536)Gravatar Roelof Groenewald 1-0/+29
2022-11-23Speed up Vay current deposition (#3529)Gravatar AlexanderSinn 1-95/+91
* Speed up Vay current deposition by about 3 times * add endif * test 2D * fix ( * cleaning + check if i_new == i_old
2022-11-22Assert for `diag_type` (prevent input typos) (#3532)Gravatar Revathi Jambunathan 1-0/+3
2022-11-21AMReX/PICSAR: Weekly Update (#3530)Gravatar Edoardo Zoni 6-5/+7
* AMReX/PICSAR: Weekly Update * Fix bug
2022-11-19Bugfix for "particle coordinates" with plane field probe reduced diagnostic ↵Gravatar Roelof Groenewald 2-45/+53
(#3497) * changed the method by which the grid coordinates are generated for "plane" field probe * use amrex::literals to avoid implicit cast * Restrict function arguments * make failing compilers happy Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2022-11-18PushPX: GPU kernel optimization (#3402)Gravatar Weiqun Zhang 3-46/+80
* PushPX: GPU kernel optimization The GatherAndPush kernel in the PushPX function has a very low occupancy due to register pressure. There are a number of reasons. By default, we compile with QED module on, even if we do not use it at run time. Another culprit is the GetExternalEB functor that contains 7 Parsers. Again, we have to pay a high runtime cost, even if we do not use it. In this PR, we move some runtime logic out of the GPU kernel to eleminate the unnecessary cost if QED and GetExternalEB are not used at run time. Here are some performance results before this PR. | QED | GetExternalEB | Time | |-----+---------------+------| | On | On | 2.17 | | Off | On | 1.79 | | Off | Commented out | 1.34 | Note that in the tests neither QED nor GetExternalEB is actually used at run time. But the extra cost is very high. With this PR, the kernel time is the same as that when both QED and GetExternalEB are disabled at compile time, even though both options are disabled at run time. More information on the kernels compiled for MI250X. The most expensive variant with both QED and GetExternalEB on has NumSgprs: 108 NumVgprs: 256 NumAgprs: 40 TotalNumVgprs: 296 ScratchSize: 264 Occupancy: 1 The cheapest variant with both QED and GetExternalEB disabled has NumSgprs: 104 NumVgprs: 249 NumAgprs: 0 TotalNumVgprs: 249 ScratchSize: 144 Occupancy: 2 * Fix Comments Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2022-11-18Adding an if statement for the last step diagnostic (#3436)Gravatar Yinjian Zhao 5-29/+19
* modified * Include max_step and stop_time as input parameters * Add comments * update * update * Fix CI test: apply suggestion from @ax3l * Do not force consistency between `max_step` and `stop_time` Co-authored-by: Dave Grote <grote1@llnl.gov> Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
2022-11-17Add Python interface for flux injection (#3486)Gravatar Remi Lehe 4-5/+27
* Update PICMI code * Upgrade picmistandard version * Update PICMI version and assert
2022-11-17BTD-RZ Add multiple modes (#3482)Gravatar Revathi Jambunathan 7-10/+213
* cell center BTD functors for RZ with openpmd * add RZ modes to output varnames too * update varnames once and set map for RZ fields in BTfunctor * clean commented line * Apply suggestions from code review From Axels' review Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * adding comments, doxygen, and clean-up * adding mulitple modes to RZ BTD * fix comment * fix bug using 2*nrz-1 , instead of nrz * add comments and clean up * fix typo * 1D * WARPX_DIM_XZ instead of 2D * Apply suggestions from code review suggestion from Edoardo Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> * remove BTD RZ field warning that does not apply anymore * BTD rz test for field using laser antenna * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * file starts with analysis * change analysis * fix typo * fix rz input so all snapshots are filled * remove plt from analysis script * initialize cell-centered data to 0 so that guard cells are initialized * Remi's suggestions Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * AllocInitMultifab to add mf to maps of mfs * fix path to analysis script * analysis script executable * a better and succint for loop * unused var * Update Source/Diagnostics/ComputeDiagFunctors/BackTransformFunctor.cpp Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> * fix unused var * add python path Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2022-11-17Doc: remove obsolete section on reading BTD data (#3527)Gravatar Remi Lehe 6-500/+4
* Doc: remove obsolete section on reading BTD data * Update doc * Remove additional files * Remove unused cells
2022-11-15Move shared functionality between `picmi.UniformDistribution` and ↵Gravatar Roelof Groenewald 1-63/+43
`picmi.AnalyticDistribution` into a parent class (#3476) * allow density function in picmi * created a new parent class to handle common functionality between `UniformDistribution` and `AnalyticDistribution` * fix bug caught by the `Python_Langmuir_rz_multimode` CI test * Place picmi inherited parent classes first to properly render documentation. * fix issue due to secondary parent class `init` not being called
2022-11-15AMReX/PICSAR: Weekly Update (#3522)Gravatar Axel Huebl 6-6/+16
* AMReX: Weekly Update * CMake: Fix -fPIC (for all shared builds) openPMD currently side-injects shared build defaults, thus this surfaced.
2022-11-14[pre-commit.ci] pre-commit autoupdate (#3524)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/hadialqattan/pycln: v2.1.1 → v2.1.2](https://github.com/hadialqattan/pycln/compare/v2.1.1...v2.1.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-14Abort when using Vay Deposition with FDTD (#3515)Gravatar Revathi Jambunathan 3-0/+8
Vay deposition is currently implemented only for PSATD.
2022-11-14Centralize the multi fab allocation (#3484)Gravatar David Grote 6-262/+326
* New Function to Allocate MultiFabs w/ Initial Value * Use New Function in PML Allocations * Added AllocInitMultiFab and multifab_map * Make initial_value argument of AllocInitMultiFab optional * More updates Added initialization for iMultiFabs Added imultifab_map Added initial values for several MFs Updated MF init for EB data * Small clean up of ncomps name * Added init value to rho_cp * Use AllocInitMultiFab in PML_RZ * RemakeMultiFab now calls AllocInitMultiFab * Fixed spelling of AddToMultiFabMap * Removed the initialization of charge_buf * Added commentation * Fix tag names for _aux MFs * Cleaned up code using temporaries in PML * Apply suggestions from code review * Added initial value to AliasInitMultiFab Co-authored-by: Edoardo Zoni <ezoni@lbl.gov> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>