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

This commit is contained in:
Henry Weller
2015-12-09 22:37:43 +00:00
parent c47adcc10d
commit baa5a1df12

View File

@ -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;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //