9#ifndef MUELU_STRUCTUREDRAPFACTORY_DECL_HPP
10#define MUELU_STRUCTUREDRAPFACTORY_DECL_HPP
15#include <Xpetra_Matrix_fwd.hpp>
16#include <Xpetra_MatrixFactory_fwd.hpp>
17#include <Xpetra_MatrixUtils_fwd.hpp>
39#undef MUELU_STRUCTUREDRAPFACTORY_SHORT
95 const Teuchos::Array<LocalOrdinal>& lCoarseNodesPerDim,
126#define MUELU_STRUCTUREDRAPFACTORY_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Factory for building coarse matrices in an optimized way by prebuilding the coarse graph based on the...
virtual ~StructuredRAPFactory()=default
void AddTransferFactory(const RCP< const FactoryBase > &factory)
Add transfer factory in the end of list of transfer factories in RepartitionAcFactory.
size_t NumTransferFactories() const
Returns number of transfer factories.
void GetStructuredGraph(RCP< Matrix > &Ac, const RCP< Matrix > P, const Teuchos::Array< LocalOrdinal > &lCoarseNodesPerDim, const StructuredGraphSpec &graphSpec) const
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
void ConfigureRAPFactoryDelegate() const
StructuredGraphSpec GetStructuredGraphSpec(const std::string &matrixType, int interpolationOrder) const
RCP< MueLu::RAPFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node > > rapFactoryDelegate_
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
std::vector< RCP< const FactoryBase > > transferFacts_
list of user-defined transfer Factories
Base class for factories that use two levels (fineLevel and coarseLevel).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
std::vector< StencilOffset > stencilOffsets