From 9d00646cda280f8be7f2fe391fe1beb807bb4362 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Fri, 8 Sep 2023 17:25:40 +0200 Subject: Clang tidy CI test: add selected google-* checks (#4267) * clang-tidy CI test: add selected google- checks * address issues found with clang-tidy * fixed bugs * fix bugs --- .../SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp | 1 - .../SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPmlRZ.cpp | 1 + .../FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp | 1 + .../SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithmRZ.cpp | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms') diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp index 79285948e..3188712d6 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp @@ -15,7 +15,6 @@ using namespace amrex::literals; - /* \brief Initialize coefficients for the update equation */ PsatdAlgorithmGalileanRZ::PsatdAlgorithmGalileanRZ (SpectralKSpaceRZ const & spectral_kspace, amrex::DistributionMapping const & dm, diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPmlRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPmlRZ.cpp index b4285bfde..45a21f2ff 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPmlRZ.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPmlRZ.cpp @@ -13,6 +13,7 @@ #include +using namespace amrex::literals; /* \brief Initialize coefficients for the update equation */ PsatdAlgorithmPmlRZ::PsatdAlgorithmPmlRZ (SpectralKSpaceRZ const & spectral_kspace, diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp index 9fa05e134..d5a95bc90 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp @@ -13,6 +13,7 @@ #include +using namespace amrex::literals; /* \brief Initialize coefficients for the update equation */ PsatdAlgorithmRZ::PsatdAlgorithmRZ (SpectralKSpaceRZ const & spectral_kspace, diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithmRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithmRZ.cpp index 7e9794d31..acbe3815c 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithmRZ.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithmRZ.cpp @@ -9,6 +9,7 @@ #include using namespace amrex; +using namespace amrex::literals; /** * \brief Compute spectral divergence of E -- cgit v1.2.3