From 01e972169d8be215dc9e35be8a760d537f9faf15 Mon Sep 17 00:00:00 2001 From: Suneth Warnakulasuriya Date: Fri, 19 Jun 2020 16:18:05 +0200 Subject: [PATCH] [Core] Adding kratos_api to geometry_utils (#7113) * adding kratos_api * adding kratos_api to cpp * remove kratos_api from cpp * minor --- kratos/utilities/geometry_utilities.cpp | 4 ++-- kratos/utilities/geometry_utilities.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kratos/utilities/geometry_utilities.cpp b/kratos/utilities/geometry_utilities.cpp index b7295e019c3f..950a1a53d42a 100644 --- a/kratos/utilities/geometry_utilities.cpp +++ b/kratos/utilities/geometry_utilities.cpp @@ -47,7 +47,7 @@ void GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint( } template <> -void GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint( +void KRATOS_API(KRATOS_CORE) GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint( double& rOutput, const GeometryType& rGeometry, const Variable& rVariable, @@ -116,7 +116,7 @@ void GeometryUtils::EvaluateHistoricalVariableGradientAtGaussPoint( // template instantiations -template void GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint>( +template void KRATOS_API(KRATOS_CORE) GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint>( array_1d& rOutput, const GeometryType&, const Variable>&, diff --git a/kratos/utilities/geometry_utilities.h b/kratos/utilities/geometry_utilities.h index 19feea655792..b9d394ac7233 100644 --- a/kratos/utilities/geometry_utilities.h +++ b/kratos/utilities/geometry_utilities.h @@ -800,7 +800,7 @@ class GeometryUtils * @param Step Step to be used in historical variable value interpolation */ template - static void EvaluateHistoricalVariableValueAtGaussPoint( + static void KRATOS_API(KRATOS_CORE) EvaluateHistoricalVariableValueAtGaussPoint( TDataType& rOutput, const GeometryType& rGeometry, const Variable& rVariable, @@ -819,7 +819,7 @@ class GeometryUtils * @param rGaussPointShapeFunctionDerivativeValues Shape function derivatives evaluated at gauss point * @param Step Step to be used in historical variable value interpolation */ - static void EvaluateHistoricalVariableGradientAtGaussPoint( + static void KRATOS_API(KRATOS_CORE) EvaluateHistoricalVariableGradientAtGaussPoint( array_1d& rOutput, const GeometryType& rGeometry, const Variable& rVariable, @@ -842,7 +842,7 @@ class GeometryUtils * @param rGaussPointShapeFunctionDerivativeValues Shape function derivatives evaluated at gauss point * @param Step Step to be used in historical variable value interpolation */ - static void EvaluateHistoricalVariableGradientAtGaussPoint( + static void KRATOS_API(KRATOS_CORE) EvaluateHistoricalVariableGradientAtGaussPoint( BoundedMatrix& rOutput, const GeometryType& rGeometry, const Variable>& rVariable,