aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-08-11Fix compilation issue with single-precision particles (#4174)Gravatar Remi Lehe 1-2/+2
2023-08-11Add Python wrapper to set the lens strength (#3748)Gravatar Remi Lehe 3-0/+39
* Add Python wrapper to set the lens strength * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Correct missing `c_real` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add assert message --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-10Fix continuous injection of lasers (#4112)Gravatar Edoardo Zoni 8-59/+76
* Fix continuous injection of lasers - define new member functions nLasers and nContainers; - loop over all containers, not just over all "species". * Fix update of injection position for lasers * Fix CodeQL issues * Fix style * Rename `ispecies` as `index` * Rename functions to update injection and antenna positions
2023-08-10Fix Python test due to recent openPMD-viewer update (#4177)Gravatar Remi Lehe 1-1/+1
2023-08-10AMReX: Weekly Update (#4172)Gravatar Axel Huebl 5-5/+5
2023-08-09Doc: Update License Notice (#4171)Gravatar Axel Huebl 3-18/+5
- We do not need to cover year ranges (just the starting range). - Update to exact wording of current notice texts.
2023-08-09Add write_diagonstics_on_restart input option (#4091)Gravatar David Grote 4-3/+13
* Add write_diagonstics_on_restart input option * Add doc to new variable Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Use correct time step --------- Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2023-08-09Doc: Gitter -> Discussions (#4168)Gravatar Axel Huebl 2-3/+3
As discussed last week, we have a hard time tracking the Gitter chat and organizing threads in it. GitHub discussions should simplify that.
2023-08-08Clang tidy CI test: add some misc-* checks (#4150)Gravatar Luca Fedeli 3-2/+5
* Clang-tidy CI test: add few misc checks * fix issue
2023-08-08remove unused function (#4151)Gravatar Luca Fedeli 1-21/+0
2023-08-08Fix typo in parameters.rst (#4152)Gravatar Luca Fedeli 1-1/+1
2023-08-08Clang-tidy CI test: add two performance checks (#4158)Gravatar Luca Fedeli 4-9/+11
2023-08-08[pre-commit.ci] pre-commit autoupdate (#4167)Gravatar pre-commit-ci[bot] 1-2/+2
updates: - [github.com/Lucas-C/pre-commit-hooks: v1.5.1 → v1.5.3](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.1...v1.5.3) - [github.com/hadialqattan/pycln: v2.2.0 → v2.2.1](https://github.com/hadialqattan/pycln/compare/v2.2.0...v2.2.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-08Clang tidy CI test: add 4 more readability-* checks to clang-tidy CI test ↵Gravatar Luca Fedeli 4-7/+7
(#4164) * clang-tidy CI test: add new readability checks * address issues found with clang-tidy
2023-08-07add back printing of warning messages at the end of the simulation (#4154)Gravatar Luca Fedeli 1-1/+2
2023-08-07Clang-tidy CI test: add 4 new readability checks (#4163)Gravatar Luca Fedeli 13-29/+33
2023-08-07Show compiler warnings with appleclang (#4166)Gravatar Grant Johnson 1-0/+2
2023-08-07Release 23.08 (#4165)Gravatar Axel Huebl 11-13/+13
* AMReX: 23.08 * PICSAR: 23.08 * WarpX: 23.08
2023-08-07Add a few abbreviations and terms to the glossary (#4143)Gravatar Roelof Groenewald 1-2/+9
* add several abbreviations and terms to the glossary * Apply suggestions from code review Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com> --------- Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com>
2023-08-04remove WarpX::GetInstance from WarpX::InitFromCheckpoint () (#4160)Gravatar Luca Fedeli 1-6/+4
2023-08-04move function from .H file to .cpp file (#4159)Gravatar Luca Fedeli 2-10/+13
2023-08-04WarpX: Rule-of-Five (#4155)Gravatar Axel Huebl 1-1/+12
Explicitly declares the copy and move constructors for the `WarpX` class. https://en.cppreference.com/w/cpp/language/rule_of_three
2023-08-02Clean up charge deposition code duplication (#4113)Gravatar Roelof Groenewald 2-92/+65
2023-08-01Clang tidy CI test: add almost all the cert-* checks (#4063)Gravatar Luca Fedeli 2-14/+35
2023-08-01[pre-commit.ci] pre-commit autoupdate (#4145)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/hadialqattan/pycln: v2.1.6 → v2.2.0](https://github.com/hadialqattan/pycln/compare/v2.1.6...v2.2.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-01Clang tidy CI test: add several readability checks to clang tidy CI test ↵Gravatar Luca Fedeli 41-226/+199
(#4124) * add few readability checks to clang-tidy CI test * address all the issues found with clang-tidy * fix bug * fixed bug * fix residual issue * fix issue found with clang-tidy
2023-08-01Refactoring: instantiate WarpX class via MakeWarpX function (#4104)Gravatar Luca Fedeli 8-29/+61
* move functions from main to WarpX class and make WarpX constructible only using factory method * instantiate WarpX via MakeWarpX static member function * test adding MakeWarpX to warpx_init in python wrapper * revert to the use of a simple pointer for the WarpX instance * fix issue * use finalize in python wrapper * change finalize order * move finalize * fix bug
2023-08-01Move GotoNextLine helper function into ablastr (#4139)Gravatar Luca Fedeli 8-26/+63
* move GotoNextLine helper function into ablastr * fixed bug * Update Source/ablastr/utils/text/StreamUtils.H Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2023-08-01Remove WarpX::GetInstance call from ParserFilter functor (#4132)Gravatar Luca Fedeli 6-15/+19
* remove WarpX::GetInstance from FilterFunctor * fix bug according to NeilZaim's suggestion * Time Doc Strings: Coarsest Level
2023-08-01move CheckGuardCells(amrex::MultiFab const& mf) function into anonymous ↵Gravatar Luca Fedeli 2-39/+40
namespace into warpx_init_data (#4141)
2023-07-31add mpi checks to clang-tidy CI test (#4135)Gravatar Luca Fedeli 1-0/+1
2023-07-31Update docs to mention updated signal handling for SIGILL (#4134)Gravatar Grant Johnson 1-2/+1
* Update docs to mention updated signal handling for SIGILL * Updated string
2023-07-31add a couple of performance checks to clang-tidy CI test (#4128)Gravatar Luca Fedeli 1-0/+2
2023-07-31Clang tidy CI test: add some modernize checks to clang-tidy CI test (#4133)Gravatar Luca Fedeli 20-47/+69
* Clang Tidy: add several modernize checks * eliminate file included in commit by mistake * fix bug
2023-07-31remove WarpX::GetInstance() from PoissonBoundaryHandler::definePhiBCs (#4130)Gravatar Luca Fedeli 2-7/+10
2023-07-31clang-tidy CI test: add misc-misleading-bidirectional check (#4140)Gravatar Luca Fedeli 1-0/+1
2023-07-31AMReX: Weekly Update (#4142)Gravatar Axel Huebl 5-5/+5
2023-07-28remove superfluous includes from LatticeElements (#4131)Gravatar Luca Fedeli 6-9/+0
2023-07-27Fix bug with MLMG solver, always pass ghost cells to `SumBoundary` (#4078)Gravatar Edoardo Zoni 4-66/+16
* Must pass number of ghost cells to call `SumBoundary` * Apply suggestions from #4093 * Add inline comments on possible performance optimization
2023-07-27Improve script to compute PSATD stencil (#4016)Gravatar Edoardo Zoni 2-153/+188
* Improve script to compute PSATD stencil * Make it work both in 2D and 3D * Parse input file into dictionary * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use more lists * Move parser function to separate file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use more lists * Apply suggestions from code review * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove TODO comment * Apply suggestions from code review * Apply suggestions from code review --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-27fix BTD doc (#4089)Gravatar Revathi Jambunathan 1-1/+15
* fix BTD doc * Apply suggestions from code review Axel's fix to typos Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> --------- Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2023-07-27Fix the writing of raw rho_fp (#4114)Gravatar David Grote 1-3/+4
2023-07-26Initialize variables at declaration if it improves readability (#4117)Gravatar Luca Fedeli 21-214/+107
* init some variables at declaration * make code more readable * avoid lossy function result cast * Update Source/Initialization/WarpXInitData.cpp Co-authored-by: Weiqun Zhang <WeiqunZhang@lbl.gov> * replace with equality * Revert "replace with equality" This reverts commit e3164f9e053d345b153d770ae107a7f68c4bb260. * Update Source/Diagnostics/ComputeDiagFunctors/ParticleReductionFunctor.cpp Co-authored-by: Weiqun Zhang <WeiqunZhang@lbl.gov> --------- Co-authored-by: Weiqun Zhang <WeiqunZhang@lbl.gov>
2023-07-26AMReX: Update (Plotfile Write) (#4126)Gravatar Axel Huebl 6-6/+6
* AMReX: Update (Plotfile Write) Update AMReX to latest `development` to include compile fixes for `ParticleTransformation` and plotfile writing. * Azure: Increase timeoutInMinutes 2hrs to 3hrs for uncached builds. Need to check why some of the combinations rebuild currently.
2023-07-26exclude cppcoreguidelines-init-variables (#4118)Gravatar Luca Fedeli 1-0/+1
2023-07-26remove unused upper_bound algorithm (#4123)Gravatar Luca Fedeli 2-50/+0
2023-07-26Tools: Update Copyright String (#4120)Gravatar Axel Huebl 1-3/+2
Use a modern, short version referring our license model and keep per-file autorship notes.
2023-07-25[pre-commit.ci] pre-commit autoupdate (#4115)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/hadialqattan/pycln: v2.1.5 → v2.1.6](https://github.com/hadialqattan/pycln/compare/v2.1.5...v2.1.6) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-25Clang tidy CI test: add modernize-concat-nested-namespaces check to clang ↵Gravatar Luca Fedeli 4-15/+8
tidy CI test (#4098) * clang-tidy CI test: add modernize-concat-nested-namespaces check * fix modernize-concat-nested-namespaces issue found with clang-tidy
2023-07-25WarpX class: move a couple of function definitions (#4097)Gravatar Luca Fedeli 2-20/+26
* move function declarations from WarpX.H to WarpX.cpp