Age | Commit message (Collapse) | Author | Files | Lines |
|
* allow Dirichlet BCs in r when r_min != 0 with ES RZ simulations
* handle the rmax boundary condition setting properly when rmin == 0
* add ability to specify rmin and rmax potentials through picmi
|
|
* AMReX: 22.01
* PICSAR: 22.01
* WarpX: 22.01
|
|
Add the new 1D/2D/3D/RZ AMReX and Python scripts in our user-facing
manual section for the LWFA test case.
|
|
Relax the pinned version of `matplotlib`, documented in our Spack
developer enviornment documentation. This caused problems (tried to
re-compile and did not find freetype) on Ubuntu 20.04. We pinned this
earlier, since yt was incompatible.
|
|
* Add PICMI Script for 2D Case
* Add PICMI Script for 3D Case
* Cleaning
* Add PICMI Script for 1D Case
* Add PICMI Script for RZ Case
* Remove Old PICMI Script
* Remove Old Test Python_LaserAccelerationMR
* inputs_3d: Move Inputs From runtime_params
* inputs_2d: Move Inputs From runtime_params
* Update PICMI Script for 2D Case
* Update PICMI Script for 3D Case
* inputs_1d: Move Inputs From runtime_params
* inputs_2d_rz: Move Inputs From runtime_params
* Rename inputs_2d_rz as inputs_rz
* Update PICMI Script for 1D Case
* Update PICMI Script for RZ Case
* inputs_rz: Fix Diagnostic Interval
* Fix Diagnostic Interval For All Inputs
* Add New Test For Each PICMI Script
* Remove Old PICMI Script From Workflow yml Files
* Dump RZ Modes for RZ Case
* LWFA PICMI: Add Shellbang
Add missing shellbang lines.
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
* Regression testing: Use mainline
* Update WarpX-tests.ini
- Add `cmakeSetupOpts =`
- Add `-DWarpX_DIMS`:
Not an AMReX convention, so we cannot rely on `dim = ...`
- Skip building unneeded tools
- Add `install_pip` target:
Calling `python -m pip wheel .` and install re-using the build
directory.
This is mainly for our CI Python regression scrips, users and package
managers should just use `python -m pip wheel .` and
`... install *whl` directly.
* LaserInjectionFromTXYEFile: General Exe
Generalize executable globber in script
* Docs: Update Regression Testing (CMake)
* Azure: Ninja Builds (CMake)
|
|
setuptools keeps breaking its API, which currently breaks `mpi4py`
installs. Until a new mpi4py release is cut, this will serve as a
work-around
|
|
* Modify WarpXFaceExtensions.cpp and WarpXInitEB.cpp.
* Remove an assertion.
* Update particle scraping for RZ
* Apply suggestions from code review
* Add automated test.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix CI issues
* Change permissions
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>
|
|
* Adding EB to PMLs
* Fix to guard cells
* Initializing EB data only if AMREX_USE_EB
* Not compiling at all EB initialization when EB is off
* Bug fix (wrong order of PML init arguments)
|
|
|
|
function now share mostly the same code (#2709)
|
|
* Initial attempt at moving function into LibWarpX
* Bugfix - undefined structs in get_particle_theta
This is untested, identified by IDE/visual inspection only
* Unify newlines
* Delete libwarpx.clight (duplicated picmi.py)
See picmi.constants.c
* Change function descriptive comment to docstring
Also remove extra newline in __init__ beginning.
* Replace pywarpx/_libwarpx calls appropriately
* Fix atexit register of finalize function
* Reorder WarpX.py imports for pre-commit
* Use picmi.Simulation.extension = libwarpx alias
This will hopefully preempt user script changes if we restructure things
to allow multiple WarpX runs to be done within a single Python script.
* Fix libwarpx ref in WarpX.getProbLo/getProbHi
* Update get_particle_boundary_buffer doc reference
|
|
* Start to add embedded BC in RZ.
* Add .
* Remove scaling
* Fix compilation error
* Update
* Can compile.
* Add call linop.setRZ(true).
* Remove lines 264 to 312 and 343 to 345.
* Add assert.
* Remove an assert.
* Add an automated test.
* Change to MLEBNodeFDLaplacian.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix compilation error
* Update the test selection
* Correct compilation error
* Move test to another worker
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add new required argument
* Update Examples/Tests/ElectrostaticSphereEB/inputs_rz
* Update Examples/Tests/ElectrostaticSphereEB/analysis_rz.py
* Update analysis script
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>
|
|
We can auto-deduct the return type of the tuples in the
particle moments lambdas by using the `amrex::makeTuple` factory
function.
|
|
We use this for ODR-friendly specifications of public functions in ABLASTR.
https://stackoverflow.com/a/22103109
|
|
PML. (#2665)
* add runtime option to use DM that is 'similar' to the mother grids in the PML.
* update amrex
* toggle similar dm
* add runtime option to use DM that is 'similar' to the mother grids in the PML.
* toggle similar dm
* bump tolerance
* document option
* Change default PML behavior for psatd_dive_test
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
|
|
* pre-commit: Python imports
Add two new Python rules to:
- remove unused imports
- sort imports according to PEP8
* pre-commit: Python imports
Add two new Python rules to:
- remove unused imports
- sort imports according to PEP8
`.editorconfig`: isort options
https://github.com/PyCQA/isort/wiki/isort-Settings
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* move import os (mpl)
* move import yt (mpl)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Cleanup around matplotlib.use
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Cleaning: double np and lib
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
Update AMReX to the latest `development`.
|
|
openPMD builds are stable enough to be default-ON.
Due to lacking heuristicst, we don't enable openPMD by default in GNUmake.
(Further environments hints, e.g. `PKG_CONFIG_PATH`, or a system-path install
are needed there.)
|
|
Call MLNodeLaplacian::setRZCorrect, even when it's redundant when the
coordinate system is 2d rz, so that the solver does not depend on the
coordinate system set in amrex::Geometry.
|
|
* Docs: `geometry.dims` option
Add a new, required option to specify the geometry of an
inputs file at runtime.
* Check & Report Runtime Dims Mismatch
* Examples: add `geometry.dims`
* Deprecation Warning: `geometry.coord_sys`
* PICMI: `geometry.dims`
* Improve error message
sounds a bit better
* Improve Doc Description
Co-authored-by: Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
Co-authored-by: Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
|
|
updates:
- [github.com/pre-commit/pre-commit-hooks: v2.4.0 → v4.0.1](https://github.com/pre-commit/pre-commit-hooks/compare/v2.4.0...v4.0.1)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
|
|
* AMREX_ALWAYS_ASSERT -> AMREX_ASSERT for deposition bounds checks
* fix unused
* Apply suggestions from code review
* Apply suggestions from code review
* Simpler ignore + comment
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
* Update Scripts to Handle New File Names
* Use glob in Analysis of Collision Tests
* Use rstrip in Analysis of Collision Tests
* Regex: Match ends-in-digits
Thanks Phil! :)
Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
Co-authored-by: Phil Miller <unmobile+gh@gmail.com>
|
|
|
|
* Wrap shared object in a class to control its loading
* Fix libwarpx attribute references
* Updated callbacks.py for updated libwarpx
* Removed the wx module plus other clean up
* Further revision of how to use the pywarpx module.
Now, _libwarpx should not be imported by external scripts except in special circumstances.
* Updated documentation
* Clean up end of line whitespace
* Added more wrapping routines plus some clean up
* Fixed use of pywarpx in two examples
* Fix for getistep
* Fixed for the EB Python interface
* Silence a warning for our wrapper
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
* AMREX_SPACEDIM : EB and Filter
* AMREX_SPACEDIM : Laser
* AMREX_SPACEDIM : Utils
* AMREX_SPACEDIM : Diagnostics
* Fix Typo
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* AMREX_SPACEDIM : Warpx.cpp
* Update Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
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>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
* Doxygen: Fix Diags, FieldSolver, Parallelization & Particles
* Apply suggestions: Remi
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
* Apply suggestions: Roelof
Co-authored-by: Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com>
* Apply suggestions: Luca
Co-authored-by: Luca Fedeli <luca.fedeli@for.unipi.it>
* Apply suggestions: Edoardo
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Apply suggestions: Andrew
* Apply suggestions: Edoardo
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Apply suggestions: Neil
Co-authored-by: Neïl Zaim <49716072+NeilZaim@users.noreply.github.com>
* Apply suggestions: Roelof
* Apply suggestions: Weiqun
Co-authored-by: Weiqun Zhang <WeiqunZhang@lbl.gov>
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Co-authored-by: Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com>
Co-authored-by: Luca Fedeli <luca.fedeli@for.unipi.it>
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: Weiqun Zhang <WeiqunZhang@lbl.gov>
|
|
* ABLASTR: Cleanups
- lowercase dir
- nested directories
- nested namespaces
- functions: lowercase and snake_case
- templates: prefix with `T_`
- profiler: doc strings
* Add: Particle Moments
Co-authored-by: Remi Lehe <rlehe@lbl.gov>
Co-authored-by: Remi Lehe <rlehe@lbl.gov>
|
|
Sometimes, the Azure Pipelines Cache tasks fail because the service is not available, either for download or upload after a successful job. This marks the cache restore and upload steps as allowed to fail.
|
|
* Modified 'averaged_galilean_3d_psatd' CI test to lower its run time.
* Modified 'comoving_2d_psatd_hybrid' CI test to lower its run time.
* Modified 'galilean_2d_psatd_hybrid' CI test to lower its run time.
* Updated benchmarks.
|
|
* Docs: Perlmutter Early Science
Document how to perform large runs.
* Change comment style
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
|
|
Document setting up `c-blosc` on Cori for fast, lossless ADIOS2 openPMD output compression.
|
|
* Examples: Python ShellBang & Executable
Make sure that all PICMI scripts and all analysis Python scripts
in `Examples/` are:
- executable (`chmod a+x`)
- start with a shell-bang to `python3`
Now, all scripts can be run directly without a `python3 ...` prefix
and also default to the only right executable of Python on older
systems. (New systems always have a `python3` alias, too.)
* Revert a moved numpy
|
|
We compare field and particle tolerances now without silver files,
using our checksum API.
This allows us to reduce CI time a bit by skipping the build of
plotfile tools.
|
|
|
|
This failed in other PRs:
```
PermissionError: [Errno 13] Permission denied: './analysis.py'
```
|
|
Prepare to enable autofix bot from https://pre-commit.ci
|
|
|
|
* Refactor DepositCharge so it can be called from ImpactX.
* change thread_num
* Fix namespace
* remove all static WarpX:: members and methods from DepositChargeDoIt.
* fix unused
* Don't access ref_ratio unless lev != depos_lev
* more unused
* remove function to its own file / namespace
* don't need a CMakeLists.txt for this
* lower case namespace, rename file
* Refactor: Profiler Wrapper
Explicit control for synchronization instead of global state.
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
* Adding edge_lengths and face_areas to the Python interface
* Added wrappers for the two new arrays of data
* Adding a CI test
* Fixed test name
* Added customRunCmd
* Added mpi in test
|
|
* Added embedded_circle test
* Add embedded_circle test files
* Removed diag files
* removed PICMI input file
* Update to use default regression analysis
* Added line breaks for spacing
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Added description
* Fixed benchmark file
* Added load balancing to test
* Commented out load_balancing portion of test.
This will be added back in once load balancing is fixed.
* Add load balancing to embedded_boundary test
* Updated checksum
* Added embedded_circle test
* Add embedded_circle test files
* removed PICMI input file
* Update to use default regression analysis
* Added load balancing to test
* Commented out load_balancing portion of test.
This will be added back in once load balancing is fixed.
* Add load balancing to embedded_boundary test
* added analysis.py file in order to relax tolerance on test
* Ensure that timers are used to update load balancing algorithm
* Updated test name retrieval
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: Roelof <roelof.groenewald@modernelectron.com>
Co-authored-by: Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com>
|
|
* AMReX: Weekly Update
* Reset: PEC_particle, RepellingParticles, subcyclingMR
New AMReX grid layout routines split grids until they truly reach
number of MPI ranks, if blocking factor allows. This changes some of
our particle orders slightly.
|
|
* Add anisotropic mesh refinement example
* Update benchmark
|
|
* Add high energy asymptotic fit for Proton Boron total cross section
* Write keV and MeV instead of kev and mev
* Add @return doxystrings
|
|
In main.cpp, the destructor of the profiler was called after
amrex::Finalize. This caused an error in SYCL due to a device
synchronization call in the dtor, because the SYCL queues in amrex had been
deleted. In this commit, we limit the scope of the profiler so that its
destructor is called before the queues are deleted. Note that it was never
an issue for CUDA/HIP, because the device synchronization calls in those
backends do not need any amrex objects.
|