58 using Teuchos::rcp_dynamic_cast;
62 rcp_dynamic_cast<
const Teuchos::MpiComm<int> >(tpetraComm);
64 return Teuchos::createMpiComm<Ordinal>(tpetraMpiComm->getRawMpiComm());
70 return Teuchos::createSerialComm<Ordinal>();
bool nonnull(const boost::shared_ptr< T > &p)
RCP< const Teuchos::Comm< Ordinal > > convertTpetraToThyraComm(const RCP< const Teuchos::Comm< int > > &tpetraComm)
Given an Tpetra Teuchos::Comm<int> object, return an equivalent Teuchos::Comm<Ordinal> object...