Commit 96392593 authored by Henry Weller's avatar Henry Weller
Browse files

LimitFuncs: Update function specializations to satisfy gcc, clang and icpc

parent d1941723
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -95,6 +95,24 @@ public:
) const;
};
template<>
inline tmp<volScalarField> magSqr<scalar>::operator()
(
const volScalarField& phi
) const;
template<>
inline tmp<volScalarField> magSqr<symmTensor>::operator()
(
const volSymmTensorField& phi
) const;
template<>
inline tmp<volScalarField> magSqr<tensor>::operator()
(
const volTensorField& phi
) const;
template<class Type>
class rhoMagSqr
......@@ -110,6 +128,12 @@ public:
) const;
};
template<>
inline tmp<volScalarField> rhoMagSqr<scalar>::operator()
(
const volScalarField& phi
) const;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment