46 #ifndef MUELU_AGGREGATEQUALITYESTIMATEFACTORY_DECL_HPP
47 #define MUELU_AGGREGATEQUALITYESTIMATEFACTORY_DECL_HPP
80 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
82 #undef MUELU_AGGREGATEQUALITYESTIMATEFACTORY_SHORT
152 #define MUELU_AGGREGATEQUALITYESTIMATEFACTORY_SHORT
153 #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 ComputeAggregateSizes(RCP< const Matrix > A, RCP< const Aggregates > aggs, RCP< LocalOrdinalVector > agg_sizes) const
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 OutputAggSizes(const Level &level, RCP< const LocalOrdinalVector > agg_sizes) 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.