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

#include <MIS2Aggregator.h>

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

Public Member Functions

template<typename 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 >
int classifyVertices (std::shared_ptr< LinearAlgebra::CSRLocalMatrixData< Config > > A, const uint64_t num_gbl, typename Config::lidx_t *worklist, typename Config::lidx_t worklist_len, uint64_t *Tv, uint64_t *Tv_hat)
 
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={})
 
uint64_t getHashMask (uint64_t id_mask) const
 
uint64_t getIdMask (uint64_t num_global) const
 
 MIS2Aggregator (const CoarsenSettings &settings)
 

Public Attributes

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

Static Public Attributes

static constexpr uint64_t IN = std::numeric_limits<uint64_t>::max()
 
static constexpr int INVALID = -2
 
static constexpr uint64_t OUT = 0
 
static constexpr int UNASSIGNED = -1
 

Detailed Description

Definition at line 18 of file MIS2Aggregator.h.

Constructor & Destructor Documentation

◆ MIS2Aggregator()

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

Definition at line 19 of file MIS2Aggregator.h.

Member Function Documentation

◆ assignLocalAggregates() [1/2]

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

◆ assignLocalAggregates() [2/2]

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

◆ classifyVertices()

template<typename Config >
int AMP::Solver::AMG::MIS2Aggregator::classifyVertices ( std::shared_ptr< LinearAlgebra::CSRLocalMatrixData< Config > >  A,
const uint64_t  num_gbl,
typename Config::lidx_t *  worklist,
typename Config::lidx_t  worklist_len,
uint64_t *  Tv,
uint64_t *  Tv_hat 
)

◆ 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

◆ getHashMask()

uint64_t AMP::Solver::AMG::MIS2Aggregator::getHashMask ( uint64_t  id_mask) const
inline

Definition at line 54 of file MIS2Aggregator.h.

◆ getIdMask()

uint64_t AMP::Solver::AMG::MIS2Aggregator::getIdMask ( uint64_t  num_global) const
inline

Definition at line 38 of file MIS2Aggregator.h.

References AMP_ASSERT.

Member Data Documentation

◆ d_checkdd

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

Definition at line 43 of file Aggregator.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.

◆ IN

constexpr uint64_t AMP::Solver::AMG::MIS2Aggregator::IN = std::numeric_limits<uint64_t>::max()
staticconstexpr

Definition at line 63 of file MIS2Aggregator.h.

◆ INVALID

constexpr int AMP::Solver::AMG::MIS2Aggregator::INVALID = -2
staticconstexpr

Definition at line 72 of file MIS2Aggregator.h.

◆ OUT

constexpr uint64_t AMP::Solver::AMG::MIS2Aggregator::OUT = 0
staticconstexpr

Definition at line 64 of file MIS2Aggregator.h.

◆ UNASSIGNED

constexpr int AMP::Solver::AMG::MIS2Aggregator::UNASSIGNED = -1
staticconstexpr

Definition at line 71 of file MIS2Aggregator.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