Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
7798c4fe
Commit
7798c4fe
authored
15 years ago
by
mattijs
Browse files
Options
Downloads
Patches
Plain Diff
write access to tag
parent
74fade9b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/OpenFOAM/db/IOstreams/Pstreams/Pstream.C
+1
-1
1 addition, 1 deletion
src/OpenFOAM/db/IOstreams/Pstreams/Pstream.C
src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H
+3
-2
3 additions, 2 deletions
src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H
with
4 additions
and
3 deletions
src/OpenFOAM/db/IOstreams/Pstreams/Pstream.C
+
1
−
1
View file @
7798c4fe
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
src/OpenFOAM/db/IOstreams/Pstreams/Pstream.H
+
3
−
2
View file @
7798c4fe
...
@@ -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
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment