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

#include <Aggregation.h>

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

Public Member Functions

template<class Config >
int assignLocalAggregates (std::shared_ptr< LinearAlgebra::CSRMatrix< Config > > A, int *agg_ids)
 
int assignLocalAggregates (std::shared_ptr< LinearAlgebra::Matrix > A, int *agg_ids) override
 
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={})
 
 PairwiseAggregator (const PairwiseCoarsenSettings &settings)
 

Public Attributes

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

Private Attributes

PairwiseCoarsenSettings d_settings
 

Detailed Description

Definition at line 22 of file Aggregation.h.

Constructor & Destructor Documentation

◆ PairwiseAggregator()

AMP::Solver::AMG::PairwiseAggregator::PairwiseAggregator ( const PairwiseCoarsenSettings settings)
inline

Definition at line 23 of file Aggregation.h.

Member Function Documentation

◆ assignLocalAggregates() [1/2]

template<class Config >
int AMP::Solver::AMG::PairwiseAggregator::assignLocalAggregates ( std::shared_ptr< LinearAlgebra::CSRMatrix< Config > >  A,
int *  agg_ids 
)

◆ assignLocalAggregates() [2/2]

int AMP::Solver::AMG::PairwiseAggregator::assignLocalAggregates ( std::shared_ptr< LinearAlgebra::Matrix A,
int *  agg_ids 
)
overridevirtual

◆ 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 = {} 
)
inherited

◆ 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 = {} 
)
inherited

Member Data Documentation

◆ d_checkdd

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

Definition at line 43 of file Aggregator.h.

◆ d_settings

PairwiseCoarsenSettings AMP::Solver::AMG::PairwiseAggregator::d_settings
private

Definition at line 33 of file Aggregation.h.

◆ d_strength_measure

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

Definition at line 42 of file Aggregator.h.

◆ d_strength_threshold

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

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