From 1b07a10d27e013f133911dd3ca4e5b08bd15151d Mon Sep 17 00:00:00 2001 From: Bruce Perry Date: Wed, 18 Dec 2024 15:58:11 -0700 Subject: [PATCH] clang tidy some things --- Source/PeleLMeX.H | 2 +- Source/PeleLMeX_Forces.cpp | 2 +- Submodules/PelePhysics | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/PeleLMeX.H b/Source/PeleLMeX.H index c6ff4fa3..c8e345a4 100644 --- a/Source/PeleLMeX.H +++ b/Source/PeleLMeX.H @@ -1804,7 +1804,7 @@ public: int m_plotChemDiag = 0; int m_plotHeatRelease = 0; int m_plotStateSpec = 0; - int m_plotExtSource = 0; + bool m_plotExtSource = 0; int m_plot_int = 0; bool m_plot_overwrite = false; int m_plot_zeroEBcovered = 1; diff --git a/Source/PeleLMeX_Forces.cpp b/Source/PeleLMeX_Forces.cpp index fdc573a3..bbfd3e7e 100644 --- a/Source/PeleLMeX_Forces.cpp +++ b/Source/PeleLMeX_Forces.cpp @@ -244,7 +244,7 @@ PeleLM::addScalarDissipation(const TimeStamp& a_timestamp) BL_PROFILE("PeleLM::addScalarDissipationRate"); // no scalar dissipation sources if not using a manifold model #ifndef USE_MANIFOLD_EOS - return; + amrex::ignore_unused(a_timestamp); #else // Dissipation source term for subfilter variances diff --git a/Submodules/PelePhysics b/Submodules/PelePhysics index c3c955f6..f523711a 160000 --- a/Submodules/PelePhysics +++ b/Submodules/PelePhysics @@ -1 +1 @@ -Subproject commit c3c955f65d730689e1ee7065312c02b6541f8a1a +Subproject commit f523711a3bf579b9a8c82c53009ac8ddd428a7ef