aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralKSpaceRZ.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralKSpaceRZ.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralKSpaceRZ.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralKSpaceRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralKSpaceRZ.cpp
index 4b02d1b7e..18e46d676 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralKSpaceRZ.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralKSpaceRZ.cpp
@@ -35,11 +35,11 @@ SpectralKSpaceRZ::SpectralKSpaceRZ (const amrex::BoxArray& realspace_ba,
// For local FFTs, boxes in spectral space start at 0 in
// each direction and have the same number of points as the
// (cell-centered) real space box
- amrex::Box realspace_bx = realspace_ba[i];
- amrex::IntVect fft_size = realspace_bx.length();
- amrex::IntVect spectral_bx_size = fft_size;
+ const amrex::Box realspace_bx = realspace_ba[i];
+ const amrex::IntVect fft_size = realspace_bx.length();
+ const amrex::IntVect spectral_bx_size = fft_size;
// Define the corresponding box
- amrex::Box spectral_bx = amrex::Box(amrex::IntVect::TheZeroVector(),
+ const amrex::Box spectral_bx = amrex::Box(amrex::IntVect::TheZeroVector(),
spectral_bx_size - amrex::IntVect::TheUnitVector() );
spectral_bl.push_back(spectral_bx);
}