aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/FiniteDifferenceSolver/ComputeDivE.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-07-27ParticleReal for external fields and collisions (#3262)Gravatar David Grote 17-312/+313
* Use ParticleReal consistently in GetExternalFields * Use ParticleReal in Collision code * Use ParticleReal in Algorithms/KineticEnergy.H * Fix _prt in Algorithms/KineticEnergy.H
2022-07-26Frontier: Update JobscriptGravatar Axel Huebl 1-2/+2
`--cpus-per-task=8` is currently not working
2022-07-25[pre-commit.ci] pre-commit autoupdate (#3261)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/hadialqattan/pycln: v2.0.3 → v2.0.4](https://github.com/hadialqattan/pycln/compare/v2.0.3...v2.0.4) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-25AMReX: Weekly Update (#3260)Gravatar Axel Huebl 5-5/+5
2022-07-24Bug fix for BTD - particle BA, and geom, same as field buffer (#3056)Gravatar Revathi Jambunathan 6-106/+160
* fix BTD particle container BA, geom, and add assert for probhi == 0 * fix bug with mesh-refinement * delete commented line * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * with offset added, we dont need the assert anymore * similar to plotfile, openpmd also initializes tmp from pinned pc, and no need to reset BA * commenting out the assert * changes consistent with #3201 * unused var warning fix * Compute snapshot box at init, expand and shrink buffer BA and particle BA before and after redistribute, close buffer when klab_current == k_lo for that buffer * unused var * turning off particle output in BTD CI tests for plotfiles * reset particle BA only if species output is finite * add particle output for plotfile format for BTD tests * add openpmd diags back in 2d test case * fix input to have the right format Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-24Poisson Solver: Fix Bug w/ Semi-coarsening and EB (#3247)Gravatar Edoardo Zoni 1-1/+1
2022-07-22Fixes to allow mixed precision, ParticleReal float, Real double (#3239)Gravatar David Grote 5-2143/+2143
* Fixes to allow mixed precision, ParticleReal float, Real double * Fix for the optical depth * A different way of fixing QuantumSynchrotronEvolveOpticalDepth * In the QED code, consistently use ParticleReal
2022-07-22CI: Add Missing Regression Analysis (NCI corrector) (#3252)Gravatar Edoardo Zoni 3-0/+84
2022-07-22Add Python Callback Call when Checkpointing Signal is Received (#3251)Gravatar Roelof Groenewald 3-1/+17
2022-07-22Fix a bug in GPU version of Hankel Transform (#3253)Gravatar Weiqun Zhang 1-6/+6
amrex::Array4 is a 4D array that can be accessed with three spatial indices plus an optional component index. We must always provide all three spatial indices even in 2D.
2022-07-19Docs: gaussian beam `q_tot` is not optional (#3249)Gravatar Neïl Zaim 1-1/+1
2022-07-19D-T fusion (#3153)Gravatar Remi Lehe 15-8/+868
* initial work * fixed bugs and added species * update documentation * delete unused file * Add properties for neutron, hydrogen isotopes, helium isotopes * Update code to be more consistent * Correct typo * Parse deuterium-tritium fusion * Start putting in place the files for deuterium-tritium * Update documentation * Prepare structures for deuterium tritium * Fix typo * Fix compilation * Add neutron * Add correct formula for the cross-section * Correct compilation error * Fix nuclear fusion * Reset benchmarks * Prepare creation functor for 2-product fusion * First implementation of momentum initialization * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use utility function for fusion * Minor modification of variable names * Fix GPU compilation * Fix single precision compilation * Update types * Use util function in P-B fusion * Correct compilation errors * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Correct errors * Update values of mass and charge * Correct compilation error * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Correct compilation error * Correct compilation error * Correct compilation error * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Reset benchmark * Use helium particle in proton-boron, to avoid resetting benchmark * Fixed proton-boron test * Revert "Fixed proton-boron test" This reverts commit 73c8d9d0be8417d5cd08a23daeebbc322c984808. * Incorporate Neil's recommendations * Reset benchmarks * Correct compilation errors * Add new deuterium tritium automated test * Correct formula of cross-section * Correct cross-section * Improve analysis script * Add test of energy conservation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add test of conservation of momentum * Progress in analysis script * Fix error in the initial energy of the deuterium particles * Add check of isotropy * Clean up the test script * Rewrite p_sq formula in a way to avoids machine-precision negative numbers * Add checksum * Clean up code * Apply suggestions from code review * Update PR according to comments * Update benchmark * Address additional comments * Numerical Literals Co-authored-by: Luca Fedeli <luca.fedeli@cea.fr> Co-authored-by: Neïl Zaim <49716072+NeilZaim@users.noreply.github.com>
2022-07-18Docs: New OLCF Machine (#3228)Gravatar Axel Huebl 4-0/+202
2022-07-18ABLASTR: Update Poisson Solver API (#3243)Gravatar Axel Huebl 2-14/+23
Update the Poisson Solver API to be more usable. Needed for ImpactX.
2022-07-18[pre-commit.ci] pre-commit autoupdate (#3246)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/hadialqattan/pycln: v2.0.1 → v2.0.3](https://github.com/hadialqattan/pycln/compare/v2.0.1...v2.0.3) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-18AMReX: Weekly Update (#3244)Gravatar Axel Huebl 5-5/+5
2022-07-14Remove Unused Allocations of Averaged MultiFabs (#3237)Gravatar Edoardo Zoni 1-18/+30
2022-07-14CMake: 3.20+ (#3196)Gravatar Axel Huebl 5-12/+6
We already use this version in ImpactX. The main reason is a severe simplifcation of CMake CUDA search logic that we can rely on. X-Ref.: https://github.com/AMReX-Codes/amrex/blob/2d931f63cb4d611d0d23d694726889647f8a482d/Tools/CMake/AMReXParallelBackends.cmake#L55
2022-07-13Refactor code in fusion module to avoid machine-precision issues (#3229)Gravatar Remi Lehe 3-14/+16
* Refactor code in fusion module to avoid machine-precision issues * Update formula
2022-07-12Fix: Write Used Inputs Once (#3234)Gravatar Axel Huebl 1-4/+6
Ooopsi, nearly killed a PFS again :D Only the IO processor should write this and not every rank on the planet.
2022-07-12Update 2D nuclear fusion test input file (#3230)Gravatar Neïl Zaim 2-65/+65
* Update 2D nuclear fusion test input file * Update Benchmarks
2022-07-12[pre-commit.ci] pre-commit autoupdate (#3226)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/hadialqattan/pycln: v1.3.5 → v2.0.1](https://github.com/hadialqattan/pycln/compare/v1.3.5...v2.0.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-12Add 2D tests for proton boron fusion (#2540)Gravatar Neïl Zaim 4-5/+391
* Add 2D tests for proton boron fusion * Apply suggestions from review * Fix WarpX-tests.ini * Update benchmarks
2022-07-11Docs: Update WarpX Reference (#3223)Gravatar Edoardo Zoni 1-2/+2
2022-07-09Cleanup how fields_to_plot = none is handled (#3219)Gravatar David Grote 7-21/+15
* For fields_to_plot=none, do allocation with ncomp=0 * Update AMReX Via ``` ./Tools/Release/updateAMReX.py ``` Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2022-07-09Release 22.07 (#3211)Gravatar Axel Huebl 12-18/+17
* AMReX: 22.07 * PICSAR: 22.07 * WarpX: 22.07 * SENSEI: Update to 4.0.0 * AMReX: 22.07-4-gcbdc6580ee Include SENSEI build fixes.
2022-07-08Improve Docs on max_grid_size/blocking_factor for RZ (#3221)Gravatar Edoardo Zoni 1-1/+2
2022-07-07Parse the quantity `zmax_plasma_to_compute_max_step` in PICMI (#3217)Gravatar Remi Lehe 1-0/+3
* Parse the quantity `zmax_plasma_to_compute_max_step` * Apply review comments
2022-07-06Initialize multi-physics module (ionization, QED) when restarting ↵Gravatar Remi Lehe 5-16/+29
simulations from checkpoints (#3194) * Move the initialization of multi-physics module earlier * Fix syntax error * Initialize multi-physics modules also when restarting the simulation
2022-07-05Add new entries in Physical Species properties (+ refactoring of the ↵Gravatar Luca Fedeli 23-362/+549
SpeciesPhysicalProperties file) (#3090) * initial work * fixed bugs and added species * update documentation * delete unused file * Add neutron * Fix nuclear fusion * Reset benchmarks * Update values of mass and charge * Correct compilation error * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-05[pre-commit.ci] pre-commit autoupdate (#3213)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/Lucas-C/pre-commit-hooks: v1.2.0 → v1.3.0](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.2.0...v1.3.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-05Merge `FillBoundary` and `NodalSync` (`OneStep_multiJ`) (#3169)Gravatar Edoardo Zoni 5-109/+53
* Merge `FillBoundary` and `NodalSync` (`OneStep_multiJ`) * `NodalSync` Not Needed Anymore
2022-07-02Use amrex::RandomNormal in Maxwell-Boltzmann momentum injection (#3209)Gravatar Neïl Zaim 6-172/+167
* Use amrex::RandomNormal in Maxwell-Boltzmann momentum injection * Remove factor sqrt(2) in std calculation * Update benchmarks * Increase relative tolerance for Python_background_mcc checksum * Update Source/Initialization/InjectorMomentum.H Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
2022-06-28[pre-commit.ci] pre-commit autoupdate (#3205)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/hadialqattan/pycln: v1.3.3 → v1.3.5](https://github.com/hadialqattan/pycln/compare/v1.3.3...v1.3.5) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-27AMReX: Weekly Update (#3204)Gravatar Axel Huebl 5-5/+5
2022-06-24Added `none` as an option for fields_to_plot (#2419)Gravatar David Grote 8-11/+92
* Added `none` as an option for fields_to_plot * Added CI test case * Further updates, for picmi and CI tests * Skip the call to amrex::WriteMultiLevelPlotfile when writing no fields * Now clears m_varnames_fields * Don't allocate m_mf_output if no varnames * Updated WarpX-tests.ini
2022-06-23Remove Unused Function `getcurrent` (#3197)Gravatar Edoardo Zoni 1-1/+0
2022-06-22AMReX/PICSAR: Weekly Update (#3192)Gravatar Axel Huebl 7-44/+44
* AMReX: Weekly Update * Reset: `reduced_diags_single_precision` * Reset: `background_mcc_dp_psp`
2022-06-21fix missing newline in documentation (#3193)Gravatar Luca Fedeli 1-0/+1
2022-06-20Remove temporary copy of MultiFab (#3190)Gravatar Marco Garten 1-10/+1
Use template specification of amrex::FillBoundary directly with comm_float_type in case of single-precision communication. Leave out FillBoundaryAndSync for now because it requires AMReX changes.
2022-06-20Use ablastr::utils::communication::FillBoundary instead of ↵Gravatar David Grote 1-2/+4
amrex::FillBoundary in PML_RZ (#3191)
2022-06-16Docs: Move LPI Experiment Citation (#3187)Gravatar Axel Huebl 1-5/+5
Moving a citation down to LPI.
2022-06-16Extract function for two-particle fusion reaction (#3175)Gravatar Remi Lehe 2-100/+192
* Extract function for fusion reaction between 2 particles * Extract function for two-particle momenta in fusion reaction * Apply suggestions from code review Co-authored-by: Neïl Zaim <49716072+NeilZaim@users.noreply.github.com> * Remove obsolete comment * Update Source/Particles/Collision/BinaryCollision/NuclearFusion/TwoProductFusionUtil.H Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: Neïl Zaim <49716072+NeilZaim@users.noreply.github.com> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
2022-06-15ABLASTR: Compute Phi (#2994)Gravatar Axel Huebl 7-267/+473
* ABLASTR: Compute Phi Expose the computation of the electro-static potential for relativistic beams via ABLASTR for ImpactX. * Add `ablastr::fields::computePhi` Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> * Cleanup: Old Comments Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2022-06-14CMake: Generalize `CMAKE_INSTALL_CMAKEDIR` (#3180)Gravatar Axel Huebl 2-7/+10
* CMake: Generalize `CMAKE_INSTALL_CMAKEDIR` Generalize the control of the global `CMAKE_INSTALL_CMAKEDIR` variable. This way, we can control the variable in superbuilds that include ABLASTR, e.g., in ImpactX. * WarpXFunctions: Remove Unused Python Not (yet) used.
2022-06-14AMReX/PICSAR: Weekly Update (#3177)Gravatar Axel Huebl 5-5/+5
* AMReX: Weekly Update * AMReX: Bump Once More to 1a2fc3dbee1ce0c168cdb66710458757e92a0605
2022-06-14CMake: AMReX_PIC (`-fPIC`) for ABLASTR (#3181)Gravatar Axel Huebl 1-1/+1
Make sure that AMReX is also built with position independent code if the corresponding ABLASTR option is set.
2022-06-14openPMD-api: 0.14.5 (#3171)Gravatar Axel Huebl 1-1/+1
Automatically pull the lastet openPMD-api release, 0.14.5.
2022-06-14[pre-commit.ci] pre-commit autoupdate (#3178)Gravatar pre-commit-ci[bot] 1-1/+1
updates: - [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-13Extend MCC to accurately treat relativistic particles (#3118)Gravatar Roelof Groenewald 15-227/+541
* initial commit for MCC to support relativistic particles * proper calculation of collision energy when target mass is not much greater than projectile mass * fix bug with scattered velocity rotation to lab frame * refactor the MCC sequence for clarity * use cross-section input to determine energy limits when calculating the maximum collision frequency * code cleanup * updated CI tests * added Collisions section to Implementation Details in docs * reset benchmark for mixed precision MCC test and other more code cleanup * fix issue with single precision and simplified implementation * use `double` for particle mass and energy calculations in MCC * added comment to ImpactIonization.H explaining why `double`s are used for `energy` and `mass` * switch to round off safe version of energy calculation and switched to using u instead of v for gamma*v in ParticleUtils.H * update documentation * simplified expression for collision energy, updated docs * Add comment that the direct solver can be replaced for the MLMG solver once the issue with that solver is fixed (in the 1d MCC test)