Age | Commit message (Collapse) | Author | Files | Lines |
|
* AMREX_SPACEDIM : Boundary Conditions
* AMREX_SPACEDIM : Parallelization
* Fix compilation
* Update Source/Parallelization/WarpXComm_K.H
|
|
* Mention that the potentail should be constant inside EB
* Update text
|
|
|
|
* Add 2D Langmuir Test w/ MR & PSATD
* Add Missing Compile String
|
|
* Implement div(E)/div(B) Cleaning with Standard PSATD
* Cleaning
* Update Benchmark
* Add Nodal Synchronization of F,G
* OneStep_multiJ: Nodal Syncs, Damp PML
* OneStep_multiJ: Push PSATD Fields in PML
* div Cleaning Defaults (Domain v. PML)
* Include Fix of #2429 until Merged
* Reset Benchmark of Langmuir_multi_psatd_div_cleaning
* Multi-J: Remove PML Support
* Include Fix of #2474 Until Merged
* Exchange All Guard Cells for F,G
* Fix Defaults
* Update Test, Reset Benchmark
* Fix Defaults
* Cleaning
* Default update_with_rho=1 if do_dive_cleaning=1
* Update CI Test pml_psatd_dive_divb_cleaning
* Replace Warning with Abort
|
|
* AMReX: 21.12
* PICSAR: 21.12
* WarpX: 21.12
|
|
During configuration the installation location for libraries is given by
dumping the cmake variable `CMAKE_INSTALL_LIBDIR`.
This commit adjusts the installation of WarpX libraries (WarpX_LIB=ON)
to respect this setting.
Co-authored-by: Rolf Pfeffertal <tropf@users.noreply.github.com>
|
|
Make sure that all MPI ranks are in sync, i.e., have closed the
files that they wrote, before trying to merge them.
|
|
|
|
Just adds the note that 3D is the default geometry.
|
|
|
|
|
|
* Added check for if warpx was initialized when calling finalize
* Renamed to be warpx_initialized
* Fixed reference to global variable
Co-authored-by: Peter Scherpelz <31747262+peterscherpelz@users.noreply.github.com>
* Changed global variable to member of libwarpx
* Fixed syntax errors
* Remove custom arg from argv to avoid parmparse error
Co-authored-by: Peter Scherpelz <31747262+peterscherpelz@users.noreply.github.com>
|
|
* Aborting if particle_shape!=1 with EB
* Throw warning instead of aborting
* Checking at runtime if EB is initialized
* Added missing preprocessor directive
* Ignoring an unused variable
* Fix typo
* Improve style
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
* CONTRIBUTING: Update/Modernize
- Add GitHub account setup
- Add local git setup
- Modernize for CMake workflows
* Apply suggestions by Edoardo
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
|
|
Document in `requirements.txt` on how to install a pre-release
version of PICMI.
|
|
The `noexcept` lambda does not compile in C++17 mode due to an NVCC compiler bug, at least in NVCC 11.3.109. Compiles in C++14 mode with the same compiler.
|
|
Fix default init of `Vector` member variables. The old construct
is not valid C++.
https://stackoverflow.com/a/11491003/2719194
|
|
* Python: Start 1D Support
Start supporting 1D builds in Python.
* Fix 1D: PML FillZero unused
... since PMLs are not yet supported in 1D.
* BeamRelevant: Fix unused p_pos0
* FromTXYEFileLaserProfile: Not Impl in 1D
* QED Schwinger: 1D not Implemented
Fix unused warnings, add aborts.
* 1D RealVect/IntVect: Initialization
Use explicit scalar constructors, no braces.
Fix warning in clang 10.
* 1D NCI Filter: Fix unused members & Init
Unimplemented, but throws warnings.
* PSATD: 1D not Implemented
- remove compile warnings
- start porting some parts
* NCIGodfreyFilter: Clean up 2D & Else
|
|
psatd.update_with_rho=0 (#2571)
|
|
* Proton-boron fusion: initialize alphas momentum assuming isotropy
* Remove constexpr underflow in single precision
* Update Source/Particles/Collision/BinaryCollision/ProtonBoronFusionInitializeMomentum.H
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
|
|
Add 1D output support with openPMD.
|
|
* Python: More Nullptr Checks
I am debugging a couple of crashes while mitigating CI.
One of them pointed to the locations here
(`ValueError: NULL pointer access`), so I decided to add some checks.
* Skip invalid tiles
* Skip Empty Tiles But Check Pointer
* Python: nullptr check in _array1d_from_pointer
Make the methods `get_particle_structs` and
`get_particle_boundary_buffer_structs` more robust.
|
|
Timers) (#2584)
|
|
* add github ci compile check for ascent
* now with less whitespace
* add ascent to insitu workflow
* Update .github/workflows/insitu.yml
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* more style
* try to run as existing user
* new container
* use env script
* path fix
* add ascent test
* fix space
* move test resources
* get into style
* style
* Ascent CI: Cleanup (#1)
- make sure inputs file stays up-to-date
- locate alongside example
* Update .github/workflows/insitu.yml
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update .github/workflows/insitu.yml
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* rename test file
* fix for cp
* improve color table for vol rendering
* now with rotation
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
Mark the Python meta-data as production/stable.
|
|
* With RZ PSATD, make blocking_factor a power of 2
* Fix typo
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
|
|
GCC warns in some versions on the access here, since it cannot figure out the runtime size of the vectors.
We can just replace `[]` with `.at()` to use a range-checked access that throws an exception instead of a segfault/UB when accessed out-of-bounds. In the preparation of the compute stencils, we don't have hot loops that benefit from non-range checked access, so that cost for improved safety is fine.
|
|
* Build System: Add 1D Geometry
* test PR
* test PR
* 1D cartesian yee algorithm
* fixed typo
* Fixes for PML
* 1D support related multiple changes
* Fix compilation
* change 1D to 1D_Z
* 1D Field Gather and typo fix
* 1D Charge Deposition
* Particle Pusher
* multiple changes related to 1D
* 1D diagnostics and initialization
* PlasmaInjector and PEC fixes for 1D
* clean-up delete diags file
* mobility 1D laser particle and bilinear filter
* deleted diags files
* update laser particle weight formula
* delete diags files
* Azure: Add 1D Cartesian Runner
* 1D fixes for FieldProbe
* Update Docs/source/developers/dimensionality.rst
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
* 1d laser injection and langmuir test input files
* 1d tests
* clean up : delete print statements
* analyse simulation result for laser injection and Langmuir tests
* EOL
* delete input files for which there are no automated tests
* delete input files for which there are no automated tests
* add ignore_unused to remove warnings
* remove space
* Fix compilation issues
* fix error : macro name must be an identifier
* Small bug fix
* cleanup Python script for analysis
* bug fix
* bug fix
* Update ParticleProbe: Check 1D in-domain
* Update Source/Make.WarpX
* Update .azure-pipelines.yml
* Add USE_OPENPMD=FALSE to .azure-pipeline.yml
* resolve conflict
* resolve conflict
* fix typo
* Correct out-of-bound access
* Fix Particle BC in WarpXParticleContainer and correct path to checksumAPI in python analysis scripts
* EOL
* Fix bug : accessing out of bound index of cell in 1D
* remove 1d test for cartesian3d
* Fix CI check
* Slight style change
* Address review comments
* Fix GPU compilation Filter.cpp
* Fix CI
* Fix Indentation
* Address review comments
* More consistent ifdef for dimension bigger than 1
* Update Examples/Tests/Langmuir/analysis_langmuir_multi_1d.py
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update GNUmakefile
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Regression/prepare_file_ci.py
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianCKCAlgorithm.H
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Source/FieldSolver/FiniteDifferenceSolver/FiniteDifferenceAlgorithms/CartesianNodalAlgorithm.H
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Source/Filter/Filter.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Source/Filter/Filter.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Source/Filter/Filter.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Source/Filter/Filter.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Source/Initialization/PlasmaInjector.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Update Source/Initialization/PlasmaInjector.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* add comment inline to explain twice push_back
* Add amrex::Abort for NCIGodfreyFilter
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: Prabhat Kumar <prabhatkumar@kraken.dhcp.lbl.gov>
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Co-authored-by: Remi Lehe <rlehe@lbl.gov>
|
|
* updated the Python particle attribute access CI test
* additional fixes needed for tests to pass
* changes requested by Axel during code review
* Apply suggestions from code review
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
* WarpX tests: All MPI
Enable MPI for the one regression test that does not use it.
Still uses one rank there.
This saves a compile per CI run.
* add numprocs
|
|
When python callbacks take some time, this is useful as otherwise many
callbacks are lumped together in WarpX::Evolve::step.
|
|
* WarpXComm.cpp: Use Explicit Types, not `auto`
* Use MultiFab* const instead of MultiFab* const&
|
|
* added helper function to rebuild MultiFabs and iMultiFabs during load balancing and included rebuilding of EB multifabs
* added redistribute call for the particle boundary buffer during load balancing
* consistently use DistribtionMap rather than dmap in ElectrostaticSolver.cpp
* applied suggested changes from code review by Phil Miller
* removed default argument for redistribute in RemakeMultiFab
* removed RemakeMultiFab() as a member of WarpX
* Only remake EB multifabs if they are used
Co-authored-by: Lorenzo Giacomel <47607756+lgiacome@users.noreply.github.com>
* adapted existing particle scraping test (PICMI version) to also cover the redistribution of particle buffers from load balancing
* added redeclaring of m_borrowing
* Move redeclaring of m_borrow inside if statement for ECT solver algorihtm
Co-authored-by: Lorenzo Giacomel <47607756+lgiacome@users.noreply.github.com>
* added calls to MarkCells and ComputeFaceExtensions
* fixed issue causing CI test to fail and copied conditionals from WarpXInitData.cpp to recompute EB quantities
* Guard cells communication for EB data when re-gridding (#105)
* Add 2D circle EB test (#2538)
* 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
* 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.
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Added guard cells communication for EB data in regridding
Co-authored-by: Kevin Z. Zhu <86268612+KZhu-ME@users.noreply.github.com>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* moved all EB grid data calculations to a new function InitializeEBGridData() which is now called by both WarpX::InitLevelData and WarpX::RemakeLevel
* Fix typo in doc string.
Co-authored-by: Phil Miller <unmobile+gh@gmail.com>
Co-authored-by: Lorenzo Giacomel <47607756+lgiacome@users.noreply.github.com>
Co-authored-by: Kevin Z. Zhu <86268612+KZhu-ME@users.noreply.github.com>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: Phil Miller <unmobile+gh@gmail.com>
|
|
|
|
|
|
On CPU links of the GNUmake Python lib, we forgot our `-g`, which we
add to all build and optimization types. THis is part of the
`LINKFLAGS` variable.
|
|
|
|
* Cell Center Macroscopic Properties
* Commit Suggestions from PR Review
* Fix Error for 2D
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
|
|
* 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
* Added Ar and Xe to pre-defined particle types
* added Boltzmann's constant to pre-defined constants and cleaned up the MCC CI test input
* Added Boltzmann's constant to warpx parser
* cleaned up embedded circle CI test input
* Remove duplicate entry.
Co-authored-by: kzhu-ME <kevin.zhu@modernelectron.com>
Co-authored-by: Kevin Z. Zhu <86268612+KZhu-ME@users.noreply.github.com>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
* Enhanced inline documentation of EB related data
* Added ECT to the glossary
* Made the EB documentation doxygen-compatible
|
|
* Refactoring the nborrow functions
* Refactoring the one cell extension
* Refactoring the eight cells extension
* Enabling 2D
* Bug fix
* Some more improvements
* Fixing templates
* Switching the order of templates and AMREX_GPU_DEVICE
* Adding the needed AMREX_GPU_DEVICE in WarpX.H
* Fixing GPU related issues
* Fixed a for loop bound
* Making the new functions free
* Suggestion from review
* Suggestion from review
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Suggestion from review
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Improve loops over dimensions for 2D
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
* 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
* 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.
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
Fix an auto-converted label in a `.rst` file for the manual.
Remove the `PML.tex` file.
|
|
* AMReX: Weekly Update
* PICSAR: Weekly Update
|
|
* Fix conflict with upstream
* Apply suggestions from code review
* Remove space in the end of lines
* Include suggestions from PR review
* Generalize ROMIO Hints in Batch Scripts
* Fix Comment
* Fix Comment
* Remove duplication
* Formatting
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|