Bugfix: Cumulative bug fixes for SP Windows and Misc. Author: Inno Gatin and Hrvoje Jasak. Merge: Hrvoje Jasak.

This commit is contained in:
Hrvoje Jasak 2015-10-30 15:41:34 +00:00
commit ac4abdca3d

View file

@ -234,6 +234,15 @@ public:
//- Default commsType //- Default commsType
static const debug::optimisationSwitch defaultCommsType; static const debug::optimisationSwitch defaultCommsType;
//- Default comms with a cast
inline static Pstream::commsTypes defaultComms()
{
return static_cast<Pstream::commsTypes>
(
Pstream::defaultCommsType()
);
}
// Constructors // Constructors