diff options
author | 2020-06-29 21:38:51 -0700 | |
---|---|---|
committer | 2020-06-29 21:38:51 -0700 | |
commit | 7b0cebe0813059fa15fd6367a595bdbfb7b42396 (patch) | |
tree | a2a72854f03736421e017ea6f38d12e383651dc9 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms | |
parent | 5d3403fa6516f6aefbc6adc182c73c362b2472c2 (diff) | |
download | WarpX-7b0cebe0813059fa15fd6367a595bdbfb7b42396.tar.gz WarpX-7b0cebe0813059fa15fd6367a595bdbfb7b42396.tar.zst WarpX-7b0cebe0813059fa15fd6367a595bdbfb7b42396.zip |
Add plasma refactor (#830)
* add 'overlapsWith' methods to InjectorPosition and PlasmaInjector
* add helper routine for computing positions within a cell
* use new function in AddPlasma
* use the XDim3 directly
* refactor add plasma to only add particles in cells that could overlap with the plasma region
* handle refined injection
* account for lorentz tranform in first pass
* can't capture statics in device lambda like that
* eol
* fix logic error
* fix RZ compilation
* eol
* a few docstrings
* missed a spot
* include the bulk momentum in the first pass
* reuse applyBallisticCorrection function where we can
* simplify the applyBallisticCorrection function
* eol
* fix equation for ballistic correction in the gamma_boost > 1 case
* need a sync here now
* fix typo in docstring
* use _rt
* add _rt
* add some _rt
* update the benchmarks because the particle id / cpu numbers (and occassionally the momenta, when that is random) are different now
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms')
0 files changed, 0 insertions, 0 deletions