Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tpetra_Details_isInterComm.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Tpetra: Templated Linear Algebra Services Package
4 //
5 // Copyright 2008 NTESS and the Tpetra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TPETRA_DETAILS_ISINTERCOMM_HPP
11 #define TPETRA_DETAILS_ISINTERCOMM_HPP
12 
24 
25 #include "TpetraCore_config.h"
26 #include "Teuchos_Comm.hpp"
27 
28 namespace Tpetra {
29 namespace Details {
30 
49 bool
50 isInterComm (const Teuchos::Comm<int>& comm);
51 
52 } // namespace Details
53 } // namespace Tpetra
54 
55 #endif // TPETRA_DETAILS_ISINTERCOMM_HPP
bool isInterComm(const Teuchos::Comm< int > &)
Return true if and only if the input communicator wraps an MPI intercommunicator. ...