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>
class Comm;
29 #endif // NOT DOXYGEN_SHOULD_SKIP_THIS
34 #ifdef HAVE_TPETRACORE_MPI
43 extractMpiCommFromTeuchos (
const Teuchos::Comm<int>& comm);
44 #endif // HAVE_TPETRACORE_MPI
52 #endif // TPETRA_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
bool teuchosCommIsAnMpiComm(const Teuchos::Comm< int > &)
Is the given Comm a Teuchos::MpiComm<int> instance?