From 3ee5eddf48a5d5f2f057b5194628f0ba3d1ebf13 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 3 Sep 2024 09:22:21 +0200 Subject: [PATCH] threadmanager.hh: rename to threadmanager.hpp --- CMakeLists_files.cmake | 2 +- opm/models/discretization/common/fvbasediscretization.hh | 2 +- opm/models/discretization/common/fvbaselinearizer.hh | 2 +- .../parallel/{threadmanager.hh => threadmanager.hpp} | 7 ++++--- 4 files changed, 7 insertions(+), 6 deletions(-) rename opm/models/parallel/{threadmanager.hh => threadmanager.hpp} (97%) diff --git a/CMakeLists_files.cmake b/CMakeLists_files.cmake index 01ace7fcf..0d473fd17 100644 --- a/CMakeLists_files.cmake +++ b/CMakeLists_files.cmake @@ -671,7 +671,7 @@ list (APPEND PUBLIC_HEADER_FILES opm/models/parallel/mpiutil.hh opm/models/parallel/tasklets.hh opm/models/parallel/threadedentityiterator.hh - opm/models/parallel/threadmanager.hh + opm/models/parallel/threadmanager.hpp opm/models/ptflash/flashindices.hh opm/models/ptflash/flashintensivequantities.hh opm/models/ptflash/flashlocalresidual.hh diff --git a/opm/models/discretization/common/fvbasediscretization.hh b/opm/models/discretization/common/fvbasediscretization.hh index 2765164cf..df0165701 100644 --- a/opm/models/discretization/common/fvbasediscretization.hh +++ b/opm/models/discretization/common/fvbasediscretization.hh @@ -56,7 +56,7 @@ #include #include -#include +#include #include #include diff --git a/opm/models/discretization/common/fvbaselinearizer.hh b/opm/models/discretization/common/fvbaselinearizer.hh index c53035a46..f40d843fc 100644 --- a/opm/models/discretization/common/fvbaselinearizer.hh +++ b/opm/models/discretization/common/fvbaselinearizer.hh @@ -36,7 +36,7 @@ #include #include -#include +#include #include #include diff --git a/opm/models/parallel/threadmanager.hh b/opm/models/parallel/threadmanager.hpp similarity index 97% rename from opm/models/parallel/threadmanager.hh rename to opm/models/parallel/threadmanager.hpp index 2aa83d8fc..13e630509 100644 --- a/opm/models/parallel/threadmanager.hh +++ b/opm/models/parallel/threadmanager.hpp @@ -24,8 +24,8 @@ * \file * \copydoc Opm::ThreadManager */ -#ifndef EWOMS_THREAD_MANAGER_HH -#define EWOMS_THREAD_MANAGER_HH +#ifndef OPM_THREAD_MANAGER_HPP +#define OPM_THREAD_MANAGER_HPP #ifdef _OPENMP #include @@ -136,6 +136,7 @@ private: template int ThreadManager::numThreads_ = 1; + } // namespace Opm -#endif +#endif // OPM_THREAD_MANAGER_HPP