diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitFuncs.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitFuncs.H index d3726edb60ac22d865351aa23c39e2a709d536e1..40a1fe3bb5019068fcc6a9cc0aa92a58edbe1e43 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitFuncs.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitFuncs.H @@ -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; + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //