aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpX_py.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2020-10-22CMake: HIP Compute Hint (#1454)Gravatar Axel Huebl 1-1/+1
2020-10-22Fix NVCC Regression in Parser (#1458)Gravatar Axel Huebl 6-777/+488
* Fix NVCC Regression in Parser Fix a regression with the recompilation of the parser that shows up with NVCC and GNUmake on Summit. * Modify Parser's makefile to remove #line and rename bison's output file to .cpp Co-authored-by: Weiqun Zhang <weiqunzhang@lbl.gov>
2020-10-22Remove a few segfaults when there is zero particle species (#1449)Gravatar NeilZaim 4-18/+75
* Remove a few segfaults when there is zero particle species * Docs: Update Example * We don't have `part_per_proc` so exemplify with something else. Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-10-22picmi - minor cleanup, removing unneeded input quantities (#1446)Gravatar David Grote 1-9/+0
2020-10-22Fix warning with openPMD (#1452)Gravatar Edoardo Zoni 1-1/+1
2020-10-22Docs: Ascent Replay Workflow (#1331)Gravatar lge0303 4-4/+217
* Document for ascent replay * ascent replated repository * Apply suggestions from code review * Review of replay - rendering plot without run simulation * modify Review of replay - accept Axel suggestion * modify replay - remove png file * Remove PNG Too large for git * Replay: Restructure Workflow * Remove duplicated files Well documented in the LWFA example and text now. Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-10-22add error message on Juwels compilation in doc (#1450)Gravatar MaxThevenet 1-0/+4
2020-10-22[mini-PR, even if it does not look "mini"]Fix unused function warning in ↵Gravatar Luca Fedeli 5-271/+377
parser (#1448) When compiling WarpX I got this warning message: `wp_parser.lex.c:1356:17: warning: ‘void yyunput(int, char*)’ defined but not used [-Wunused-function]` This can be fixed by adding `%option nounput` option to `wp_parser.l` and re-generating the parser with `make`.
2020-10-21CI: DPC++ remove outdated activation (#1437)Gravatar Axel Huebl 1-2/+0
Removes an outdated environment activation line in DPC++.
2020-10-20Gpu::Atomic::Add -> Gpu::Atomic::AddNoRet (#1447)Gravatar Weiqun Zhang 2-64/+64
For HIP, AddNoRet for float is much faster because it has hardware support.
2020-10-20CI & CMake: HIP Support (#1436)Gravatar Axel Huebl 5-6/+81
Add AMD HIP support to CMake and test it in CI (single-precision build).
2020-10-19RZ PSATD, in forward transforms, initialize the copies to zero if needed (#1445)Gravatar David Grote 1-0/+11
2020-10-19Replace wherever possible '.reset(new' with '= make_unique' (#1429)Gravatar Luca Fedeli 30-246/+282
* replace wherever possible .reset(new with = make_unique * fixed bug * fixed bug * revert WarpXOpenPMD.cpp to the original version * removed another .reset(new
2020-10-16New reduced diag: number of macroparticles (#1414)Gravatar NeilZaim 22-50/+208
* New reduced diag: number of macroparticles * Add parentheses in header line * Apply suggestions from code review Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com> * Add some consts * Fuse some lines with std::ofstream Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com>
2020-10-14[mini-PR] Flag to diable all diagnostics. (#1427)Gravatar Revathi Jambunathan 2-3/+10
* turn off diagnostics * document input to enable/disable diagnostics * Update Docs/source/running_cpp/parameters.rst
2020-10-13fix bug in CMakeLists.txt (#1431)Gravatar Luca Fedeli 1-1/+1
2020-10-13prevent compilation of picsar qed tests (#1432)Gravatar Luca Fedeli 1-1/+1
2020-10-13[mini-PR] Fix warnings in QED module (#1433)Gravatar Luca Fedeli 3-1/+7
* fix warning concerning comparison of int and unsigned int * fix warning concerning unused variables
2020-10-12[mini-PR] Flag to turn off species output in diags (#1426)Gravatar Revathi Jambunathan 2-0/+14
* write species flag to toggle particle output * document write_species * Update Source/Diagnostics/Diagnostics.cpp * write species flag to toggle particle output * document write_species * Update Source/Diagnostics/Diagnostics.cpp
2020-10-12CI: ICC/ICPC oneAPI beta09 (#1425)Gravatar Axel Huebl 1-2/+1
Try to update icc/icpc tests to oneAPI beta09.
2020-10-12picmi - do name mangling on expression variables to ensure their uniqueness ↵Gravatar David Grote 2-30/+89
(#1361) Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2020-10-12Separate rho per species diagnostics from particle output (#1407)Gravatar Edoardo Zoni 5-91/+67
* Separate rho per species diagnostics from particle output * Update input file of CI test dumping rho per species * Update documentation * Use m_output_species_names and m_all_species_names * Use std::string::rfind and improve error message * Rename m_all_species to m_output_species for consistency
2020-10-09fix a couple of unused variables warnings (#1423)Gravatar Luca Fedeli 2-0/+5
2020-10-09Fix error with Schwinger in 2D (#1424)Gravatar NeilZaim 1-1/+1
2020-10-08Readme: Azure Badge (#1421)Gravatar Axel Huebl 1-1/+1
Change old Travis-CI badge to new Azure Pipelines badge.
2020-10-08Add laser phase to gaussian profile (#1155)Gravatar Igor Andriyash 4-1/+8
* added the phase argument for the gaussian laser * removed signature * added laser phase to picmi api * added doc string for phi0 * Update parameters.rst typo fix Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2020-10-07RZ + single precision fix (#1417)Gravatar Michael E Rowan 3-15/+29
* RZ_SP fix * RZ SP fix * Fix cufft for single precision RZ. Co-authored-by: Weiqun Zhang <weiqunzhang@lbl.gov>
2020-10-07rocFFT support (#1410)Gravatar Weiqun Zhang 8-27/+270
* rocFFT support * rocfft in 2d rz PSATD solver
2020-10-07Do not store first Fornberg coefficient (#1419)Gravatar Edoardo Zoni 2-31/+36
2020-10-05PICMI: read flag for laser continuous injection (#1358)Gravatar Edoardo Zoni 2-2/+4
* PICMI: read flag for laser continuous injection * Simplify assignment of do_continuous_injection * Update PICMI version Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2020-10-05CI: Nvidia Apt Broken (CUDA) (#1412)Gravatar Axel Huebl 1-1/+0
Try to work-around the newly broken Nvidia apt repos for CUDA 11.0. - Refs.: https://gitlab.com/nvidia/container-images/cuda/ - Nvidia bug report: 3144329
2020-10-05Add option to do collisions every # time steps (#1251)Gravatar Yinjian Zhao 7-10/+27
* Update inputs_3d * Update inputs_2d * Add ndt * Doc * Doc * Update inputs_3d * Update inputs_2d Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-10-05Replace some ".reset(new )" with " = make_unique" (#1398)Gravatar Luca Fedeli 1-79/+79
* replace some reset(new ) with make_unique * fixed bug
2020-10-02CMake: Rename AMReX Option for SENSEI (#1403)Gravatar Axel Huebl 1-2/+2
This reflects an upstream change in AMReX' CMake options.
2020-10-02Split resampling TinyProfiler entry into 2 (#1390)Gravatar NeilZaim 2-2/+13
2020-10-02Fix some warnings for PSATD builds (#1401)Gravatar Edoardo Zoni 12-53/+39
* Fix warnings for 2D/3D PSATD builds * Fix warnings for RZ PSATD builds * Update FIXME comment: no known bug * Fix remaining warning for RZ PSATD builds
2020-10-02[Tiny] use_fdtd_nci_corr set to false for RZ (#1405)Gravatar Lígia Diana Amorim 2-1/+5
* Made particles.use_fdtd_nci_corr false for RZ * Added AMREX ALWAYS ASSERT * Fixed AMREX ASSERT * Revert "Fixed AMREX ASSERT" This reverts commit 902fcaabbf0c01b75cd7b38e7fd198e75cf1703d. * Revert "Added AMREX ALWAYS ASSERT" This reverts commit 7c56270730d0e1e4c9a2ab705cc0027e7ecc1a79. * Fixed confusion between commits
2020-10-02Plot raw fields: fix bugs for rho and F data (#1392)Gravatar Edoardo Zoni 2-15/+38
* Plot raw fields: fix bug for rho data * Add query for <diag_name>.plot_raw_rho * Check if MultiFabs are allocated and fix bug for coarse patch * Add same check for raw F data
2020-10-02[mini] Add clean error message when user makes a typo in fields to output ↵Gravatar NeilZaim 1-0/+3
(#1409) * Add clean error message when user makes a typo in fields to output * Add a space
2020-10-02[mini-PR] Fix a couple of warnings (#1408)Gravatar Luca Fedeli 2-1/+4
* fixed unused variable warning * fixed unwanted copy
2020-10-01RZ spectral: add default value of i_comp in scalar transforms (#1404)Gravatar David Grote 1-2/+2
2020-10-01Docs: typo home FS LLNLGravatar Axel Huebl 2-2/+2
2020-10-01Doc: LLNL Setups (#1394)Gravatar Axel Huebl 6-0/+308
* [Draft] Doc: Lassen (LLNL) Document installation and usage on Lassen (LLNL). * [Draft] Doc: Quartz (LLNL) Document installation and usage on Quartz (LLNL).
2020-09-30Use fewer guard cells for deposition (#1368)Gravatar Edoardo Zoni 5-35/+75
* Use fewer guard cells for deposition * Update some CI benchmarks * Revert "Update some CI benchmarks" This reverts commit 2f40062557d75e3f6b2d3ba284332b8a92a0d404. * Check if shapes and guard cells are compatible only for rho * Do not allocate one extra guard cell for J * Add more relaxed check on shapes and guard cells for J
2020-09-30Remove instability on PML with do_nodal (#1379)Gravatar NeilZaim 1-8/+8
* Increase size of sigma_star by 1 in nodal mode * Add do_nodal to FabFactory<SigmaBox> * Add ifdef WARPX_USE_PSATD directives * Increase size of sigma_star arrays by one regardless of nodal state
2020-09-30CI: Output CPU Type (#1393)Gravatar Axel Huebl 1-0/+1
Since our CI is cloud-based, we can get various kinds of CPUs in different runs. For machine-precision tests, I got the feeling that some tests that rely heavily on exact numbers are overly strict with respect to guarantees between various CPU generations, esp. since we rely on fastmath. This will output the CPU type at the beginning of runs, so we can find out more when tests fail with "checksum" (output data fingerprint) errors.
2020-09-30removed extra ; (#1397)Gravatar Luca Fedeli 1-34/+34
2020-09-29Minor modification of Visualization.ipynb (#1383)Gravatar Yinjian Zhao 1-5/+7
* Update inputs_3d * Apply suggestions from code review Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-09-29Implement intervals parser for reduced diagnostics (#1389)Gravatar NeilZaim 10-12/+17
2020-09-29Fix error for FieldMaximum diag in 2D (#1391)Gravatar NeilZaim 1-2/+2