From ca83a8f53c064e158d74f78bcfcc1975f5a712d8 Mon Sep 17 00:00:00 2001 From: "T.D. (Tongdong) Qiu" Date: Thu, 25 Jun 2020 13:12:12 +0200 Subject: [PATCH] Removed unused headers --- opm/simulators/linalg/bda/BILU0.cpp | 5 ----- opm/simulators/linalg/bda/BILU0.hpp | 6 ------ opm/simulators/linalg/bda/BdaSolver.hpp | 2 -- opm/simulators/linalg/bda/BlockedMatrix.cpp | 3 --- opm/simulators/linalg/bda/MultisegmentWellContribution.cpp | 1 - opm/simulators/linalg/bda/cusparseSolverBackend.cu | 4 ---- opm/simulators/linalg/bda/openclSolverBackend.cpp | 4 ---- 7 files changed, 25 deletions(-) diff --git a/opm/simulators/linalg/bda/BILU0.cpp b/opm/simulators/linalg/bda/BILU0.cpp index 83851ea8a..1b19b81f5 100644 --- a/opm/simulators/linalg/bda/BILU0.cpp +++ b/opm/simulators/linalg/bda/BILU0.cpp @@ -17,11 +17,6 @@ along with OPM. If not, see . */ -#include -#include -#include -#include - #include #include diff --git a/opm/simulators/linalg/bda/BILU0.hpp b/opm/simulators/linalg/bda/BILU0.hpp index 713e8adee..79a86dce3 100644 --- a/opm/simulators/linalg/bda/BILU0.hpp +++ b/opm/simulators/linalg/bda/BILU0.hpp @@ -20,16 +20,10 @@ #ifndef BILU0_HPP #define BILU0_HPP -#include // CMake - -#include - #include -#if HAVE_OPENCL #define __CL_ENABLE_EXCEPTIONS #include // up to OpenCL 1.2 -#endif namespace bda { diff --git a/opm/simulators/linalg/bda/BdaSolver.hpp b/opm/simulators/linalg/bda/BdaSolver.hpp index e812b5e34..f61269a4b 100644 --- a/opm/simulators/linalg/bda/BdaSolver.hpp +++ b/opm/simulators/linalg/bda/BdaSolver.hpp @@ -21,8 +21,6 @@ #define OPM_BDASOLVER_BACKEND_HEADER_INCLUDED -#include -#include #include #include diff --git a/opm/simulators/linalg/bda/BlockedMatrix.cpp b/opm/simulators/linalg/bda/BlockedMatrix.cpp index de4f4817c..8fb3bdd12 100644 --- a/opm/simulators/linalg/bda/BlockedMatrix.cpp +++ b/opm/simulators/linalg/bda/BlockedMatrix.cpp @@ -17,11 +17,8 @@ along with OPM. If not, see . */ -#include #include -#include #include -#include #include diff --git a/opm/simulators/linalg/bda/MultisegmentWellContribution.cpp b/opm/simulators/linalg/bda/MultisegmentWellContribution.cpp index d578f980e..23a693e73 100644 --- a/opm/simulators/linalg/bda/MultisegmentWellContribution.cpp +++ b/opm/simulators/linalg/bda/MultisegmentWellContribution.cpp @@ -18,7 +18,6 @@ */ -#include #include // CMake #if HAVE_UMFPACK diff --git a/opm/simulators/linalg/bda/cusparseSolverBackend.cu b/opm/simulators/linalg/bda/cusparseSolverBackend.cu index 53270ba1e..f53f96733 100644 --- a/opm/simulators/linalg/bda/cusparseSolverBackend.cu +++ b/opm/simulators/linalg/bda/cusparseSolverBackend.cu @@ -21,11 +21,7 @@ #error "Cannot compile for cusparse: NVIDIA compiler not found" #endif -#include -#include #include -#include -#include #include #include diff --git a/opm/simulators/linalg/bda/openclSolverBackend.cpp b/opm/simulators/linalg/bda/openclSolverBackend.cpp index 5519d34b5..8acea5969 100644 --- a/opm/simulators/linalg/bda/openclSolverBackend.cpp +++ b/opm/simulators/linalg/bda/openclSolverBackend.cpp @@ -17,13 +17,9 @@ along with OPM. If not, see . */ -#include -#include #include -#include #include -#include // CMake #include #include