46 #ifndef MUELU_AMALGAMATIONFACTORY_DECL_HPP
47 #define MUELU_AMALGAMATIONFACTORY_DECL_HPP
79 #undef MUELU_AMALGAMATIONFACTORY_SHORT
103 void Build(
Level& currentLevel)
const override;
130 #define MUELU_AMALGAMATIONFACTORY_SHORT
131 #endif // MUELU_AMALGAMATIONFACTORY_DECL_HPP
void DeclareInput(Level ¤tLevel) const override
Input.
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
AmalgamationFactory()=default
Constructor.
static const GlobalOrdinal DOFGid2NodeId(GlobalOrdinal gid, LocalOrdinal blockSize, const GlobalOrdinal offset, const GlobalOrdinal indexBase)
Translate global (row/column) id to global amalgamation block id.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
static void AmalgamateMap(const Map &sourceMap, const Matrix &A, RCP< const Map > &amalgamatedMap, Array< LO > &translation)
Method to create merged map for systems of PDEs.
AmalgamationFactory for subblocks of strided map based amalgamation data.
void Build(Level ¤tLevel) const override
Build an object with this factory.
RCP< const ParameterList > GetValidParameterList() const override
Return a const parameter list of valid parameters that setParameterList() will accept.
Base class for factories that use one level (currentLevel).
virtual ~AmalgamationFactory()=default
Destructor.