10 #ifndef MUELU_MERGEDBLOCKEDMATRIXFACTORY_DEF_HPP_
11 #define MUELU_MERGEDBLOCKEDMATRIXFACTORY_DEF_HPP_
16 #include "MueLu_PerfUtils.hpp"
22 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
25 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
31 return validParamList;
34 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
36 Input(currentLevel,
"A");
39 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
53 Set(currentLevel,
"A", mergedA);
Exception indicating invalid cast attempted.
MergedBlockedMatrixFactory()
Timer to be used in factories. Similar to Monitor but with additional timers.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
ParameterList & set(std::string const &name, T &&value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Class that holds all level-specific information.
static const RCP< const NoFactory > getRCP()
Static Get() functions.
static std::string PrintMatrixInfo(const Matrix &A, const std::string &msgTag, RCP< const Teuchos::ParameterList > params=Teuchos::null)
void DeclareInput(Level ¤tLevel) const
Specifies the data that this class needs, and the factories that generate that data.
void Build(Level ¤tLevel) const
Build an object with this factory.