47 #ifndef PACKAGES_MUELU_SRC_INTERFACE_FACADECLASSES_MUELU_FACADECLASSBASE_DECL_HPP_
48 #define PACKAGES_MUELU_SRC_INTERFACE_FACADECLASSES_MUELU_FACADECLASSBASE_DECL_HPP_
60 #undef MUELU_FACADECLASSBASE_SHORT
85 std::string
ReplaceString(std::string& subject,
const std::string& search,
const std::string& replace) {
87 while ((pos = subject.find(search, pos)) != std::string::npos) {
88 subject.replace(pos, search.length(), replace);
89 pos += replace.length();
98 #define MUELU_FACADECLASSBASE_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
std::string ReplaceString(std::string &subject, const std::string &search, const std::string &replace)
Replace all occurrences of search string "search" by the string in "replace" given the string "subjec...
virtual ~FacadeClassBase()
Destructor.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
virtual Teuchos::RCP< Teuchos::ParameterList > SetParameterList(const Teuchos::ParameterList ¶mList)=0
Set parameter list for FacadeClass (abstract member).
Base class for MueLu classes.
FacadeClassBase()
Constructor.