From 9bb1531e2dbee4e3f9768cb893ed3472f2d7819e Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Thu, 11 Oct 2018 17:26:54 +0200
Subject: [PATCH] [PL/ST/Python] Cleanup includes and add fwd decls.

---
 ProcessLib/SourceTerms/Python/PythonSourceTerm.cpp |  1 +
 ProcessLib/SourceTerms/Python/PythonSourceTerm.h   | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ProcessLib/SourceTerms/Python/PythonSourceTerm.cpp b/ProcessLib/SourceTerms/Python/PythonSourceTerm.cpp
index 1497c70e531..733dd183140 100644
--- a/ProcessLib/SourceTerms/Python/PythonSourceTerm.cpp
+++ b/ProcessLib/SourceTerms/Python/PythonSourceTerm.cpp
@@ -13,6 +13,7 @@
 #include <iostream>
 
 #include "MeshLib/MeshSearch/NodeSearch.h"
+#include "NumLib/DOF/LocalToGlobalIndexMap.h"
 #include "ProcessLib/Utils/CreateLocalAssemblers.h"
 #include "ProcessLib/Utils/ProcessUtils.h"
 #include "PythonSourceTermLocalAssembler.h"
diff --git a/ProcessLib/SourceTerms/Python/PythonSourceTerm.h b/ProcessLib/SourceTerms/Python/PythonSourceTerm.h
index 931a5fca0a3..9ec77f3952f 100644
--- a/ProcessLib/SourceTerms/Python/PythonSourceTerm.h
+++ b/ProcessLib/SourceTerms/Python/PythonSourceTerm.h
@@ -9,12 +9,14 @@
 
 #pragma once
 
-#include "NumLib/DOF/LocalToGlobalIndexMap.h"
-#include "NumLib/IndexValueVector.h"
 #include "ProcessLib/SourceTerms/SourceTerm.h"
-
-#include "PythonSourceTermPythonSideInterface.h"
 #include "PythonSourceTermLocalAssemblerInterface.h"
+#include "PythonSourceTermPythonSideInterface.h"
+
+namespace ProcessLib
+{
+class LocalToGlobalIndexMap;
+}
 
 namespace ProcessLib
 {
-- 
GitLab