aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar danielbelkin <dbelkin1@gmail.com> 2020-07-30 07:05:33 -0700
committerGravatar GitHub <noreply@github.com> 2020-07-30 07:05:33 -0700
commit807cc1e022dc1a052e8e4971a6a4f781a7c94c86 (patch)
tree4e757305d0931e4424f7e61100610d29cf0e8836 /Source/Particles/PhotonParticleContainer.cpp
parentd07444352187161f811469e5b02f5a40fafc683b (diff)
downloadWarpX-807cc1e022dc1a052e8e4971a6a4f781a7c94c86.tar.gz
WarpX-807cc1e022dc1a052e8e4971a6a4f781a7c94c86.tar.zst
WarpX-807cc1e022dc1a052e8e4971a6a4f781a7c94c86.zip
Add input parameter to control Galerkin-scheme gather (#1191)
* Rename l_lower_order_in_v to galerkin_interpolation * Changed galerkin_interpolation from int to bool * ... and same for member versions. * Add input parameter to control galerkin_interpolation * Update documentation * semicolon * Update Docs/source/running_cpp/parameters.rst Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Update Docs/source/running_cpp/parameters.rst Resolve ambiguity Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Fix doc * Add references to documentation Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index dd1120118..0e3d80733 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -134,7 +134,7 @@ PhotonParticleContainer::PushPX (WarpXParIter& pti,
const Dim3 lo = lbound(box);
- int l_lower_order_in_v = WarpX::l_lower_order_in_v;
+ bool galerkin_interpolation = WarpX::galerkin_interpolation;
int nox = WarpX::nox;
int n_rz_azimuthal_modes = WarpX::n_rz_azimuthal_modes;
@@ -176,7 +176,7 @@ PhotonParticleContainer::PushPX (WarpXParIter& pti,
ex_arr, ey_arr, ez_arr, bx_arr, by_arr, bz_arr,
ex_type, ey_type, ez_type, bx_type, by_type, bz_type,
dx_arr, xyzmin_arr, lo, n_rz_azimuthal_modes,
- nox, l_lower_order_in_v);
+ nox, galerkin_interpolation);
}
#ifdef WARPX_QED