mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user