From aee2ed2c75560bfc5bc29b51ad9cb621166ec834 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Fri, 11 Dec 2020 14:15:12 -0800 Subject: Code-Alignment Leftovers (#1570) Fix some code alignment leftovers. --- Source/WarpX.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'Source/WarpX.cpp') diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 6e9c05427..13762bd80 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -1136,13 +1136,13 @@ WarpX::AllocLevelMFs (int lev, const BoxArray& ba, const DistributionMapping& dm spectral_solver_fp[lev]->InitFilter(filter_npass_each_dir, use_filter_compensation); } # else - if ( fft_periodic_single_box == false ) { - realspace_ba.grow(ngE); // add guard cells - } - bool const pml_flag_false=false; - spectral_solver_fp[lev] = std::make_unique( realspace_ba, dm, - nox_fft, noy_fft, noz_fft, do_nodal, m_v_galilean, m_v_comoving, dx_vect, dt[lev], - pml_flag_false, fft_periodic_single_box, update_with_rho, fft_do_time_averaging ); + if ( fft_periodic_single_box == false ) { + realspace_ba.grow(ngE); // add guard cells + } + bool const pml_flag_false = false; + spectral_solver_fp[lev] = std::make_unique( realspace_ba, dm, + nox_fft, noy_fft, noz_fft, do_nodal, m_v_galilean, m_v_comoving, dx_vect, dt[lev], + pml_flag_false, fft_periodic_single_box, update_with_rho, fft_do_time_averaging ); # endif #endif } // MaxwellSolverAlgo::PSATD @@ -1264,10 +1264,10 @@ WarpX::AllocLevelMFs (int lev, const BoxArray& ba, const DistributionMapping& dm spectral_solver_cp[lev]->InitFilter(filter_npass_each_dir, use_filter_compensation); } # else - c_realspace_ba.grow(ngE); // add guard cells - spectral_solver_cp[lev] = std::make_unique( c_realspace_ba, dm, - nox_fft, noy_fft, noz_fft, do_nodal, m_v_galilean, m_v_comoving, cdx_vect, dt[lev], - pml_flag_false, fft_periodic_single_box, update_with_rho, fft_do_time_averaging ); + c_realspace_ba.grow(ngE); // add guard cells + spectral_solver_cp[lev] = std::make_unique( c_realspace_ba, dm, + nox_fft, noy_fft, noz_fft, do_nodal, m_v_galilean, m_v_comoving, cdx_vect, dt[lev], + pml_flag_false, fft_periodic_single_box, update_with_rho, fft_do_time_averaging ); # endif #endif } // MaxwellSolverAlgo::PSATD -- cgit v1.2.3