46 #ifndef MUELU_AGGREGATEQUALITYESTIMATEFACTORY_DECL_HPP
47 #define MUELU_AGGREGATEQUALITYESTIMATEFACTORY_DECL_HPP
53 #include <Xpetra_CrsMatrix_fwd.hpp>
54 #include <Xpetra_Matrix_fwd.hpp>
55 #include <Xpetra_MultiVector_fwd.hpp>
56 #include <Xpetra_MapFactory_fwd.hpp>
57 #include <Xpetra_Map_fwd.hpp>
58 #include <Xpetra_Matrix_fwd.hpp>
59 #include <Xpetra_MultiVector_fwd.hpp>
60 #include <Xpetra_MultiVectorFactory_fwd.hpp>
61 #include <Xpetra_Import_fwd.hpp>
62 #include <Xpetra_ImportFactory_fwd.hpp>
63 #include <Xpetra_CrsMatrixWrap_fwd.hpp>
85 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
87 #undef MUELU_AGGREGATEQUALITYESTIMATEFACTORY_SHORT
155 #define MUELU_AGGREGATEQUALITYESTIMATEFACTORY_SHORT
156 #endif // MUELU_DEMOFACTORY_DECL_HPP
void OutputAggQualities(const Level &level, RCP< const Xpetra::MultiVector< magnitudeType, LO, GO, Node >> agg_qualities) const
virtual ~AggregateQualityEstimateFactory()
Destructor.
void DeclareInput(Level ¤tLevel) const
Specifies the data that this class needs, and the factories that generate that data.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Class that holds all level-specific information.
void ComputeAggregateQualities(RCP< const Matrix > A, RCP< const Aggregates > aggs, RCP< Xpetra::MultiVector< magnitudeType, LO, GO, Node >> agg_qualities) const
void Build(Level ¤tLevel) const
Build aggregate quality esimates with this factory.
static void ConvertAggregatesData(RCP< const Aggregates > aggs, ArrayRCP< LO > &aggSortedVertices, ArrayRCP< LO > &aggsToIndices, ArrayRCP< LO > &aggSizes)
Build aggregate quality esimates with this factory.
An factory which assigns each aggregate a quality estimate. Originally developed by Napov and Notay i...
Teuchos::ScalarTraits< Scalar >::magnitudeType magnitudeType
Base class for factories that use one level (currentLevel).
AggregateQualityEstimateFactory()
Constructor.