Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Spiros Tsalikis
VTK
Commits
bb4fb28a
Commit
bb4fb28a
authored
1 year ago
by
Julien Fausty
Browse files
Options
Downloads
Patches
Plain Diff
vtkMPIController: add blocking probe methods
parent
3097720b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Parallel/MPI/vtkMPIController.h
+38
-0
38 additions, 0 deletions
Parallel/MPI/vtkMPIController.h
with
38 additions
and
0 deletions
Parallel/MPI/vtkMPIController.h
+
38
−
0
View file @
bb4fb28a
...
...
@@ -333,6 +333,7 @@ public:
}
///@}
///@{
/**
* Nonblocking test for a message. Inputs are: source -- the source rank
* or ANY_SOURCE; tag -- the tag value. Outputs are:
...
...
@@ -372,6 +373,43 @@ public:
return
((
vtkMPICommunicator
*
)
this
->
Communicator
)
->
Iprobe
(
source
,
tag
,
flag
,
actualSource
,
type
,
size
);
}
///@}
///@{
/**
* Blocking test for a message. Inputs are: source -- the source rank
* or ANY_SOURCE; tag -- the tag value. Outputs are:
* actualSource -- the rank sending the message (useful if ANY_SOURCE is used)
* if actualSource isn't nullptr; size -- the length of the message in
* bytes if flag is true (only set if size isn't nullptr). The return
* value is 1 for success and 0 otherwise.
* Note: These methods delegate to the communicator
*/
int
Probe
(
int
source
,
int
tag
,
int
*
actualSource
)
{
return
((
vtkMPICommunicator
*
)
this
->
Communicator
)
->
Probe
(
source
,
tag
,
actualSource
);
}
int
Probe
(
int
source
,
int
tag
,
int
*
actualSource
,
int
*
type
,
int
*
size
)
{
return
((
vtkMPICommunicator
*
)
this
->
Communicator
)
->
Probe
(
source
,
tag
,
actualSource
,
type
,
size
);
}
int
Probe
(
int
source
,
int
tag
,
int
*
actualSource
,
unsigned
long
*
type
,
int
*
size
)
{
return
((
vtkMPICommunicator
*
)
this
->
Communicator
)
->
Probe
(
source
,
tag
,
actualSource
,
type
,
size
);
}
int
Probe
(
int
source
,
int
tag
,
int
*
actualSource
,
const
char
*
type
,
int
*
size
)
{
return
((
vtkMPICommunicator
*
)
this
->
Communicator
)
->
Probe
(
source
,
tag
,
actualSource
,
type
,
size
);
}
int
Probe
(
int
source
,
int
tag
,
int
*
actualSource
,
float
*
type
,
int
*
size
)
{
return
((
vtkMPICommunicator
*
)
this
->
Communicator
)
->
Probe
(
source
,
tag
,
actualSource
,
type
,
size
);
}
int
Probe
(
int
source
,
int
tag
,
int
*
actualSource
,
double
*
type
,
int
*
size
)
{
return
((
vtkMPICommunicator
*
)
this
->
Communicator
)
->
Probe
(
source
,
tag
,
actualSource
,
type
,
size
);
}
///@}
/**
* Given the request objects of a set of non-blocking operations
...
...
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