1#ifndef included_AMP_Aggregator_H_
2#define included_AMP_Aggregator_H_
4#include "AMP/matrices/CSRMatrix.h"
5#include "AMP/matrices/Matrix.h"
6#include "AMP/matrices/MatrixParameters.h"
7#include "AMP/matrices/data/CSRLocalMatrixData.h"
8#include "AMP/matrices/data/CSRMatrixData.h"
9#include "AMP/solvers/amg/AggregationSettings.h"
31 std::shared_ptr<LinearAlgebra::Matrix>
33 std::shared_ptr<LinearAlgebra::MatrixParameters> matParams = {} );
36 template<
typename Config>
37 std::shared_ptr<LinearAlgebra::Matrix>
39 std::shared_ptr<LinearAlgebra::MatrixParameters> matParams = {} );
An concrete class for dealing with dense serial matrices.
const float d_strength_threshold
const std::string d_strength_measure
Aggregator(const CoarsenSettings &settings)
std::shared_ptr< LinearAlgebra::Matrix > getAggregateMatrix(std::shared_ptr< LinearAlgebra::CSRMatrix< Config > > A, std::shared_ptr< LinearAlgebra::MatrixParameters > matParams={})
virtual int assignLocalAggregates(std::shared_ptr< LinearAlgebra::Matrix > A, int *agg_ids)=0
std::shared_ptr< LinearAlgebra::Matrix > getAggregateMatrix(std::shared_ptr< LinearAlgebra::Matrix > A, std::shared_ptr< LinearAlgebra::MatrixParameters > matParams={})