tensor2D: Added specialisation for the outerProduct of Vector2D to enable outer product operation

This commit is contained in:
Henry
2012-02-01 12:30:16 +00:00
parent 52d5229be4
commit de7ccd8e5b
4 changed files with 26 additions and 1 deletions

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-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -513,6 +513,14 @@ public:
};
template<class Cmpt>
class outerProduct<Vector2D<Cmpt>, Vector2D<Cmpt> >
{
public:
typedef Tensor2D<Cmpt> type;
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //