diff options
author | 2023-08-01 00:08:20 +0200 | |
---|---|---|
committer | 2023-07-31 15:08:20 -0700 | |
commit | 4638e5aececfb33d39677d6d4f6241a3953ebe34 (patch) | |
tree | e83c1b8e9215ef4b3ee1b07d7177439d94e04f31 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms | |
parent | acf015f95243a063b74e095a9a9890d483fb842c (diff) | |
download | WarpX-4638e5aececfb33d39677d6d4f6241a3953ebe34.tar.gz WarpX-4638e5aececfb33d39677d6d4f6241a3953ebe34.tar.zst WarpX-4638e5aececfb33d39677d6d4f6241a3953ebe34.zip |
Clang tidy CI test: add some modernize checks to clang-tidy CI test (#4133)
* Clang Tidy: add several modernize checks
* eliminate file included in commit by mistake
* fix bug
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmComoving.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmComoving.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmComoving.cpp index 37bbc2ca3..075645233 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmComoving.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmComoving.cpp @@ -32,18 +32,18 @@ PsatdAlgorithmComoving::PsatdAlgorithmComoving (const SpectralKSpace& spectral_k const amrex::Real dt, const bool update_with_rho) // Members initialization - : SpectralBaseAlgorithm(spectral_kspace, dm, spectral_index, norder_x, norder_y, norder_z, grid_type), + : SpectralBaseAlgorithm{spectral_kspace, dm, spectral_index, norder_x, norder_y, norder_z, grid_type}, // Initialize the infinite-order k vectors (the argument n_order = -1 selects // the infinite order option, the argument grid_type=GridType::Staggered is then irrelevant) - kx_vec(spectral_kspace.getModifiedKComponent(dm, 0, -1, GridType::Staggered)), + kx_vec{spectral_kspace.getModifiedKComponent(dm, 0, -1, GridType::Staggered)}, #if defined(WARPX_DIM_3D) - ky_vec(spectral_kspace.getModifiedKComponent(dm, 1, -1, GridType::Staggered)), - kz_vec(spectral_kspace.getModifiedKComponent(dm, 2, -1, GridType::Staggered)), + ky_vec{spectral_kspace.getModifiedKComponent(dm, 1, -1, GridType::Staggered)}, + kz_vec{spectral_kspace.getModifiedKComponent(dm, 2, -1, GridType::Staggered)}, #else - kz_vec(spectral_kspace.getModifiedKComponent(dm, 1, -1, GridType::Staggered)), + kz_vec{spectral_kspace.getModifiedKComponent(dm, 1, -1, GridType::Staggered)}, #endif - m_v_comoving(v_comoving), - m_dt(dt) + m_v_comoving{v_comoving}, + m_dt{dt} { amrex::ignore_unused(update_with_rho); |