43 #include "Teuchos_Comm.hpp"
44 #ifdef HAVE_TPETRACORE_MPI
46 #endif // HAVE_TPETRACORE_MPI
52 #ifdef HAVE_TPETRACORE_MPI
56 MPI_Comm rawMpiComm = extractMpiCommFromTeuchos (comm);
59 (void) MPI_Comm_test_inter (rawMpiComm, &flag);
63 #else // NOT HAVE_TPETRACORE_MPI
70 #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.