Advanced Multi-Physics (AMP)
On-Line Documentation
SimpleAggregator.h
Go to the documentation of this file.
1#ifndef included_AMP_SimpleAggregator_H_
2#define included_AMP_SimpleAggregator_H_
3
4#include "AMP/matrices/data/CSRLocalMatrixData.h"
5#include "AMP/matrices/data/CSRMatrixData.h"
6#include "AMP/solvers/amg/Aggregation.h"
7#include "AMP/solvers/amg/Aggregator.h"
8
9namespace AMP::Solver::AMG {
10
12 SimpleAggregator( const CoarsenSettings &settings ) : Aggregator( settings ) {}
13
14 int assignLocalAggregates( std::shared_ptr<LinearAlgebra::Matrix> A, int *agg_ids ) override;
15
16 template<typename Config>
17 int assignLocalAggregates( std::shared_ptr<LinearAlgebra::CSRMatrix<Config>> A, int *agg_ids );
18};
19
20} // namespace AMP::Solver::AMG
21
22#endif
An concrete class for dealing with dense serial matrices.
Definition CSRMatrix.h:26
int assignLocalAggregates(std::shared_ptr< LinearAlgebra::CSRMatrix< Config > > A, int *agg_ids)
SimpleAggregator(const CoarsenSettings &settings)
int assignLocalAggregates(std::shared_ptr< LinearAlgebra::Matrix > A, int *agg_ids) override



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page