42 #ifndef TPETRA_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
43 #define TPETRA_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
51 #include "TpetraCore_config.h"
52 #ifdef HAVE_TPETRACORE_MPI
54 #endif // HAVE_TPETRACORE_MPI
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
59 template<
class OrdinalType>
class Comm;
61 #endif // NOT DOXYGEN_SHOULD_SKIP_THIS
66 #ifdef HAVE_TPETRACORE_MPI
75 extractMpiCommFromTeuchos (
const Teuchos::Comm<int>& comm);
76 #endif // HAVE_TPETRACORE_MPI
84 #endif // TPETRA_DETAILS_EXTRACTMPICOMMFROMTEUCHOS_HPP
bool teuchosCommIsAnMpiComm(const Teuchos::Comm< int > &)
Is the given Comm a Teuchos::MpiComm<int> instance?