10#ifndef MUELU_EMINPFACTORY_DECL_HPP
11#define MUELU_EMINPFACTORY_DECL_HPP
15#include <Xpetra_Matrix_fwd.hpp>
16#include <Xpetra_StridedMapFactory_fwd.hpp>
25#include "MueLu_PFactory.hpp"
42#undef MUELU_EMINPFACTORY_SHORT
80 typename Teuchos::ScalarTraits<Scalar>::magnitudeType
82 RCP<Xpetra::Matrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>>& P,
83 Teuchos::FancyOStream& out);
89#define MUELU_EMINPFACTORY_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Factory for building Energy Minimization prolongators.
void Build(Level &fineLevel, Level &coarseLevel) const
Build method.
virtual ~EminPFactory()
Destructor.
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
static Teuchos::ScalarTraits< Scalar >::magnitudeType ComputeProlongatorEnergyNorm(RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &A, RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &P, Teuchos::FancyOStream &out)
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
EminPFactory()
Constructor.
Class that holds all level-specific information.
Factory that provides an interface for a concrete implementation of a prolongation operator.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar