Go to the documentation of this file.
46 #ifndef MUELU_AMALGAMATIONFACTORY_DECL_HPP
47 #define MUELU_AMALGAMATIONFACTORY_DECL_HPP
74 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
76 #undef MUELU_AMALGAMATIONFACTORY_SHORT
108 static const GlobalOrdinal
DOFGid2NodeId(GlobalOrdinal gid, LocalOrdinal blockSize,
const GlobalOrdinal offset ,
const GlobalOrdinal indexBase);
122 #define MUELU_AMALGAMATIONFACTORY_SHORT
123 #endif // MUELU_AMALGAMATIONFACTORY_DECL_HPP
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
Build an object with this factory.
Namespace for MueLu classes and methods.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
virtual ~AmalgamationFactory()
Destructor.
Classes::Map< LocalOrdinal, GlobalOrdinal, Node > Map
Base class for factories that use one level (currentLevel).
AmalgamationFactory()
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
Class that holds all level-specific information.
void DeclareInput(Level ¤tLevel) const
Input.