Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
MpiRequest.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* MpiRequest.h (C) 2000-2025 */
9/* */
10/* Specialization of 'Request' for MPI. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCCORE_MESSAGEPASSINGMPI_INTERNAL_MPIREQUEST_H
13#define ARCCORE_MESSAGEPASSINGMPI_INTERNAL_MPIREQUEST_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arccore/message_passing_mpi/MessagePassingMpiGlobal.h"
18
19#include "arccore/message_passing/Request.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24namespace Arcane::MessagePassing::Mpi
25{
26class MpiAdapter;
27
34class ARCCORE_MESSAGEPASSINGMPI_EXPORT MpiRequest
35: public Request
36{
37 public:
38
39 MpiRequest() = default;
40 MpiRequest(int ret_value, MpiAdapter* creator, MPI_Request mpi_request)
41 : Request(ret_value, creator, mpi_request)
42 {}
43};
44
45/*---------------------------------------------------------------------------*/
46/*---------------------------------------------------------------------------*/
47
48} // namespace Arcane::MessagePassing::Mpi
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
52
53#endif
IRequestCreator * creator() const
Request creator.
Definition Request.h:245