Skip to content

Commit

Permalink
[Core] Adding kratos_api to geometry_utils (#7113)
Browse files Browse the repository at this point in the history
* adding kratos_api

* adding kratos_api to cpp

* remove kratos_api from cpp

* minor
  • Loading branch information
sunethwarna authored Jun 19, 2020
1 parent d85034d commit 01e9721
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions kratos/utilities/geometry_utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint(
}

template <>
void GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint<double>(
void KRATOS_API(KRATOS_CORE) GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint<double>(
double& rOutput,
const GeometryType& rGeometry,
const Variable<double>& rVariable,
Expand Down Expand Up @@ -116,7 +116,7 @@ void GeometryUtils::EvaluateHistoricalVariableGradientAtGaussPoint(

// template instantiations

template void GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint<array_1d<double, 3>>(
template void KRATOS_API(KRATOS_CORE) GeometryUtils::EvaluateHistoricalVariableValueAtGaussPoint<array_1d<double, 3>>(
array_1d<double, 3>& rOutput,
const GeometryType&,
const Variable<array_1d<double, 3>>&,
Expand Down
6 changes: 3 additions & 3 deletions kratos/utilities/geometry_utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ class GeometryUtils
* @param Step Step to be used in historical variable value interpolation
*/
template <class TDataType>
static void EvaluateHistoricalVariableValueAtGaussPoint(
static void KRATOS_API(KRATOS_CORE) EvaluateHistoricalVariableValueAtGaussPoint(
TDataType& rOutput,
const GeometryType& rGeometry,
const Variable<TDataType>& rVariable,
Expand All @@ -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<double, 3>& rOutput,
const GeometryType& rGeometry,
const Variable<double>& rVariable,
Expand All @@ -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<double, 3, 3>& rOutput,
const GeometryType& rGeometry,
const Variable<array_1d<double, 3>>& rVariable,
Expand Down

0 comments on commit 01e9721

Please sign in to comment.