aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralKSpace.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-03-04Remove extra ghost cell used with momentum-conserving gathering (#1758)Gravatar Edoardo Zoni 8-103/+80
2021-03-04CMake: add option to compile with InterProcedural Optimizations (if ↵Gravatar Luca Fedeli 3-0/+23
available) (#1746) * add support for IPO/LTO Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-03-03Examples: Dynamic Scheduling (#1753)Gravatar Axel Huebl 4-4/+1
Remove the three locations where an input file sets `warpx.do_dynamic_scheduling=0`. This is only needed for CI `.ini` files to ensure determinism and should not be used in production.
2021-03-03AMReX: CMake Install (if shared) (#1755)Gravatar Axel Huebl 2-2/+3
2021-03-02ParticleContainer: Fix Unused Vars (#1756)Gravatar Axel Huebl 1-12/+0
Fix unused variable warnings in `PhyicalParticleContainer`.
2021-03-02GPU clock timer for measuring load balance costs (#1406)Gravatar Michael E Rowan 7-47/+183
* merge * wip * namespace * eol * cost * eol * fix * eol
2021-03-02CI: Always with FFTW/PSATD (#1587)Gravatar Axel Huebl 5-90/+85
* CI: Always with FFTW/PSATD Reduce build time by always building with FFTW and unifying PSATD tests. This also adds coverage for the case that we forget to make `#ifdef WARPX_USE_PSATD` runtime blocks, which can potentially be seen in FDTD runs now. * Remove worker with environment USE_WARPX_PSATD * Fix warpx_interp: Unconditional PSATD Fix the `warpx_interp` function to properly enable/disable PSATD logic based on runtime logic. 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>
2021-03-01Add empty runtime_params = in WarpX-tests.ini (#1748)Gravatar NeilZaim 2-0/+13
2021-03-01RZ Poisson solver (#1744)Gravatar David Grote 5-52/+294
* Added RZ Poison solver * Added test case for RZ Poisson solver * Fixed intervals in RZ Poisson test case * Added RZ Poisson test to regression tests * Split ComputePhi into two routines, RZ and Cartesian * Add declaration of new functions Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2021-03-01Clean plotfile output for btd (#1723)Gravatar Revathi Jambunathan 1-7/+3
* add geometry object and plotfile variables for BTD * fixing buffer and snapshot definitions and emptying/refilling of buffers * Adding Plotfile capability for BTD * fix eol * add comments and remove commented line in OpnPMD * read header without bcast within io scope and modify fabname in first fabheader * remove tab * openPMD: BTD write support - open series only once - declare iteration in labframe only once - including fields & extents - use proper global lab-frame meta-data and write only once * make BTD plotfile path consistent with boosted plotfile path * same prefix code for openpmd and plotfile * Update Source/Diagnostics/WarpXOpenPMD.cpp * Update Source/Diagnostics/BTDiagnostics.cpp Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-03-01Add CI coverage for the plotfile particle filters (#1645)Gravatar NeilZaim 10-29/+294
* Add CI coverage for the plotfile particle filter function * Minor fix in analysis script * Test all 3 particle filters in 2D/3D/RZ * Dirty trick to deal with same ID from multiple MPI ranks + enforce 100 characters per line rule * Fix CI when running on a single MPI rank * Add new module to avoid duplicate code
2021-03-01Remove coarse bounding box check from the BTD selection (#1742)Gravatar Andrew Myers 1-7/+0
2021-03-01Fix Warning: PlasmaInjector (#1747)Gravatar Edoardo Zoni 1-6/+6
* Fix warning * Replace & with &&
2021-03-01AMReX: 21.03 (#1749)Gravatar Axel Huebl 3-4/+4
Update the internal references & dependencies to AMReX 21.03. Also update PICSAR (no new commits).
2021-02-26For picmi, fix MultiSpecies (#1745)Gravatar David Grote 1-2/+8
2021-02-25CI: Disable DPC++Gravatar Axel Huebl 1-0/+2
``` /usr/bin/ld: final link failed: No space left on device LLVM ERROR: IO failure on output stream: No space left on device ``` https://github.com/ECP-WarpX/WarpX/pull/1566#issuecomment-786274791
2021-02-25Add multiple particles source (#1718)Gravatar David Grote 5-8/+62
* Added multiple particles injection source * Added documentation for MultipleParticles
2021-02-25fix bug (#1736)Gravatar Luca Fedeli 1-1/+1
2021-02-25CI: openPMD-api w/o CLI Tools (#1732)Gravatar Axel Huebl 2-4/+4
* CI: openPMD-api w/o CLI Tools Avoid building command-line interface (CLI) tools for openPMD-api in CI. * CI: Set openPMD-api versions explicitly
2021-02-25Finite-order field centering: few small optimizations (#1714)Gravatar Edoardo Zoni 3-56/+94
* Use re-ordered stencil coefficients to optimize interpolation * Few more small optimizations and clean-up
2021-02-23AMReX: Weekly Update (#1725)Gravatar Axel Huebl 2-2/+2
2021-02-23CI: ICC use openPMD@0.13.2 (#1739)Gravatar Axel Huebl 1-1/+1
Don't pull development with ICC.
2021-02-23Split Cartesian tests across 2 CI workers (#1735)Gravatar Remi Lehe 3-5/+20
* Split Cartesian tests across 2 CI workers * Fix test of coverage
2021-02-23CI (Azure): Reorder As Jobs (#1737)Gravatar Axel Huebl 1-51/+55
Reorder the Azure script(s) to run as jobs. This strategy works well for nightly tests, so maybe it helps with the ignored `timeoutInMinutes` key.
2021-02-22Summit & Cori: Update openPMD & ADIOS2 (#1704)Gravatar Axel Huebl 2-25/+25
Provide new modules and instructions to use ADIOS2 (2.7.1) and openPMD-api (0.13.2) on Summit (OLCF) & Cori (NERSC).
2021-02-22undo last commitGravatar Axel Huebl 1-2/+1
2021-02-22CI (Azure): Move Timeout KeyGravatar Axel Huebl 1-1/+2
Move to right location
2021-02-22Fix: Histogram w/o Filter (#1727)Gravatar Axel Huebl 2-3/+18
* Test: Histogram w/o Filter Add an entry testing histogramming w/o a filter. * Histogram: Guard Filter Active The parser segfaults if the user specifies no filter.
2021-02-22Fix: run_test.sh - fail on error & fix clone (#1729)Gravatar Axel Huebl 5-10/+12
* Fix: run_test.sh clone (fail on error) * regtest.py: WARPX_TEST_COMMIT / --source_git_hash unused They have no effect, looks very ancient. * run_test.sh: Fix commit checkout `git clone --branch` does not support commits as SHA
2021-02-21ParticleHistogram: Fix Performance Regression (#1696)Gravatar Yinjian Zhao 1-28/+68
* fix an issue * ignore those that are outside of the set * Histogram: ParallelFor use a device vector and a `ParallelFor` to build the histogram. * typo: deviceToHost * fix: don't capture host member * DPC++: floor * Histogram on CPU: Add Performance Note Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-02-21Backtransformed Diags with openPMD (#1717)Gravatar Revathi Jambunathan 16-119/+223
* add geometry object and plotfile variables for BTD * fixing buffer and snapshot definitions and emptying/refilling of buffers * Adding Plotfile capability for BTD * fix eol * add comments and remove commented line in OpnPMD * remove unnecesary print statement * read header without bcast within io scope and modify fabname in first fabheader * remove tab * add empty line back * Adding snapshot geom and BTD parameters for openpmd interface * eol * remove print statement * eol * openPMD: BTD write support - open series only once - declare iteration in labframe only once - including fields & extents - use proper global lab-frame meta-data and write only once * fix the right path for openpmd BTD data * eol fix * Spaces & a comment * rename to first_write_to_iteration for clarity just me being picky about my choice of variable name * Fix write condition (first) Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-02-19pyproject.toml: build-backend (#1722)Gravatar Axel Huebl 1-1/+6
"Never make a pyproject.toml without `build-backend = "setuptools.build_meta"`, this causes issues if missing for (at least) PyPI-Build." Ref.: https://github.com/pybind/cmake_example/commit/11a644072b12ad78352b6e6649db9dfe7f406676#commitcomment-43964684
2021-02-18Fix: CMake Library Alias (Install) (#1721)Gravatar Axel Huebl 2-3/+3
Ups, forgot to remove a hard-coded test value with the generic library name in the last PR. Also makes the links relative.
2021-02-18Tool: update AMReX dependency (#1710)Gravatar Axel Huebl 11-103/+339
* Tool: update AMReX dependency We currently pull the `development` branch of AMReX in CMake builds. This is problematic in central workflows: - checking out a release might not compile - manual intervention is needed by users - builds are not as reproducibile as they could be - CI fails in a surprising wary in WarpX if a temporary bug is lands in AMReX' `development` Instead, we can bump the AMReX requirement periodically in a PR. This migh be the case when we: - need new features or bug fixes - do a release Manual updates guarantee that we see problems with updates from AMReX in the moment they are introduced - during a PR that changes the dependency to AMReX. * Tool: update PICSAR dependency See AMReX' updater description. * Docs: Dependencies & Releases Update and add workflows. * PICSAR & AMReX: Bump Version to HEAD Bump the PICSAR and AMReX versions to the latest head. Executed with: ``` ./Tools/Release/updateAMReX.py ./Tools/Release/updatePICSAR.py ``` * Python Tools: Cleanup * Fix typos Co-authored-by: Luca Fedeli <luca.fedeli@for.unipi.it> Co-authored-by: Luca Fedeli <luca.fedeli@for.unipi.it>
2021-02-18Fix spelling typos (#1715)Gravatar Michael E Rowan 12-35/+35
* fix spelling * Update parameters.rst
2021-02-18Add "." to libwarpx Aliases (#1720)Gravatar Axel Huebl 6-17/+37
* Add "." to libwarpx Aliases Add a "." to the suffix of the short-hand `libwarpx.<DIM>.<so|dll>` libs. This unifies the suffix with the structure in executables and makes it easier to find a "long" version of the library (not in this PR). Also fixes the suffix naming on Windows to ".dll", since this is a true C/C++ library, not a Python module (aka not a shared library following Python entry points and conventions). * CMake: Add library alias in install Also add the expected library alias in CMake install prefixes.
2021-02-18Plotfile capability for BTD (#1576)Gravatar Revathi Jambunathan 11-41/+926
* add geometry object and plotfile variables for BTD * temporarily disable species output * fix indices for output multifab * add diag geom for output * rename as m_output_species * delete unnecessary deletion of m_species * fixing buffer and snapshot definitions and emptying/refilling of buffers * Adding Plotfile capability for BTD * added BTD plotfile impl in cmake * fix eol * add comments and remove commented line in OpnPMD * remove unnecesary print statement * eol * remove unusued var * Read Fab on Disk string from buffer header * virtual function * initializing snapshot geom * read header without bcast within io scope and modify fabname in first fabheader * remove tab * add empty line back
2021-02-17MultiFabs Tags: WarpX Basics (#1713)Gravatar Axel Huebl 1-75/+83
Add human-readable tags to basic MultiFabs in WarpX. This will help us to make them easier to identify in Python bindings.
2021-02-12CMake: Search rocFFT (#1703)Gravatar Axel Huebl 4-11/+13
2021-02-12CMake: Cosmetic Clean-Up (Messages) (#1707)Gravatar Axel Huebl 3-8/+12
2021-02-12Fix warnings in docs (#1711)Gravatar Michael E Rowan 8-30/+33
* docs fix * Doxyfile * Fix warnings * yt.rst
2021-02-12CMake: Mark Some PICSAR options as "advanced" (#1708)Gravatar Luca Fedeli 1-0/+3
* mark PICSAR options not relevant to WarpX users as advanced * Update cmake/dependencies/PICSAR.cmake
2021-02-12Fix bug in loop over boxes in WarpX::UpdateAuxilaryDataStagToNodal (#1691)Gravatar Edoardo Zoni 2-17/+23
* Clarify loop over boxes in WarpX::UpdateAuxilaryDataStagToNodal * Loop over fabbox instead and pad with zeros beyond ghost cells * Clean up names of source and destination arrays
2021-02-11Spectral solver: remove extra semicolons (#1709)Gravatar Luca Fedeli 3-3/+3
2021-02-11Initialize aux MultiFabs on level 0 (#1705)Gravatar Edoardo Zoni 1-1/+10
2021-02-11Close #1688 : Transform the moving window velocity to its boosted-frame ↵Gravatar Bin Liu 1-1/+1
value. (#1700) * Source/Utils/WarpXMovingWindow.cpp : Transform 'moving_window_v' to that in the boosted frame '(moving_window_v-beta_boost*c)/(1-moving_window_v/c*beta_boost)'. Examples/Tests/moving_window_boost : A simple test gives the moving window velocity in the boosted frame. * Remove test Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2021-02-11fix rst link againGravatar Axel Huebl 1-1/+1
2021-02-11fix formatting: verbatim in rstGravatar Axel Huebl 1-1/+1
2021-02-11fix formatting: rst linkGravatar Axel Huebl 1-1/+1
2021-02-11CMake: Quick, Local Dependencies (#1699)Gravatar Axel Huebl 5-74/+211
This adds new options to CMake for developers that like to build against local dependencies. For example: ``` cmake -S . -B build -DWarpX_amrex_src=../amrex cmake --build build -j 8 ``` brings back the full "build my local source, I am working on it"- experience. The *Python* equivalent looks like this: ```bash WarpX_amrex_src=$PWD/../amrex python3 -m pip install -v . ``` (`pip` runs in a temporary directory, so path hints need to be absolute. All details in the docs.) Added for all auto-downloaded dependencies: - AMReX - openPMD-api - PICSAR