From 3a23a1c2a7b3251a72dcf88bbdf5c9433ae80d2c Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Tue, 29 Aug 2017 23:02:16 +0200
Subject: [PATCH] [PL] TM: Fwd-decl MechanicsBase. Init dt/t.

---
 .../ThermoMechanics/ThermoMechanicsProcessData.h    | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/ProcessLib/ThermoMechanics/ThermoMechanicsProcessData.h b/ProcessLib/ThermoMechanics/ThermoMechanicsProcessData.h
index 5ac1bb4210a..b59fc749ac8 100644
--- a/ProcessLib/ThermoMechanics/ThermoMechanicsProcessData.h
+++ b/ProcessLib/ThermoMechanics/ThermoMechanicsProcessData.h
@@ -9,11 +9,14 @@
 
 #pragma once
 
-namespace MeshLib
+namespace MaterialLib
 {
-class Element;
+namespace Solids
+{
+template <int DisplacementDim>
+struct MechanicsBase;
+}
 }
-
 namespace ProcessLib
 {
 namespace ThermoMechanics
@@ -73,8 +76,8 @@ struct ThermoMechanicsProcessData
         thermal_conductivity;  // TODO To be changed as a matrix type variable.
     double const reference_temperature;
     Eigen::Matrix<double, DisplacementDim, 1> const specific_body_force;
-    double dt;
-    double t;
+    double dt = 0;
+    double t = 0;
 
     EIGEN_MAKE_ALIGNED_OPERATOR_NEW;
 };
-- 
GitLab