mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
write access to tag
This commit is contained in:
@ -217,7 +217,7 @@ bool Foam::Pstream::parRun_(false);
|
||||
Foam::List<int> Foam::Pstream::procIDs_(1, 0);
|
||||
|
||||
// Standard transfer message type
|
||||
const int Foam::Pstream::msgType_(1);
|
||||
int Foam::Pstream::msgType_(1);
|
||||
|
||||
// Linear communication schedule
|
||||
Foam::List<Foam::Pstream::commsStruct> Foam::Pstream::linearCommunication_(0);
|
||||
|
||||
@ -163,7 +163,7 @@ private:
|
||||
static bool parRun_;
|
||||
|
||||
static List<int> procIDs_;
|
||||
static const int msgType_;
|
||||
static int msgType_;
|
||||
|
||||
static List<commsStruct> linearCommunication_;
|
||||
static List<commsStruct> treeCommunication_;
|
||||
@ -337,11 +337,12 @@ public:
|
||||
}
|
||||
|
||||
//- Message tag of standard messages
|
||||
static int msgType()
|
||||
static int& msgType()
|
||||
{
|
||||
return msgType_;
|
||||
}
|
||||
|
||||
|
||||
//- Get the communications type of the stream
|
||||
commsTypes commsType() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user