preCICE v3.1.1
Loading...
Searching...
No Matches
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
7namespace precice {
8namespace com {
9class MPIRequest : public Request {
10public:
11 explicit MPIRequest(MPI_Request request);
12
13 bool test() override;
14
15 void wait() override;
16
17private:
18 MPI_Request _request;
19};
20} // namespace com
21} // namespace precice
22
23#endif // not PRECICE_NO_MPI
MPIRequest(MPI_Request request)
Definition MPIRequest.cpp:6
Main namespace of the precice library.