11 #include "Teuchos_Comm.hpp"
12 #ifdef HAVE_TPETRACORE_MPI
14 #endif // HAVE_TPETRACORE_MPI
20 #ifdef HAVE_TPETRACORE_MPI
24 MPI_Comm rawMpiComm = extractMpiCommFromTeuchos (comm);
27 (void) MPI_Comm_test_inter (rawMpiComm, &flag);
31 #else // NOT HAVE_TPETRACORE_MPI
38 #endif // HAVE_TPETRACORE_MPI
bool isInterComm(const Teuchos::Comm< int > &)
Return true if and only if the input communicator wraps an MPI intercommunicator. ...
Declaration of Tpetra::Details::isInterComm.