diff options
author | 2022-02-10 17:50:31 -0800 | |
---|---|---|
committer | 2022-02-11 01:50:31 +0000 | |
commit | ca1b886ecb26c8bd20018c4ecfd71a70f11c1d3f (patch) | |
tree | 6b1bf10bec59dcc1423e70f2b6a2d0bf654ac823 /Source/Parallelization | |
parent | 06a57c95ae826241919bee96931a4007dac1a38b (diff) | |
download | WarpX-ca1b886ecb26c8bd20018c4ecfd71a70f11c1d3f.tar.gz WarpX-ca1b886ecb26c8bd20018c4ecfd71a70f11c1d3f.tar.zst WarpX-ca1b886ecb26c8bd20018c4ecfd71a70f11c1d3f.zip |
Rename ngE as ngEB (used for E,B) (#2841)
Diffstat (limited to 'Source/Parallelization')
-rw-r--r-- | Source/Parallelization/WarpXRegrid.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Parallelization/WarpXRegrid.cpp b/Source/Parallelization/WarpXRegrid.cpp index 7c1371f29..c903c92d6 100644 --- a/Source/Parallelization/WarpXRegrid.cpp +++ b/Source/Parallelization/WarpXRegrid.cpp @@ -213,12 +213,12 @@ WarpX::RemakeLevel (int lev, Real /*time*/, const BoxArray& ba, const Distributi // Get the cell-centered box BoxArray realspace_ba = ba; // Copy box realspace_ba.enclosedCells(); // Make it cell-centered - auto ngE = getngE(); + auto ngEB = getngEB(); auto dx = CellSize(lev); # ifdef WARPX_DIM_RZ if ( fft_periodic_single_box == false ) { - realspace_ba.grow(1, ngE[1]); // add guard cells only in z + realspace_ba.grow(1, ngEB[1]); // add guard cells only in z } AllocLevelSpectralSolverRZ(spectral_solver_fp, lev, @@ -227,7 +227,7 @@ WarpX::RemakeLevel (int lev, Real /*time*/, const BoxArray& ba, const Distributi dx); # else if ( fft_periodic_single_box == false ) { - realspace_ba.grow(ngE); // add guard cells + realspace_ba.grow(ngEB); // add guard cells } bool const pml_flag_false = false; AllocLevelSpectralSolver(spectral_solver_fp, @@ -278,17 +278,17 @@ WarpX::RemakeLevel (int lev, Real /*time*/, const BoxArray& ba, const Distributi BoxArray c_realspace_ba = cba; // Copy box c_realspace_ba.enclosedCells(); // Make it cell-centered - auto ngE = getngE(); + auto ngEB = getngEB(); # ifdef WARPX_DIM_RZ - c_realspace_ba.grow(1, ngE[1]); // add guard cells only in z + c_realspace_ba.grow(1, ngEB[1]); // add guard cells only in z AllocLevelSpectralSolverRZ(spectral_solver_cp, lev, c_realspace_ba, dm, cdx); # else - c_realspace_ba.grow(ngE); + c_realspace_ba.grow(ngEB); bool const pml_flag_false = false; AllocLevelSpectralSolver(spectral_solver_cp, lev, |