Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Teuchos_Details_MpiCommRequest.cpp
1// @HEADER
2// *****************************************************************************
3// Teuchos: Common Tools Package
4//
5// Copyright 2004 NTESS and the Teuchos contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#include <Teuchos_Details_MpiCommRequest.hpp>
11
12namespace Teuchos {
13namespace Details {
14
15MpiCommRequest::
16MpiCommRequest (MPI_Request rawMpiRequest,
18 MpiCommRequestBase<int> (rawMpiRequest),
19 buffer_ (buffer)
20{}
21
23
25mpiCommRequest (MPI_Request rawMpiRequest,
27{
28 return rcp (new MpiCommRequest (rawMpiRequest, buffer));
29}
30
31} // namespace Details
32} // namespace Teuchos
33
MPI implementation of CommRequest<int>.
virtual ~MpiCommRequest()
Destructor; cancels the request if it is still pending.
Smart reference counting pointer class for automatic garbage collection.
Namespace of implementation details.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.