Skip to content
Snippets Groups Projects
Commit 7798c4fe authored by mattijs's avatar mattijs
Browse files

write access to tag

parent 74fade9b
No related branches found
No related tags found
No related merge requests found
...@@ -217,7 +217,7 @@ bool Foam::Pstream::parRun_(false); ...@@ -217,7 +217,7 @@ bool Foam::Pstream::parRun_(false);
Foam::List<int> Foam::Pstream::procIDs_(1, 0); Foam::List<int> Foam::Pstream::procIDs_(1, 0);
// Standard transfer message type // Standard transfer message type
const int Foam::Pstream::msgType_(1); int Foam::Pstream::msgType_(1);
// Linear communication schedule // Linear communication schedule
Foam::List<Foam::Pstream::commsStruct> Foam::Pstream::linearCommunication_(0); Foam::List<Foam::Pstream::commsStruct> Foam::Pstream::linearCommunication_(0);
......
...@@ -163,7 +163,7 @@ private: ...@@ -163,7 +163,7 @@ private:
static bool parRun_; static bool parRun_;
static List<int> procIDs_; static List<int> procIDs_;
static const int msgType_; static int msgType_;
static List<commsStruct> linearCommunication_; static List<commsStruct> linearCommunication_;
static List<commsStruct> treeCommunication_; static List<commsStruct> treeCommunication_;
...@@ -337,11 +337,12 @@ public: ...@@ -337,11 +337,12 @@ public:
} }
//- Message tag of standard messages //- Message tag of standard messages
static int msgType() static int& msgType()
{ {
return msgType_; return msgType_;
} }
//- Get the communications type of the stream //- Get the communications type of the stream
commsTypes commsType() const commsTypes commsType() const
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment