From 1883e7cc620f44d85ba0fceb8304b004b36b2910 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 12 Sep 2008 14:43:51 +0100 Subject: [PATCH] added unsigned types --- .../primitives/contiguous/contiguous.H | 36 ++++++++++++++----- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/src/OpenFOAM/primitives/contiguous/contiguous.H b/src/OpenFOAM/primitives/contiguous/contiguous.H index 2413b67127..d634bb0b60 100644 --- a/src/OpenFOAM/primitives/contiguous/contiguous.H +++ b/src/OpenFOAM/primitives/contiguous/contiguous.H @@ -47,34 +47,52 @@ namespace Foam // Assume the data associated with type T is not contiguous template -inline bool contiguous() {return false;} +inline bool contiguous() {return false;} // Specify data associated with primitive types is contiguous template<> -inline bool contiguous() {return true;} +inline bool contiguous() {return true;} template<> -inline bool contiguous() {return true;} +inline bool contiguous() {return true;} template<> -inline bool contiguous() {return true;} +inline bool contiguous() {return true;} template<> -inline bool contiguous() {return true;} +inline bool contiguous() {return true;} template<> -inline bool contiguous() {return true;} +inline bool contiguous() {return true;} template<> -inline bool contiguous() {return true;} +inline bool contiguous() {return true;} template<> -inline bool contiguous() {return true;} +inline bool contiguous() {return true;} template<> -inline bool contiguous() {return true;} +inline bool contiguous() {return true;} + +template<> +inline bool contiguous() {return true;} + +template<> +inline bool contiguous() {return true;} + +template<> +inline bool contiguous() {return true;} + +template<> +inline bool contiguous() {return true;} + +template<> +inline bool contiguous() {return true;} + +template<> +inline bool contiguous() {return true;} // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //