Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Public Attributes | List of all members
AMP::Solver::AMG::Aggregator Struct Referenceabstract

#include <Aggregator.h>

Inheritance diagram for AMP::Solver::AMG::Aggregator:
Inheritance graph
[legend]

Public Member Functions

 Aggregator (const CoarsenSettings &settings)
 
virtual int assignLocalAggregates (std::shared_ptr< LinearAlgebra::Matrix > A, int *agg_ids)=0
 
template<typename Config >
std::shared_ptr< LinearAlgebra::MatrixgetAggregateMatrix (std::shared_ptr< LinearAlgebra::CSRMatrix< Config > > A, std::shared_ptr< LinearAlgebra::MatrixParameters > matParams={})
 
std::shared_ptr< LinearAlgebra::MatrixgetAggregateMatrix (std::shared_ptr< LinearAlgebra::Matrix > A, std::shared_ptr< LinearAlgebra::MatrixParameters > matParams={})
 
virtual ~Aggregator ()
 

Public Attributes

const bool d_checkdd
 
const std::string d_strength_measure
 
const float d_strength_threshold
 

Detailed Description

Definition at line 17 of file Aggregator.h.

Constructor & Destructor Documentation

◆ Aggregator()

AMP::Solver::AMG::Aggregator::Aggregator ( const CoarsenSettings settings)
inline

Definition at line 18 of file Aggregator.h.

◆ ~Aggregator()

virtual AMP::Solver::AMG::Aggregator::~Aggregator ( )
inlinevirtual

Definition at line 25 of file Aggregator.h.

Member Function Documentation

◆ assignLocalAggregates()

virtual int AMP::Solver::AMG::Aggregator::assignLocalAggregates ( std::shared_ptr< LinearAlgebra::Matrix A,
int *  agg_ids 
)
pure virtual

◆ getAggregateMatrix() [1/2]

template<typename Config >
std::shared_ptr< LinearAlgebra::Matrix > AMP::Solver::AMG::Aggregator::getAggregateMatrix ( std::shared_ptr< LinearAlgebra::CSRMatrix< Config > >  A,
std::shared_ptr< LinearAlgebra::MatrixParameters matParams = {} 
)

◆ getAggregateMatrix() [2/2]

std::shared_ptr< LinearAlgebra::Matrix > AMP::Solver::AMG::Aggregator::getAggregateMatrix ( std::shared_ptr< LinearAlgebra::Matrix A,
std::shared_ptr< LinearAlgebra::MatrixParameters matParams = {} 
)

Member Data Documentation

◆ d_checkdd

const bool AMP::Solver::AMG::Aggregator::d_checkdd

Definition at line 43 of file Aggregator.h.

◆ d_strength_measure

const std::string AMP::Solver::AMG::Aggregator::d_strength_measure

Definition at line 42 of file Aggregator.h.

◆ d_strength_threshold

const float AMP::Solver::AMG::Aggregator::d_strength_threshold

Definition at line 41 of file Aggregator.h.


The documentation for this struct was generated from the following file:



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:45.
Comments on this page