10 #ifndef MUELU_PERFUTILS_DECL_HPP
11 #define MUELU_PERFUTILS_DECL_HPP
25 #define MueLu_sumAll(rcpComm, in, out) \
26 Teuchos::reduceAll(*rcpComm, Teuchos::REDUCE_SUM, in, Teuchos::outArg(out))
27 #define MueLu_minAll(rcpComm, in, out) \
28 Teuchos::reduceAll(*rcpComm, Teuchos::REDUCE_MIN, in, Teuchos::outArg(out))
29 #define MueLu_maxAll(rcpComm, in, out) \
30 Teuchos::reduceAll(*rcpComm, Teuchos::REDUCE_MAX, in, Teuchos::outArg(out))
37 #undef MUELU_PERFUTILS_SHORT
41 static std::string
PrintMatrixInfo(
const Matrix& A,
const std::string& msgTag, RCP<const Teuchos::ParameterList> params = Teuchos::null);
43 static std::string
PrintImporterInfo(RCP<const Import> importer,
const std::string& msgTag);
45 static std::string
CommPattern(
const Matrix& A,
const std::string& msgTag, RCP<const Teuchos::ParameterList> params = Teuchos::null);
53 #define MUELU_PERFUTILS_SHORT
54 #endif // MUELU_PERFUTILS_DECL_HPP
static bool CheckMatrix(const Matrix &A)
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
static std::string CommPattern(const Matrix &A, const std::string &msgTag, RCP< const Teuchos::ParameterList > params=Teuchos::null)
static std::string PrintImporterInfo(RCP< const Import > importer, const std::string &msgTag)
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
static std::string PrintMatrixInfo(const Matrix &A, const std::string &msgTag, RCP< const Teuchos::ParameterList > params=Teuchos::null)