mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
OpenFOAM: avoid duplicate definitions when compiling SP
This commit is contained in:
@ -45,7 +45,9 @@ primitives/Tensor/lists/symmTensorList.C
|
|||||||
primitives/Tensor/lists/tensorList.C
|
primitives/Tensor/lists/tensorList.C
|
||||||
|
|
||||||
primitives/Vector/complexVector/complexVector.C
|
primitives/Vector/complexVector/complexVector.C
|
||||||
|
#if !defined(WM_SP)
|
||||||
primitives/Vector/floatVector/floatVector.C
|
primitives/Vector/floatVector/floatVector.C
|
||||||
|
#endif
|
||||||
primitives/Vector/labelVector/labelVector.C
|
primitives/Vector/labelVector/labelVector.C
|
||||||
primitives/Vector/vector/vector.C
|
primitives/Vector/vector/vector.C
|
||||||
primitives/Vector/lists/vectorList.C
|
primitives/Vector/lists/vectorList.C
|
||||||
|
|||||||
@ -47,11 +47,11 @@ namespace Foam
|
|||||||
|
|
||||||
typedef Vector<float> floatVector;
|
typedef Vector<float> floatVector;
|
||||||
|
|
||||||
|
|
||||||
//- Data associated with floatVector type are contiguous
|
//- Data associated with floatVector type are contiguous
|
||||||
|
#if !defined(WM_SP)
|
||||||
template<>
|
template<>
|
||||||
inline bool contiguous<floatVector>() {return true;}
|
inline bool contiguous<floatVector>() {return true;}
|
||||||
|
#endif
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user