aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
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
2023-02-03Fix a bug in 1D PEC (#3669)Gravatar Prabhat Kumar 3-12/+38
* Fix a bug in 1D PEC * remove print statement used for debugging * reset benchmark for LaserInjection_1d because a bug was fixed in 1D pec * use correct data file in last commit for LaserInjection_1d * update benchmark for LaserAcceleration_1d since it uses pec * use data at correct time step * fix yt version to get nonzero particle output in LaserAcceleration_1d.json * fix yt version to get nonzero particle output in LaserAcceleration_1d.json
2023-02-03fix some issues in WarpX 1D (#3671)Gravatar Luca Fedeli 3-16/+32
2023-02-02RZ: abort if warpx.numprocs[0] > 1 with PSATD (#3615)Gravatar Olga Shapoval 1-0/+6
* RZ: added abort message if warpx.numprocs[0] > 1 is set. * Clean-up. * More clean-up. * Clean up alignment * Narrow down domain decomposition abort message to spectral solvers with RZ --------- Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
2023-02-02Docs: Update Crusher (OLCF) Submission (#3601)Gravatar Axel Huebl 1-1/+2
Update the Crusher (OLCF) job submission template as seen since the last system update by Weiqun. > now I get > srun: error: Unable to create step for job 238051: More > processors requested than permitted. > It seems that after the most recent shutdown of crusher a few days > ago, -c 8 no longer works. The mapping without -c 8 is probably > still fine, because I can see 64 unique GPUs, assuming we can trust > HIP's uuid. I checked the Frontier template and that one currently does not yet configure these options.
2023-02-02Doc: NAPAC22 DOI (#3614)Gravatar Axel Huebl 1-2/+3
Add the DOI to our NAPAC22 paper.
2023-02-02Release 23.02 (#3667)Gravatar Axel Huebl 11-13/+13
* AMReX: 23.02 * PICSAR: 23.02 * WarpX: 23.02
2023-02-02Doc: Add ARTEMIS Publications (#3647)Gravatar Axel Huebl 1-3/+15
* Docs: Add ARTEMIS Publication Add an ARTEMIS paper :) * Two More :) Co-authored-by: Zhi (Jackie) Yao <58234082+jackieyao0114@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Newline * Fix Space --------- Co-authored-by: Zhi (Jackie) Yao <58234082+jackieyao0114@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-02add elements from Z=55 to Z=85 to the ionization table (#3666)Gravatar Luca Fedeli 2-6/+2978
2023-02-02ADIOS2: Fix BTD Particle Resize w/ Empty Ranks (#3657)Gravatar Axel Huebl 1-0/+55
* ADIOS2: Fix BTD Resize w/ Empty Ranks For ADIOS2 BP4 and BP5 writes, setting an update of a variable's (openPMD record's) shape is not sufficient to drop all meta-data on disk. In situations where the last write to a BTD stage only adds further particles from a few ranks, we need to pad with zero-block writes so ADIOS2 `Put` gets called. Backend details: - BP4 (as of ADIOS 2.8): last MPI rank's `Put` meta-data wins - BP5 (as of ADIOS 2.8): everyone has to write an empty block * [Draft] Start Duplicating All Put Logic Jeeeeeze. * Better Work-Around Compact and general, including MR situations.
2023-02-01Use a simpler expression for particle energy for reduced diagnostics. (#3650)Gravatar David Grote 1-18/+8
2023-02-01Docs: Spack Binary Caches (#3628)Gravatar Axel Huebl 3-4/+25
Spack now has binary caches for some popular platforms. They are for rolling (`development`) and stable releases. Since Spack's official docs will point users to install the rolling release of Spack, we will document to use the rolling binary cache.
2023-02-01Docs: Summit Jupyter HDF5 Back (#3629)Gravatar Axel Huebl 1-9/+4
* Docs: Summit Jupyter HDF5 Back The issues on OLCF Jupyter to read HDF5 data from GPFS production directories have been resolved. We can use the previous work-around again and reads will not get stuck. * Simplify * Update File Systems
2023-02-01Perlmutter (NERSC): New Boost Module (#3651)Gravatar Axel Huebl 1-1/+1
Just like #3619, stolen from E4S-22.05 deployment path. ```console $ spack spec /lmdngkt boost@1.79.0%gcc@11.2.0+atomic+chrono~clanglibcpp~container~context~contract~coroutine+date_time~debug+exception~fiber+filesystem+graph~graph_parallel~icu+iostreams~json+locale+log+math~mpi+multithreaded~nowide~numpy~pic+program_options~python+random+regex+serialization+shared+signals~singlethreaded~stacktrace+system~taggedlayout+test+thread+timer~type_erasure~versionedlayout+wave cxxstd=17 patches=57a8401,a440f96 visibility=hidden arch=cray-sles15-zen3 ```
2023-02-01Fix NUniformPerCell for 1D (#3659)Gravatar David Grote 5-61/+61
* Fix NUniformPerCell for 1D * Fix CI benchmarks