aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2019-07-12 17:44:25 -0700
committerGravatar Dave Grote <grote1@llnl.gov> 2019-07-12 18:10:38 -0700
commit31edd3bad5d2747c7e045240b488d7fd101f1a30 (patch)
tree731f8029cfeb4d7fa0f8eab988d15977190a8e1b /Source/WarpX.cpp
parentc0d185c22d473bf5e7dc3ade13c8cce580013668 (diff)
downloadWarpX-31edd3bad5d2747c7e045240b488d7fd101f1a30.tar.gz
WarpX-31edd3bad5d2747c7e045240b488d7fd101f1a30.tar.zst
WarpX-31edd3bad5d2747c7e045240b488d7fd101f1a30.zip
Changed nmodes to n_rz_azimuthal_modes
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r--Source/WarpX.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index 4ad2cf75d..a693952dd 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -43,7 +43,7 @@ long WarpX::field_gathering_algo;
long WarpX::particle_pusher_algo;
int WarpX::maxwell_fdtd_solver_id;
-long WarpX::nmodes = 1;
+long WarpX::n_rz_azimuthal_modes = 1;
long WarpX::ncomps = 1;
long WarpX::nox = 1;
@@ -475,7 +475,7 @@ WarpX::ReadParameters ()
}
// Only needs to be set with WARPX_RZ, otherwise defaults to 1.
- pp.query("nmodes", nmodes);
+ pp.query("n_rz_azimuthal_modes", n_rz_azimuthal_modes);
}
@@ -709,9 +709,9 @@ WarpX::AllocLevelMFs (int lev, const BoxArray& ba, const DistributionMapping& dm
{
#if defined WARPX_RZ
- if (nmodes > 1) {
+ if (n_rz_azimuthal_modes > 1) {
// There is a real and imaginary component for each mode
- ncomps = nmodes*2;
+ ncomps = n_rz_azimuthal_modes*2;
} else {
// With only mode 0, only reals are used
ncomps = 1;