diff --git a/src/OpenFOAM/primitives/Vector/VectorI.H b/src/OpenFOAM/primitives/Vector/VectorI.H index 591155fa4..c6c52f2f4 100644 --- a/src/OpenFOAM/primitives/Vector/VectorI.H +++ b/src/OpenFOAM/primitives/Vector/VectorI.H @@ -137,6 +137,18 @@ namespace Foam // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +//- Dummy innerProduct for scalar to allow the construction of vtables for +// virtual member functions involving the inner-products of fields +// for which a "NotImplemented" specialization for scalar is provided. +template +class innerProduct, scalar> +{ +public: + + typedef scalar type; +}; + + template inline typename innerProduct, Vector>::type operator&(const Vector& v1, const Vector& v2)