diff options
author | 2019-08-28 13:35:40 -0700 | |
---|---|---|
committer | 2019-08-28 13:35:40 -0700 | |
commit | d40adc4e8caf3994bb24790960097b0fb779cd06 (patch) | |
tree | 71840504a193ecae8a86ec90bf6156b2f5ceb859 /Source/Initialization/PlasmaInjector.cpp | |
parent | 87e3e47542c32ef7576687d7809cf1eded5c045f (diff) | |
download | WarpX-d40adc4e8caf3994bb24790960097b0fb779cd06.tar.gz WarpX-d40adc4e8caf3994bb24790960097b0fb779cd06.tar.zst WarpX-d40adc4e8caf3994bb24790960097b0fb779cd06.zip |
Further changes of macro WARPX_DIM_2D to WARPX_DIM_XZ for clarity
Diffstat (limited to 'Source/Initialization/PlasmaInjector.cpp')
-rw-r--r-- | Source/Initialization/PlasmaInjector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Initialization/PlasmaInjector.cpp b/Source/Initialization/PlasmaInjector.cpp index ce1258245..a65899902 100644 --- a/Source/Initialization/PlasmaInjector.cpp +++ b/Source/Initialization/PlasmaInjector.cpp @@ -147,7 +147,7 @@ PlasmaInjector::PlasmaInjector (int ispecies, const std::string& name) // For 2D, only two are expected. The third is overwritten with 1. num_particles_per_cell_each_dim.assign(3, 1); pp.getarr("num_particles_per_cell_each_dim", num_particles_per_cell_each_dim); -#if WARPX_DIM_2D +#if WARPX_DIM_XZ num_particles_per_cell_each_dim[2] = 1; #endif // Construct InjectorPosition from InjectorPositionRegular. |