From 0016e38deb25a5dcd6e8f04a28cfa4ac410aa8ff Mon Sep 17 00:00:00 2001 From: "Dmitry Yu. Naumov" <github@naumov.de> Date: Wed, 10 Jun 2015 14:27:41 +0000 Subject: [PATCH] [MeL] Includes and fwd. decls in ElementCoordMapp. --- MeshLib/ElementCoordinatesMappingLocal.cpp | 4 +++- MeshLib/ElementCoordinatesMappingLocal.h | 10 +++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/MeshLib/ElementCoordinatesMappingLocal.cpp b/MeshLib/ElementCoordinatesMappingLocal.cpp index 9ccaf5e57ad..48ff05b35ad 100644 --- a/MeshLib/ElementCoordinatesMappingLocal.cpp +++ b/MeshLib/ElementCoordinatesMappingLocal.cpp @@ -13,8 +13,10 @@ #include "GeoLib/AnalyticalGeometry.h" -#include "MathLib/MathTools.h" +#include "MeshLib/Elements/Element.h" #include "MeshLib/Node.h" +#include "MathLib/MathTools.h" +#include "MathLib/Vector3.h" namespace MeshLib { diff --git a/MeshLib/ElementCoordinatesMappingLocal.h b/MeshLib/ElementCoordinatesMappingLocal.h index 3a46788363e..9d393ea4c23 100644 --- a/MeshLib/ElementCoordinatesMappingLocal.h +++ b/MeshLib/ElementCoordinatesMappingLocal.h @@ -13,17 +13,21 @@ #ifdef OGS_USE_EIGEN #include <Eigen/Eigen> +#else +#include "MathLib/LinAlg/Dense/DenseMatrix.h" #endif -#include "MathLib/Vector3.h" -#include "MathLib/LinAlg/Dense/DenseMatrix.h" +#include "MathLib/Point3d.h" -#include "MeshLib/Elements/Element.h" #include "MeshLib/CoordinateSystem.h" namespace MeshLib { + class Element; +} +namespace MeshLib +{ #ifdef OGS_USE_EIGEN typedef Eigen::Matrix<double, 3u, 3u, Eigen::RowMajor> RotationMatrix; #else -- GitLab