aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpXWrappers.H
diff options
context:
space:
mode:
authorGravatar Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> 2023-04-12 11:40:45 -0700
committerGravatar GitHub <noreply@github.com> 2023-04-12 11:40:45 -0700
commit1c265a627f0e3636249b76a1ccfea221b0d13071 (patch)
tree0909da08ddb06c0edf6dfa1f84799124583c203a /Source/Python/WarpXWrappers.H
parente7e404e5e8fde03261d2dd3780594181d20039ac (diff)
downloadWarpX-1c265a627f0e3636249b76a1ccfea221b0d13071.tar.gz
WarpX-1c265a627f0e3636249b76a1ccfea221b0d13071.tar.zst
WarpX-1c265a627f0e3636249b76a1ccfea221b0d13071.zip
Reflect density from non-periodic boundaries during deposition (#3711)
* refactored the charge deposition fix to be performed with the field data rather than individual particles * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * also correct current density at PEC boundary * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * corrections pointed out during code review * fix build fails due to unused variables * fix issue with GPU builds * actually apply rho boundary correction in EM case * first round of CI fixes * second round of CI fixes * added description of deposition logic with PEC boundaries to documentation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * third round of CI fixing * move J and rho boundary handling to after `SyncRho` and `SyncCurrent` calls * properly order the application of boundary conditions on rho, for electrostatic simulations * fourth round of CI fixing * don't apply J field boundary in `MultiParticleContainer::DepositCurrent` * apply changes requested during code review * Apply suggestions from code review Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> * Loosen tolerance on failing CI test * Removed unused variable * deal with fine versus coarse patches * move the `ApplyRhofieldBoundary` call to after `SumBoundary` * use a uniform calculation for the number of cells a given index is from the boundary * remove unused variable * limit number of ghost cells updated during PEC BC application * the number of ghost cells to consider depends on whether the field is nodal or not --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Diffstat (limited to 'Source/Python/WarpXWrappers.H')
0 files changed, 0 insertions, 0 deletions