aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/PSATD.py
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2023-02-22 15:37:06 -0800
committerGravatar GitHub <noreply@github.com> 2023-02-22 23:37:06 +0000
commitce188a26a22c99f5c4b297c9ffab6fc3c5c0e180 (patch)
tree37fc08a79ede3d4214ddc06071539260c24ec45d /Python/pywarpx/PSATD.py
parent1bf7133bb89aed59c84d13619bd061640e5451a6 (diff)
downloadWarpX-ce188a26a22c99f5c4b297c9ffab6fc3c5c0e180.tar.gz
WarpX-ce188a26a22c99f5c4b297c9ffab6fc3c5c0e180.tar.zst
WarpX-ce188a26a22c99f5c4b297c9ffab6fc3c5c0e180.zip
Reduced diagnostics: charge on the embedded boundary (#3648)
* Prepare structure to compute charge inside boundary * Add calculation without embedded boundaries * Use EB area fraction * Skip cells that are not cut-cells * Choose point outside of the EB * Skip covered or regular boxes * Only compile with EB and 3D support * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add test for charge on EB * Add automated test * Add automated Python test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Avoid compilation error * Enable PICMI test * Rename ChargeInsideBoundary to ChargeOnEB * Update comments * Add parser for weighting * Call weighting function * Call weighting function * Add documentation * Update Python test * Add Python test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix compilation errors * Fix access of attribute on GPU * Use difference in surface area * Pick smaller radius in test This is in order to avoid the influence of the boundaries * Update benchmark * Update benchmark * Properly add diagnostic * Update radius in analysis * Update analysis script * Relax tolerance * Fix tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update Python tests * Apply suggestions from code review Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> * Test one-eighth from Python * Add one-eighth charge in tests * Handle ChargeOnEB * Remove bug when handling charge on eb * Fix Python errors * Fix Python issues * Use more natural setting of tilebox --------- 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 'Python/pywarpx/PSATD.py')
0 files changed, 0 insertions, 0 deletions