preCICE
v3.1.2
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
Typedefs
b
d
e
g
l
m
p
r
s
t
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
i
k
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
c
d
e
i
l
m
n
o
r
s
u
v
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
j
m
n
o
p
r
s
t
v
Functions
a
b
c
g
m
p
r
s
t
v
Variables
Typedefs
Macros
b
d
f
m
n
p
t
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
src
com
MPIRequest.cpp
Go to the documentation of this file.
1
#ifndef PRECICE_NO_MPI
2
3
#include "
com/MPIRequest.hpp
"
4
5
namespace
precice::com
{
6
MPIRequest::MPIRequest
(MPI_Request request)
7
: _request(request)
8
{
9
}
6
MPIRequest::MPIRequest
(MPI_Request request) {
…
}
10
11
bool
MPIRequest::test
()
12
{
13
int
complete = 0;
14
15
MPI_Test(&
_request
, &complete, MPI_STATUS_IGNORE);
16
17
return
complete;
18
}
11
bool
MPIRequest::test
() {
…
}
19
20
void
MPIRequest::wait
()
21
{
22
MPI_Wait(&
_request
, MPI_STATUS_IGNORE);
23
}
20
void
MPIRequest::wait
() {
…
}
24
}
// namespace precice::com
25
26
#endif
// not PRECICE_NO_MPI
MPIRequest.hpp
precice::com::MPIRequest::wait
void wait() override
Definition
MPIRequest.cpp:20
precice::com::MPIRequest::test
bool test() override
Definition
MPIRequest.cpp:11
precice::com::MPIRequest::MPIRequest
MPIRequest(MPI_Request request)
Definition
MPIRequest.cpp:6
precice::com::MPIRequest::_request
MPI_Request _request
Definition
MPIRequest.hpp:18
precice::com
contains the data communication abstraction layer.
Definition
Communication.cpp:12