10 #ifndef PACKAGES_MUELU_SRC_INTERFACE_FACADECLASSES_MUELU_FACADECLASSBASE_DECL_HPP_
11 #define PACKAGES_MUELU_SRC_INTERFACE_FACADECLASSES_MUELU_FACADECLASSBASE_DECL_HPP_
23 #undef MUELU_FACADECLASSBASE_SHORT
47 std::string
ReplaceString(std::string& subject,
const std::string& search,
const std::string& replace) {
49 while ((pos = subject.find(search, pos)) != std::string::npos) {
50 subject.replace(pos, search.length(), replace);
51 pos += replace.length();
59 #define MUELU_FACADECLASSBASE_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::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
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
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.