preCICE
v3.1.2
Loading...
Searching...
No Matches
src
com
MPIRequest.hpp
Go to the documentation of this file.
1
#pragma once
2
#ifndef PRECICE_NO_MPI
3
4
#include <mpi.h>
5
#include "
com/Request.hpp
"
6
7
namespace
precice
{
8
namespace
com {
9
class
MPIRequest
:
public
Request
{
10
public
:
11
explicit
MPIRequest
(MPI_Request request);
12
13
bool
test
()
override
;
14
15
void
wait
()
override
;
16
17
private
:
18
MPI_Request
_request
;
19
};
20
}
// namespace com
21
}
// namespace precice
22
23
#endif
// not PRECICE_NO_MPI
Request.hpp
precice::com::MPIRequest
Definition
MPIRequest.hpp:9
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::Request
Definition
Request.hpp:8
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5