Age | Commit message (Collapse) | Author | Files | Lines |
|
to 0.5 (#3007)
* change particle filter functor to be a boolean check instead of comparing to 0.5
* update documentation
* update doxygen
|
|
|
|
|
|
* Cleaned up handling of v_galilean
* Missed one
* Update Source/WarpX.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/WarpX.H
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/WarpX.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Particles/PhotonParticleContainer.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/FieldSolver/WarpXPushFieldsEM.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Diagnostics/ReducedDiags/FieldProbe.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Particles/WarpXParticleContainer.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Particles/WarpXParticleContainer.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Diagnostics/ReducedDiags/ParticleExtrema.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Particles/PhysicalParticleContainer.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Particles/PhysicalParticleContainer.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Utils/WarpXUtil.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Particles/RigidInjectedParticleContainer.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Particles/ElementaryProcess/QEDPairGeneration.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/Particles/ElementaryProcess/Ionization.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Update Source/FieldSolver/WarpXPushFieldsEM.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* More cleanup
* Reset Galilean Benchmarks
* For mirrors, now include the Galilean shift
* Removed the flag since it is true for all calls
* Fix Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.cpp
* Update Source/WarpX.H
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
|
|
Fix a typo in the `<digs>.adios2_engine.parameters.NumAggregators`
example.
|
|
Fix issues we encountered.
|
|
|
|
|
|
* add openPMD test for particle_fields_diags to CI
* Specify HDF5 for openpmd output in test
* remove unnecessary variable redefinition
* Increase tolerance for checksum check in single precision
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
* [Draft] openPMD: RZ Modes
* Change 'theta' to 't' and 'J' to 'j'
* Docs: openPMD rz notes
* editing docs openPMD RZ note
* erase cartesian E,B,j from openPMD rz diags list
* openpmd rz: theta->t, exclude xyz dumps
* openpmd rz: axes r,z, save as comp[mode][r][z]
* catch logic bugs tracking when in rz mode
* change return type to c++17 tuple in helper fn
* allow divB functor to store in theta mode
* tuple bindings / account for theta mode variables
* only r,t,z componets in RZ, separate rz field init
* separate rz field init, arbitrary diags in RZ
* docs: xyz comps in cartesian, rtz in rz geometry
* docs : remove mention of dump_rz_modes
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* clarify documentation of InitializeFieldFunctorsRZ
* n_rz_modes = 1 if not in RZ
* style change for brackets
* style, documentation, clarify magic constants
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add helper getVec
* transpose RZ openPMD data for proper viewing
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* safe for 2d and rz
* fix transpose order of limits, add tinyProfiler
* document transpose function, lack of optimization
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix divB num components
* keeping changes to openPMD+RZ, not general RZ
* divB made more similar to divE
* eliminate or document unused variables
* fix openPMD+RZ documentation
* change thetaMode parser to regex
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* replace n_rz_azimuthal_modes with warpx variable ncomps
* Ignore Unused Var in Cartesian
* add rz openpmd analysis
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix warnings: unused vars
* clarify documentation of dump_rz_modes
* cleaning up before sending to PR
* remove divB, divE, test in a different PR
* Update Source/Diagnostics/WarpXOpenPMD.cpp
fix Dxygen strings
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* clean up doxygen, note issue in divB
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixing rz_opmd test, still not passing
* Fix: Unused <diag>.dump_rz_modes
* updating openPMD+rz analysis
* Regression Setup: set `outputFile`
* Use HDF5 Backend
This is most likely installed by all developers, so we use it for
tests.
* Code Style Updates
* simplify test and reduce code redundancy
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* reduce redundancy 1 less line
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Keep HDF5
HDF5 is easier to install for developers and provided in CI.
* Style fixes
* Style fix
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
* openPMD: Handle Zero Particles Well
When a time step for output encounters zero particles in a species,
then we still want to dump them as "empty" species in openPMD. That
simplifies post-processing a lot and we have the mechanisms in
openPMD for it :)
* openPMD: Emtpy Particle Writes
Write empty records for iterations (steps or lab steps for BTD,
respectively) without particles in a species.
* Re-order: ED-PIC & Constant Particle Records
- set attributes once
- set constant records once
- clean up into appropriate functions
* Enable BTD for ADIOS :)
Works now as well :tada:
* Fix lingo in comments (Reva)
Thank you!! :)
Co-authored-by: Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
Co-authored-by: Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
|
|
* Refactoring
* Separate Arrays (Fine Patch)
* Add Aborts w/ Current Centering, MR
* Cleaning
* [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>
|
|
* Hybrid Algorithms: Add FDTD Support for Centering
* Current Centering Incompatible with Esirkepov Deposition
* Remove FDTD v. PSATD Runtime Conditions
* Add CI Test
* Rename coefs as coeffs in getFornbergStencilCoefficients
* amrex::Vector: Use at() Instead of Operator []
* Reset Benchmark
* Reset Benchmark
* Cleaning
* Reduce Size of New CI Test
* Reset Benchmark
* Fix Bug
|
|
|
|
|
|
|
|
* Streamline profiling documentation
* Add Updates: Full Profile, OLCF Links, Commas
* Spelling of Section Titles
* nsys: Add Environment Options
Especially for unwritable /tmp, which happens often in HPC.
* nsys: add mkdir for TMPDIR
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
* Update documentation
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
* Doc: Major Cori Update
Update Cori instructions after the major upgrade yesterday.
Before using the new modules, remove the old, pre-build software:
```bash
rm -rf $HOME/sw/knl $HOME/sw/haswell $HOME/sw/gpu $HOME/sw/cori_gpu
```
* Cori: Work-Around ADIOS 2.7.1 ZeroMQ
Disable due to https://github.com/ornladios/ADIOS2/issues/2709
* Fix haswell/knl mismatch
|
|
* minimum digits for plotfile cell and particle data is 5
* Apply suggestions from code review
* Update Source/Diagnostics/BTDiagnostics.cpp
* Apply suggestions from code review
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
- improve the `--force-reinstall` logic to not trigger a forced re-install
of WarpX Python dependencies
- install WarpX Python dependencies upfront
- add a first "testing" section to show how to run `./run_tests.sh` on Cori
|
|
Now that we support "dynamic" levels, we need to differentiate
between the maximum allowed refinement level (maxLevel) and the
currently maximum used level (finestLevel) of a simulation.
|
|
do_particles_in_pml (#2974)
|
|
* RZ: Use WarpX::ncomps more consistently
We used `2*modes - 1` in many places, which is harder to follow then
the variable we have.
* Update Comments
* Replace leftover `ncomp` -> `m_ncomps`
|
|
* CMake: ABLASTR as library
previously only an object collection.
* CMake: Fix `set_warpx_binary_name`
Should only change WarpX library and app build, not the library name
of ABLASTR.
* Use ABLASTR_ALWAYS_ASSERT_WITH_MESSAGE
Over AMReX and WarpX equivalent macros.
|
|
|
|
updates:
- [github.com/hadialqattan/pycln: v1.2.4 → v1.2.5](https://github.com/hadialqattan/pycln/compare/v1.2.4...v1.2.5)
- [github.com/mgedmin/check-manifest: 0.47 → 0.48](https://github.com/mgedmin/check-manifest/compare/0.47...0.48)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
* FAQ: Forward Declarations
* Fwd Declarations: Extend Example
|
|
* Langmuir 2D Tests: Better Analysis Plots
* Remove Unused Import
|
|
|
|
|
|
Just a missing space we saw in the warning message between the
sentences.
|
|
* Add ParticleReductionFunctor
* Adds a by-cell particle average diagnostic
* Averaged quantity is given by an input parser in (x,y,z,ux,uy,uz)
* Coordinates in these parsers are in the WarpX convention
* Users specify which species the averages are calculated for. The
averages are calculated for each given species individually.
* If there are no particles in a cell, the average will be zero.
* add documentation for ParticleReductionFunctor
* add test for cell-averaged particle diagnostics
* set benchmarks for praticle_fields_diags and particle_fields_diags_single_precision
* small changes to parameter docs and test script (addressing David's comments)
* Apply suggestions from code review
* remove unnecessary comments in python test script
* remove unused variable
* fixed inaccurate comments
* use static_cast<int> pattern
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add comment in ParticleReductionFunctor.H
* warpx.serialize_ics -> warpx.serialize_initial_conditions
* AMREX_SPACEDIM to WARPX_DIM_3D and WARPX_DIM_XZ
* fix compile errors from dimensionality conditionals
* fix compile errors
* Apply suggestions from code review
* clarify docs
* add include headers
* update docs
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
* WarpX/PICSAR Version Define: File
Move the `-D` defines that contain the latest WarpX commit to a
config file. Using always the latest commit counteracts `ccache`
since the signature of the compilation call changes every commit.
* Avoid Rebuilding WarpX.cpp
* Support WarpXVersion.H in GNU Make
* AMReX: Update to latest commit
Co-authored-by: Weiqun Zhang <weiqunzhang@lbl.gov>
|
|
* ABLASTR: Move TextMsg
Since this is used in a ABLASTR header, we need to compile this
in ABLASTR, so ImpactX can use it as well. Otherwise we have missing
symbols for that utility.
* Fix typo in GNUmake
* Apply Wording Update for Doxygen
Co-authored-by: Luca Fedeli <luca.fedeli@for.unipi.it>
|
|
* default CFL to 0.999 instead of 0.7, and update doc
* Apply suggestions from code review
* set CFL explicitly in tests to avoid failing tests
* set cfl to 0.7 in CI test ion_stopping
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
We automatically trigger a dependency to `mpi4py` when MPI is used.
This makes sure this requirement stays consistent.
|
|
* Clean Pip Staging Directory
The distutils staging (`build` -> `_tmppythonbuild`) directory that
pip uses to collect build artifacts is not by default cleaned between
multiple `pip` runs.
This can be confusing when we recompile, because old `libwarpx*` files
can be still in it that are not present in our own `build/lib/`.
This cleans that staging directory before builds now.
It also sets the whole `build_base` so that no artifact lands in the
default, which was `build/`. So far, `bdist.linux-x86_64/` still was
out-of-tree.
* Python_background_mcc_1d: Add CMake Options
Add missing CMake options in `WarpX-tests.ini`.
This must have been merged in parallel to when we modernized our
regression tests end of last year. #2556
|
|
* Clean up the use of ndt for collisions
* Update BackgroundStopping to match changes
|
|
|
|
|
|
|
|
* Added BackgroundStopping
* Added BackgroundStopping CI test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* For background stopping, allowed parsed background density and temperature
* Updated background stopping CI test
* For background stopping, temperature is specified in Kelvin
* Added documentation for background stopping
* Added ion stopping plus other fixes
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Made dt level dependent
* Revert "Made dt level dependent"
This reverts commit 1aed9654d24ff1411a7b5fd8558891e0688f0032.
The collisions should be done using the time step of the lowest level.
* Add a comment about dt
* Add const declaration
* Added comment regarding stopped particle
* Several fixes and clean up of the documentation
* Update CI benchmark
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
* initial work to add msg formatter
* wip
* replace AMREX_ALWAYS_ASSERT_WITH_MESSAGE with WarpX equivalent
|
|
|
|
|
|
|