aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/Geometry.py (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
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
2021-02-10Docs: Update openPMD-viewer include (#1701)Gravatar Axel Huebl 2-8/+21
* Docs: Update openPMD-viewer include Just modernizing a documented include * add jupyter notebook hint * openPMD-viewer: update installs * Change import statement for openPMD-viewer Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2021-02-10Reduced diagnostics load balance cleaning (#1697)Gravatar Michael E Rowan 2-2/+0
* RD load balance cleaning * Update LoadBalanceCosts.H * Update LoadBalanceEfficiency.H
2021-02-10new setup.py: PYWARPX_LIB_DIR support (#1698)Gravatar Axel Huebl 6-49/+227
* new setup.py: PYWARPX_LIB_DIR support Add support to build in a quick and modular way against pre-built C++ WarpX libraries through a `PYWARPX_LIB_DIR` hint to the root `setup.py`. * new setup.py: add WarpX_PRECISION * CI: PYWARPX_LIB_DIR in new setup.py
2021-02-09setup.py: Build Dir Path Clash (#1694)Gravatar Axel Huebl 1-4/+4
Building multiple CMake extensions in `setup.py` re-uses the same build directory. At least on Windows, this causes clashes at link-time once we build two or more dimension-variants of the lib.
2021-02-09Tool: newVersion.sh (#1686)Gravatar Axel Huebl 5-5/+145
* Tool: newVersion.sh A new script that can be executed to bump the version entries in the code base. * Update outdated versions
2021-02-09Reset benchmarks of boosted frame tests (#1695)Gravatar Edoardo Zoni 7-169/+169
* Reset benchmarks of boosted frame tests * Reset one more benchmark missed out
2021-02-08Fix: Missing Geometry Includes (#1690)Gravatar Axel Huebl 3-0/+4
2021-02-09GNUmake: QED on (TRUE) by default (#1689)Gravatar Axel Huebl 2-2/+3
We already enable QED now by default on CMake and do the same with GNUmake.
2021-02-08Add a automated test for testing restart (#1623)Gravatar Yinjian Zhao 4-0/+288
* Update inputs_3d * Update inputs_2d * Update inputs_2d * Update inputs_3d * add restart test * minor * minor * Update analysis_restart.py * Make the analysis script executable. * fix * add restart.json Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2021-02-08openPMD-api: 0.13.2 (internal) (#1680)Gravatar Axel Huebl 1-1/+1
Build the latest release, which adds a nice hint on how to find custom HDF5 installs.
2021-02-08Load data with ds.covering_grid(...) instead of ds.index.grids[0] (#1687)Gravatar Edoardo Zoni 2-10/+12
2021-02-05Input load balance parameters as `algo.load_balance_param` (#1683)Gravatar Michael E Rowan 9-30/+68
* Load balance params now input as algo. * load balance params to algo * Backward compatibility and knapsack_factor_doc * Update Docs/source/running_cpp/parameters.rst * backward_strings * picmi
2021-02-05CI: Minimal Compile (#1684)Gravatar Axel Huebl 2-0/+36
* CI: Minimal Compile A compile that disables all optional modules and features, making sure that they can truly be disabled. * CI: Pip Verbose
2021-02-05Docs: QED is now on (#1685)Gravatar Axel Huebl 3-4/+6
Update documented defaults.
2021-02-05Fix photon species error message (#1681)Gravatar David Grote 1-1/+1