10 #ifndef TPETRA_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
11 #define TPETRA_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
19 #include "TpetraCore_config.h"
20 #ifdef HAVE_TPETRACORE_MPI
22 #endif // HAVE_TPETRACORE_MPI
24 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 template <
class OrdinalType>
30 #endif // NOT DOXYGEN_SHOULD_SKIP_THIS
35 #ifdef HAVE_TPETRACORE_MPI
44 extractMpiCommFromTeuchos(
const Teuchos::Comm<int>& comm);
45 #endif // HAVE_TPETRACORE_MPI
53 #endif // TPETRA_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
bool teuchosCommIsAnMpiComm(const Teuchos::Comm< int > &)
Is the given Comm a Teuchos::MpiComm<int> instance?