ENH: add primitives support for mixed precision (#1086)

- add vsmall pTraits for scalars
- report the solve scalar in buildArch information
This commit is contained in:
mattijs
2019-02-03 16:54:25 +00:00
committed by Andrew Heather
parent f88708797f
commit 46bc808261
17 changed files with 185 additions and 17 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\ / A nd | Copyright (C) 2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2016 OpenFOAM Foundation
@ -50,7 +50,7 @@ namespace Foam
typedef Tensor<float> floatTensor;
//- Data associated with floatTensor type are contiguous
#if !defined(WM_SP)
#if !defined(WM_SP) && !defined(WM_SPDP)
template<>
inline bool contiguous<floatTensor>() {return true;}
#endif