11 #include "Teuchos_Comm.hpp"
12 #ifdef HAVE_TPETRACORE_MPI
14 #endif // HAVE_TPETRACORE_MPI
20 #ifdef HAVE_TPETRACORE_MPI
22 MPI_Comm rawMpiComm = extractMpiCommFromTeuchos(comm);
25 (void)MPI_Comm_test_inter(rawMpiComm, &flag);
29 #else // NOT HAVE_TPETRACORE_MPI
34 #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.