From aeffe434bc48be551c4d93b6e0e16ecea785fffc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 20:53:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/NSCBC/channel.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/NSCBC/channel.cpp b/src/NSCBC/channel.cpp index ba40faefe..2d4145d02 100644 --- a/src/NSCBC/channel.cpp +++ b/src/NSCBC/channel.cpp @@ -68,16 +68,16 @@ template <> struct Physics_Traits { namespace { #endif -Real rho0 = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) -Real u0 = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) -Real s0 = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) -AMREX_GPU_MANAGED amrex::Real Tgas0 = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) -AMREX_GPU_MANAGED amrex::Real P_outflow = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) -AMREX_GPU_MANAGED amrex::Real u_inflow = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) -AMREX_GPU_MANAGED amrex::Real v_inflow = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) -AMREX_GPU_MANAGED amrex::Real w_inflow = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) +Real rho0 = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) +Real u0 = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) +Real s0 = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) +AMREX_GPU_MANAGED amrex::Real Tgas0 = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) +AMREX_GPU_MANAGED amrex::Real P_outflow = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) +AMREX_GPU_MANAGED amrex::Real u_inflow = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) +AMREX_GPU_MANAGED amrex::Real v_inflow = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) +AMREX_GPU_MANAGED amrex::Real w_inflow = NAN; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) AMREX_GPU_MANAGED amrex::GpuArray::numPassiveScalars> s_inflow{}; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) -#if 0 // workaround AMDGPU compiler bug +#if 0 // workaround AMDGPU compiler bug }; // namespace #endif