Skip to content
Snippets Groups Projects
Commit b0ffdbcf authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

STYLE: relocate typeOfRank partial specialization to products.H

parent 4c91d068
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2018 OpenCFD Ltd.
\\ / A nd | Copyright (C) 2018-2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2011 OpenFOAM Foundation
......@@ -38,26 +38,6 @@ License
namespace Foam
{
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
template<class Cmpt>
class typeOfRank<Cmpt, 0>
{
public:
typedef Cmpt type;
};
template<class Cmpt>
class symmTypeOfRank<Cmpt, 0>
{
public:
typedef Cmpt type;
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//- Compare two values for equality
......
......@@ -159,6 +159,28 @@ public:
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Partial Specializations for non-VectorSpace quantities
template<class Cmpt>
class typeOfRank<Cmpt, 0>
{
public:
typedef Cmpt type;
};
template<class Cmpt>
class symmTypeOfRank<Cmpt, 0>
{
public:
typedef Cmpt type;
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
......
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