aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r--Source/WarpX.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index 9915e6336..5adc88e9e 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -1023,7 +1023,7 @@ WarpX::AllocLevelMFs (int lev, const BoxArray& ba, const DistributionMapping& dm
realspace_ba.grow(1, ngE[1]); // add guard cells only in z
}
spectral_solver_fp[lev].reset( new SpectralSolverRZ( realspace_ba, dm,
- n_rz_azimuthal_modes, noz_fft, do_nodal, dx_vect, dt[lev], lev ) );
+ n_rz_azimuthal_modes, noz_fft, do_nodal, m_v_galilean, dx_vect, dt[lev], lev ) );
if (use_kspace_filter) {
spectral_solver_fp[lev]->InitFilter(filter_npass_each_dir, use_filter_compensation);
}
@@ -1144,7 +1144,7 @@ WarpX::AllocLevelMFs (int lev, const BoxArray& ba, const DistributionMapping& dm
# ifdef WARPX_DIM_RZ
c_realspace_ba.grow(1, ngE[1]); // add guard cells only in z
spectral_solver_cp[lev].reset( new SpectralSolverRZ( c_realspace_ba, dm,
- n_rz_azimuthal_modes, noz_fft, do_nodal, cdx_vect, dt[lev], lev ) );
+ n_rz_azimuthal_modes, noz_fft, do_nodal, m_v_galilean, cdx_vect, dt[lev], lev ) );
if (use_kspace_filter) {
spectral_solver_cp[lev]->InitFilter(filter_npass_each_dir, use_filter_compensation);
}