mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Random: Declare member function specializations within the Foam namespace
Required for gcc-4.8.5
This commit is contained in:
@ -143,6 +143,23 @@ public:
|
|||||||
scalar globalScalar01();
|
scalar globalScalar01();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
template<>
|
||||||
|
inline scalar Random::sample01();
|
||||||
|
|
||||||
|
template<>
|
||||||
|
inline label Random::sample01();
|
||||||
|
|
||||||
|
template<>
|
||||||
|
inline scalar Random::sampleAB(const scalar& a, const scalar& b);
|
||||||
|
|
||||||
|
template<>
|
||||||
|
inline label Random::sampleAB(const label& a, const label& b);
|
||||||
|
|
||||||
|
template<>
|
||||||
|
inline scalar Random::sampleNormal();
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
} // End namespace Foam
|
} // End namespace Foam
|
||||||
|
|||||||
Reference in New Issue
Block a user