aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpXWrappers.H
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2023-08-10 21:43:57 -0700
committerGravatar GitHub <noreply@github.com> 2023-08-11 04:43:57 +0000
commit1d67cba10d34a65542294efaed6f02f6c3284ab0 (patch)
tree1c03bdcc39573ee7a200e8095c296639f6f6d804 /Source/Python/WarpXWrappers.H
parent0d998613b311a87e7da496ef7368c3b7649a779c (diff)
downloadWarpX-1d67cba10d34a65542294efaed6f02f6c3284ab0.tar.gz
WarpX-1d67cba10d34a65542294efaed6f02f6c3284ab0.tar.zst
WarpX-1d67cba10d34a65542294efaed6f02f6c3284ab0.zip
Add Python wrapper to set the lens strength (#3748)
* Add Python wrapper to set the lens strength * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Correct missing `c_real` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add assert message --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to 'Source/Python/WarpXWrappers.H')
-rw-r--r--Source/Python/WarpXWrappers.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Python/WarpXWrappers.H b/Source/Python/WarpXWrappers.H
index 65e2b796a..cd1e41cf4 100644
--- a/Source/Python/WarpXWrappers.H
+++ b/Source/Python/WarpXWrappers.H
@@ -159,6 +159,8 @@ extern "C" {
void warpx_setPotentialEB (const char * char_potential);
+ void warpx_setPlasmaLensStrength (const int i_lens, const amrex::Real strength_E, const amrex::Real strength_B);
+
void mypc_Redistribute ();
amrex::Real** warpx_getEfield (int lev, int direction, int *return_size, int *ncomps, int **ngrowvect, int **shapes);