Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
* Changed BL_ASSERT to AMREX_ALWAYS_ASSERT for user input
* Fixed typo when replacing BL_ASSERTs
|
|
* added error message if laser amplitude is not positive
* moved assert to LaserParticleContainer
|
|
(#787)
* Added optional user defined number of quard cells to use with PSATD solver.
* Removed temporary comments.
* Changed names nx_guard_psatd to psatd.nx_guard for consistency.
|
|
For single precision, roughly 4-5 significant digits are comparable
for our floating point precision tolerance.
|
|
|
|
* Include private members of classes in Doxygen documentation
* add space before bracket for function implementation
Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
|
|
* Allowed for more general centering of charge density
* Used rho_nodal_flag in ApplyInverseVolumeScalingToChargeDensity
* Simplify declaration of rho_nodal_flag
Co-Authored-By: MaxThevenet <mthevenet@lbl.gov>
* Fix documentation for doChargeDepositionShapeN
Co-Authored-By: MaxThevenet <mthevenet@lbl.gov>
Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
|
|
* Create inputs
* fixed stuff
* Make smaller test
* Re-use EvolveEM for ES calculation
* Use correct variable const_dt
* Avoid out of bound and modify computation of electrostatic field
* Update test file
* Remove tab
* Minor refactoring of space-charge calculation
* Remove old electrostatic files
* Fix electrostatic test
* Rename WarpXEvolveEM to WarpXEvolve
* Use if conditions instead of ifdef
* Correct initialization of `do_electrostatic`
* Fix static variable
* Add documentation for `do_electrostatic`
* Remove more electrostatic code
Co-authored-by: dbizzozero <dbizzozero@users.noreply.github.com>
|
|
|
|
|
|
update (#773)
* Add default prtl and cell wts for costs update
Remove print
Cleanup
Typo
* Add AMREX_USE_GPU ifdef
* Add default costs for CPU case
* Formatting
* Add comment that default values are for Summit
* Explain tests in doc
* Formatting
* Clarify logic
|
|
|
|
* Create inputs
* fixed stuff
* Make smaller test
* Re-use EvolveEM for ES calculation
* Use correct variable const_dt
* Avoid out of bound and modify computation of electrostatic field
* Update test file
* Remove tab
* Minor refactoring of space-charge calculation
* Fix electrostatic test
* Rename WarpXEvolveEM to WarpXEvolve
* Use if conditions instead of ifdef
* Correct initialization of `do_electrostatic`
* Fix static variable
* Add documentation for `do_electrostatic`
Co-authored-by: dbizzozero <dbizzozero@users.noreply.github.com>
|
|
* Fix compilation for hybrid PSATD
* Add automated test for hybrid PSATD
|
|
* corrected two typos missed during review of PR-719
* changed file permission from executable to read/write
|
|
|
|
* first implementation, doesnt link
* fix species type and use it in some examples
* eol
* typo in input file
* Apply suggestions from code review
Co-Authored-By: Luca Fedeli <luca.fedeli.88@gmail.com>
Co-Authored-By: Yinjian Zhao <yinjianzhao@lbl.gov>
* changes suggested by review
* put species functions into a namespace
Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com>
Co-authored-by: Yinjian Zhao <yinjianzhao@lbl.gov>
|
|
* Issue #713: Load Balance w.r.t. number of cells + particles
README: Update Badged to `master` (#725)
* README: Update Badged to `master`
Update the badges to check the `master` branch as development branch.
* Docs: More dev->master updates
- release workflow
- contribution guide link
Galilean PSATD with shift (#704)
* Read Galilean velocity
* Prepare structures for Galilean solver
* Started implementing Galilean equations
* Analytical limits for X1, X2, X3, X4 coefficients added
* Slight changes added
* Added Galilean position pusher
* Scale galilean velocity
* Remove unneeded Abort
* Fix Galilean pusher
* Allocate Theta2 array
* Fix definition of coefficients
* Increase guard cells for Galilean
* Add guard cell in particle exchange
* Type corrected
* v_gal added to warpx_current_deposition
* v_gal added to WarpXParticleContainer.H
* Bug fixed - update particle x-position over one time step
* Fix issues with merge from dev
* Preparation for merging dev into galilean.
* Adding galilean shift
* Implemented galilean shift
* Changed method's name from GalileanShift to ShiftGalileanBoundary
* Added doxygen string for ShiftGalileanBoundary
* Removed never used method LowerCornerWithCentering
* Removed temporary comments
* Removed dt as a variable from DepositCharge method and its dependencies
* Converted tab to spaces
* Removed EOL white space
* Add documentation and automated tests
* Fix compilation error
* Add automated test
* Update automated test
* Removed temporary used galilean shift
* Removed temporary used particle's push for Galilean PSATD
* Removed unused statement
* Remove EOL white space.
* Added zero shift for LowerCorner in RZ geometry
* Minor changes to Galilean implementation
* Modifications for GPU
* Fix typo
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
[mini-PR] when a cufft error occurs, print a meaningful error message (#728)
* added method to translate cufft errors
* fixed style
* bug fixing
avoid duplicate tests and plot less often (#726)
* avoid duplicate tests and plot less often
* fix tests I broke when trying to save plotfiles
doc install yt on Summit (#729)
* doc install yt on Summit
* eol
Do not use local Redistribute for electrostatic solver (#731)
Add Reset Random Seed Feature (#717)
* Add ResetRandomSeed
* Add doc
* Modify and change location of the code.
* Small fix
* Try to fix an alert
* Try to fix an alert
* Modify based on suggestions
* Use INT_MAX
* Modify based on suggestions.
* Modify based on suggestions.
openPMD: warn if step is already written (#718)
* making sure iterations are written at most once.
* prints a warning when iteration is written more than once
writting is not stopped
* Fixed tabs
* included <iostream> as requested by Axel
Minor refactoring of space-charge calculation (#732)
Improve clarity and documentation
Minor
Update GNUmakefile
Update based on comments
Update GNU Makefile
Formatting
Formatting
Formatting
Formatting
Remove unneeded function
Removed unneeded function
Formatting
Formatting
Formatting
Whitespace
Minor
Formatting
Formatting
Formatting
Formatting
Formatting
Formatting
Formatting
whitespace
Formatting
Minor
Formatting
Remove unneeded template function
Change import
Minor
Formatting
Remove unused variable
Formatting
Update Source/WarpX.H
Co-Authored-By: MaxThevenet <mthevenet@lbl.gov>
Update Source/Parallelization/WarpXRegrid.cpp
Co-Authored-By: MaxThevenet <mthevenet@lbl.gov>
Remove `n_particles` and `n_cells`
Update Source/WarpX.H
Co-Authored-By: MaxThevenet <mthevenet@lbl.gov>
Revert clear costs in case of edge case
Update to use new load_balance_api in AMReX
Tabs
Minor
* minor: indentation in Source/WarpX.H
Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
|
|
|
|
Generalize includes to base path.
|
|
* replace tau by optical_depth_QSR and optical_depth_BW
* update python analysis scripts accordingly
* fix bug for BW
|
|
|
|
* avoid using namespace amrex in .H files
* need amrex prefix to function arguments
* typo
|
|
* add acknowledgement doc section
* better phrasing and fix citation
* typo
|
|
|
|
Use the `clang-tidy` pass `misc-unused-parameters` to remove unused
parameter warnings.
https://clang.llvm.org/extra/clang-tidy/checks/misc-unused-parameters.html)
Committed as generic user so git does not credit the many lines to me:
```bash
GIT_AUTHOR_NAME="Tools" GIT_AUTHOR_EMAIL="warpx@lbl.gov" \
git commit
```
|
|
|
|
* Implement div(E) diagnostics for spectral case.
* split travis tests in bigger matrix
* split more TravisCI tests, add electrostatic, use defaults values
* typo
* Move computation of div(E) to base class SpectralBaseAlgorithm.
* need to split psatd too
* consistent variable names and use function to avoid duplication
* fix typo for qed tests
* typo
* also need to update run_tests.sg
* Update copyright tags.
* change matrix
* Add test of div(E) vs rho/epsilon_0 in PML test.
* SpectralFieldIndex: reuse memory slot for Bx when computing divE.
Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
|
|
* clarify that we WANT PRs to be small
* Update CONTRIBUTING.md
Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
Defining a variable-length array (VLA) is a C99 feature.
It's conditional in C11 and actually not part of C++ either :)
|
|
* Prepare EvolveE
* Cartesian equations without current
* Implement Cartesian EvolveE
* Progress towards cylindrical solver
* Correct typo
* Implement cylindrical solver (without on-axis condition)
* Fix compilation errors
* Add regularization for RZ solver
* Added correction term for F
* Remove file for nodal stencil
* Apply stylistic changes to EvolveE
* Fix compilation errors
* Correction to avoid out of bound
* Remove references to old file
* Correct bug in EvolveB
* Implement correction on axis for Et
* Remove previous field update functions
* Remove unused code
|
|
Fix type conversions when compiling with `PRECISION=FLOAT`.
|
|
Add `.SP` for `PRECISION=FLOAT` and `.pSP` for
`USE_SINGLE_PRECISION_PARTICLES=TRUE` as binary suffix.
|
|
- Use `""` for WarpX-local includes
- Order: WarpX `""`, AMReX `<>`, other third party includes `<>`
- Add dir prefixes for WarpX
Add order to includes by including from `Source/` onward and keeping
directory prefixes of non-local includes for clarity.
|
|
Clean up `amrex::Real` literals (aka "numbers"). This avoids
calculating a line in double precision and casting it down to
`Real` on assignment.
Also fixes some formatting issues.
(Commit credited to Remi.)
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
|
|
Fix type for local field data pointer.
|
|
* add warpx profiler wrapper
* call WX profiler wrapper instead of BL
* EOL and cleaning
* add doc on profile syncs
* do not use PROFILE macros in .H files
* replace WX_PROFILE with WARPX_PROFILE and use bool instead of int
* typo
* this file shouldn't be there
|
|
* split travis tests in bigger matrix
* split more TravisCI tests, add electrostatic, use defaults values
* typo
* need to split psatd too
* consistent variable names and use function to avoid duplication
* fix typo for qed tests
* typo
* also need to update run_tests.sg
* change matrix
* try gathering 2D and 3D tests together
* split test matrix to have 2 compilations for each group
* EOL
* avoid compiling electrostatic
* typo
* [ci skip] Update Regression/prepare_file_travis.py
Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja>
* this is an OR, not an AND
* test that TravisCI matrix encompasses all tests
* debugging
* debugging
* should fix the error
* Apply suggestions from code review
Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja>
* use fewer &&
* safeguard
* should work like that
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
|
|
|
|
* call AMReX Bin sort instead of Cell sort
* proper initialization of bin size
* IntVect declaration must work in 2D and 3D
* Apply suggestions from code review
Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja>
* remove print statement
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
* make the option to exchange all guard cells safer
* EOL ****
* more consistent naming in guard cells test script
|
|
|
|
* making sure iterations are written at most once.
* prints a warning when iteration is written more than once
writting is not stopped
* Fixed tabs
* included <iostream> as requested by Axel
|
|
* Add ResetRandomSeed
* Add doc
* Modify and change location of the code.
* Small fix
* Try to fix an alert
* Try to fix an alert
* Modify based on suggestions
* Use INT_MAX
* Modify based on suggestions.
* Modify based on suggestions.
|