aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpX_py.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2020-11-23fixed some double to float conversions (#1528)Gravatar Luca Fedeli 2-17/+16
2020-11-22fixed typo in Akturk ref in laser definition (#1526)Gravatar Igor Andriyash 1-4/+4
Co-authored-by: Igor Andriyash <igor.andriyash@ensta-paris.fr>
2020-11-22CI: Windows (#1521)Gravatar Axel Huebl 9-17/+38
* CI: Windows Add an MSVC build to CI. * Windows: _USE_MATH_DEFINES Fix: ``` error C2065: 'M_PI': undeclared identifier ``` * Windows: no unistd.h fix: ``` fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory ``` * Injector: Trivially Copyable only GPU Only strictly required when we memcopy to accelerator devices. * Flex: never-interactive We don't use the interactive mode, so we can save some performance and address: ``` Parser\wp_parser.lex.cpp(1503,40): error C3861: 'isatty': identifier not found ``` Alternatively, we can include `<io.h>` on Windows. * MSVC: Vector<Long> != Vector<long> Fix return and assignment issues with `amrex::Long` != `long` in `amrex::Vector`. ``` Particles\MultiParticleContainer.cpp(438,13): error C2440: 'return': cannot convert from 'const amrex::Vector<amrex::Long,std::allocator<__int64>>' to 'amrex::Vector<long,std::allocator<long>>' Particles\MultiParticleContainer.cpp(452,94): error C2440: 'initializing': cannot convert from 'amrex::Vector<amrex::Long,std::allocator<__int64>>' to 'amrex::Vector<long,std::allocator<long>>' Particles\MultiParticleContainer.cpp(459,60): error C2665: 'amrex::ParallelDescriptor::ReduceLongSum': none of the 6 overloads could convert all the argument types Particles\WarpXParticleContainer.cpp(782,51): error C2665: 'amrex::ParallelDescriptor::ReduceLongSum': none of the 6 overloads could convert all the argument types ``` * Windows CI: Parallel Build
2020-11-21LapackPP: Changed Build Flags & Build Bugs (#1525)Gravatar Axel Huebl 1-3/+3
* LapackPP: Changed Build Flag LapackPP also changed their test CMake option now. * BlasPP & LapackPP: Verbose Build * BlasPP: Temporarily use own fork as fix * LapackPP: Use find_package(LAPACK)
2020-11-21WarpX compiles again on Juwels (#1507)Gravatar MaxThevenet 1-6/+29
* WarpX compiles again on Juwels * update doc with current Juwels instructions * eol
2020-11-17GNUmake: No Python define (#1514)Gravatar Axel Huebl 1-1/+0
Cleanup: the define is not needed anymore.
2020-11-17use_filter now controls physical and k-space filtering (#1516)Gravatar David Grote 4-18/+16
* use_filter now controls physical and k-space filtering * Added backward compatibility error if use_kspace_filter is set
2020-11-17CMake: Fix PSATD on CUDA (#1517)Gravatar Axel Huebl 1-1/+1
Regression build/linker error from an outdated CMake variable.
2020-11-16Fix PSATD equations used with PML (#1513)Gravatar Edoardo Zoni 4-86/+162
* Implement new PML PSATD equations * Update CI test and benchmark * Compute coefficients C1,...,C22 on the fly * Add check on initial energy from diagnostics
2020-11-16Update picmi constants to match the values in PhysConst (#1483)Gravatar David Grote 3-28/+34
* Update picmi constants to match the values in PhysConst * In picmi, use string q_e for charge instead of float with charge_state = +-1 * Updated benchmarks of picmi tests
2020-11-16Summit: Ascent Update (#1515)Gravatar Axel Huebl 1-1/+1
Document on how to use a newer version of Ascent on Summit (OLCF). This release contains bug fixes and new features.
2020-11-13Simplify Python Callback (#1511)Gravatar Axel Huebl 5-27/+7
There is no need to modify the evolve routines depending on the python build. By default, the callbacks are stored as shared globals, which are validly initialized to nothing. This simplifies the binary variants of WarpX.
2020-11-13Use tmp particle container instead of WritePlotFile with filter (#1384)Gravatar Andrew Myers 1-8/+16
* use tmp particle container instead of WritePlotFile with filter * fix call signatures * restore engine
2020-11-12Fix: Typo in Extract Action (#1510)Gravatar Axel Huebl 1-1/+1
Fix a typo in the extraction action for replay workflows.
2020-11-12Ascent: Fix SoA Real Name Order (#1508)Gravatar Axel Huebl 1-18/+16
Fix the order of passed SoA user attributes. So far, they were permuted (accidentially ordered by name).
2020-11-11Fix Box-index staggering for Coarse-fine Interpolate (#1506)Gravatar Revathi Jambunathan 2-4/+9
* CI Lamor MR: Cover raw fields Reproduce and cover raw field plots in CI. * fix staggering of box indices in Interpolate
2020-11-11Fix error with nested MFIter loop in Schwinger (#1509)Gravatar NeilZaim 1-3/+3
2020-11-09sx_node_galerkin: fix access to uninitialized memory (#1500)Gravatar Luca Fedeli 1-2/+3
* fix a possibly uninitialized variable warning * adopted alternative solution following dpgrote suggestion
2020-11-08Change Spelling: Env AMREX_CUDA_ARCH (#1504)Gravatar Axel Huebl 3-3/+3
We change the spelling of this environment hint in AMReX, to make it more common with typical unix conventions/expectations.
2020-11-06Docs: Parser Depth Balancing (#1503)Gravatar Axel Huebl 1-2/+6
Add a trick to the docs to avoid running out of parser depth by grouping terms manually.
2020-11-06Fix check of m_do_scale in ScaleFields (#1505)Gravatar David Grote 1-1/+1
2020-11-06openPMD-api: lib64 on some Systems (#1491)Gravatar Axel Huebl 1-0/+1
The default installation suffix for libraries on some systems with multiarch support is `lib64/`.
2020-11-06ParticleNumber reduced diag: also output total number of physical particles ↵Gravatar NeilZaim 4-27/+89
(#1502)
2020-11-05Fix includes in RhoFunctor.cpp (#1498)Gravatar David Grote 1-1/+1
2020-11-04Revert "Doc note for RZ build in CORI (#1494)" (#1496)Gravatar Axel Huebl 1-1/+1
This reverts commit 5d1b88eaae68353897382423cb87ee0eb7266fa9.
2020-11-04CMake: New AMReX Options (#1492)Gravatar Axel Huebl 9-96/+101
* CMake: New AMReX Options Anticipate new AMReX options in CMake. * warpx.profile: CMake AMReX_CUDA_ARCH New environment hint with the same name as the CMake variable.
2020-11-03Doc note for RZ build in CORI (#1494)Gravatar Lígia Diana Amorim 1-1/+1
2020-11-03Use the parser for more input parameters (#1481)Gravatar MaxThevenet 5-16/+48
* option to smart-query input arguments using the parser * modify one example to illustrate * cleaner naming * cleaner call to the parser, no need to go through a pointer * better naming and more doc for queryWithParser * update the documentation
2020-11-02fixed calls to amrex::Random() to enable HIP compilation (#1487)Gravatar Luca Fedeli 7-15/+28
2020-11-02[mini-PR ] Fix an "unused variable" warning (#1488)Gravatar Luca Fedeli 1-2/+1
* fixed unused variable * eliminate superfluous include
2020-11-02development branch is the default, no need to specify it (#1480)Gravatar MaxThevenet 6-8/+8
2020-11-02Use filter in CI tests with Galilean current correction (#1474)Gravatar Edoardo Zoni 6-70/+67
2020-10-30In Situ Vis.: Fix Rho Contouring (#1482)Gravatar Axel Huebl 1-2/+10
Fill the boundaries up to one cell after calculating fields such as `rho`/`rho_<species>` on the fly. This is necessary for properly initialized boundary cells as we pass the data on to in situ visualization libraries.
2020-10-28deleted some useless end-of-line ';' (#1478)Gravatar Luca Fedeli 3-8/+8
2020-10-26Ascent: Jupyter Replay Workflow (#1473)Gravatar Axel Huebl 2-3/+333
Document an efficient workflow to quickly iterate on an `ascent_actions.yaml` design.
2020-10-26Filter diagnostic rho (#1295)Gravatar David Grote 8-18/+60
* First cut of adding filtering of rho diagnostic - not yet working * Fixed the handling of parallel transfers in RhoFunctor when filtering is turned on * Fixed end of line space * In RhoFunctor, only do kspace filter with RZ and PSATD * PICMI analytic applied fields (#1306) * PICMI Added applied fields * PICMI fixed typo in Constants * Change picmistandard version requirement to 0.0.9 * Increment required picmi version Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> * Updated checksums with filter of diagnostic rho * Fix comment in rho diagnostic * Updated LaserIonAcc2d benchmark after filtering rho * Update galilean_rz_psatd benchmark with filtering of rho Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2020-10-26FieldMaximum reduced diag: average all components to cell centers (#1411)Gravatar NeilZaim 5-81/+111
* FieldMaximum reduced diag: average all components to cell centers * Remove read_raw_data.py in reduced diag automated test * No longer output raw fields in reduced diags tests * Modify a comment
2020-10-26Improve 2D laser injection test (#1422)Gravatar Luca Fedeli 4-25/+227
* improved 2D laser injection test * correct typo in documentation * fix non-ascii character * fixed unused variables * fixed missing checksum * fix non-ascii character * updated benchmark * Update Examples/Modules/laser_injection/analysis_2d.py Co-authored-by: NeilZaim <49716072+NeilZaim@users.noreply.github.com> * Update Examples/Modules/laser_injection/analysis_2d.py Co-authored-by: NeilZaim <49716072+NeilZaim@users.noreply.github.com> * Update Examples/Modules/laser_injection/analysis_2d.py Co-authored-by: NeilZaim <49716072+NeilZaim@users.noreply.github.com> * fixed check in analysis script * Update Examples/Modules/laser_injection/analysis_2d.py Co-authored-by: NeilZaim <49716072+NeilZaim@users.noreply.github.com> * Update Examples/Modules/laser_injection/analysis_2d.py Co-authored-by: NeilZaim <49716072+NeilZaim@users.noreply.github.com> * reorganized main function * added a comment * Update Examples/Modules/laser_injection/analysis_2d.py Co-authored-by: NeilZaim <49716072+NeilZaim@users.noreply.github.com> * fix calculation of dz * fixed bug Co-authored-by: NeilZaim <49716072+NeilZaim@users.noreply.github.com>
2020-10-26PSATD: only deposit charge if needed (#1428)Gravatar NeilZaim 3-8/+25
* PSATD: only deposit charge if needed * Update Source/FieldSolver/WarpXPushFieldsEM.cpp Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
2020-10-26Explicit choice of `max_iters` for MLMG solver (#1471)Gravatar Igor Andriyash 5-3/+13
* added an option to set explicitely `max_iters` for MLMG solver * fix EOL white spaces * fix EOL white spaces 2
2020-10-26Initialize last element of PML sigma_star arrays (#1460)Gravatar NeilZaim 1-3/+3
2020-10-26CMake 3.18+: CUDA Arch Policy (OLD) (#1459)Gravatar Axel Huebl 1-0/+9
2020-10-26Docs: Build on Summit (OLCF) with CMake (#1462)Gravatar Lígia Diana Amorim 1-2/+5
* Changed compiling commands to cmake & added link * Applied reviewer suggestions
2020-10-26Fix warning related to external laser binary file (#1470)Gravatar Luca Fedeli 1-39/+33
* fix read of binary file * removed useless include
2020-10-26Ascent: Fix Contour Plots (#1469)Gravatar Axel Huebl 2-5/+5
Fix the missing ngrow of one cells for Ascent, which guarantees that the `FillBoundary` calls after centering field data provide an extra cell for contouring. Also fix a few doc typos and unused variable warnings.
2020-10-24Update a couple of asserts if warpx.numprocs is used (#1440)Gravatar NeilZaim 4-8/+45
* Update a couple of asserts if warpx.numprocs is used * Set blocking factor to 1 when warpx.numprocs is used * Apply suggestions from code review Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-10-24fix 'comparison of integer expressions of different signedness' warning in ↵Gravatar Luca Fedeli 4-483/+653
parser (#1463) fix 'comparison of integer expressions of different signedness' warning in parser Co-authored-by: Tools <warpx@lbl.gov>
2020-10-23Fix Warning message <pmap.resize> (#1461)Gravatar Lígia Diana Amorim 1-1/+2
2020-10-23provide last AMReX and WarpX working commits on Juwels (#1465)Gravatar MaxThevenet 1-1/+5
2020-10-23Fix Warning for SigmaBox FabFactory (#1466)Gravatar Weiqun Zhang 6-33/+55