Advanced Multi-Physics (AMP)
On-Line Documentation
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
AMP::Solver::AMG::Strength< Mat > Struct Template Reference

#include <Strength.h>

Classes

struct  storage
 

Public Types

using lidx_t = typename csr_view< Mat >::lidx_t
 
using mask_t = typename csr_view< Mat >::mask_t
 
using rep_type = std::tuple< span< const lidx_t >, span< const lidx_t >, const mask_t * >
 
using scalar_t = typename csr_view< Mat >::scalar_t
 

Public Member Functions

auto diag () const
 
auto diag_mask_data ()
 
const auto diag_mask_data () const
 
constexpr auto diag_row (lidx_t r)
 
constexpr auto diag_row (lidx_t r) const
 
template<class F >
void do_strong (lidx_t r, F &&f) const
 
template<class F >
void do_strong_val (lidx_t r, F &&f) const
 
bool is_strong (lidx_t i, lidx_t j) const
 
constexpr lidx_t numLocalRows () const
 
auto offd () const
 
auto offd_mask_data ()
 
const auto offd_mask_data () const
 
constexpr auto offd_row (lidx_t r)
 
constexpr auto offd_row (lidx_t r) const
 
 Strength (csr_view< Mat > A)
 

Private Attributes

struct AMP::Solver::AMG::Strength::storage d_diag
 
struct AMP::Solver::AMG::Strength::storage d_offd
 

Detailed Description

template<class Mat>
struct AMP::Solver::AMG::Strength< Mat >

Definition at line 13 of file Strength.h.

Member Typedef Documentation

◆ lidx_t

template<class Mat >
using AMP::Solver::AMG::Strength< Mat >::lidx_t = typename csr_view<Mat>::lidx_t

Definition at line 16 of file Strength.h.

◆ mask_t

template<class Mat >
using AMP::Solver::AMG::Strength< Mat >::mask_t = typename csr_view<Mat>::mask_t

Definition at line 15 of file Strength.h.

◆ rep_type

template<class Mat >
using AMP::Solver::AMG::Strength< Mat >::rep_type = std::tuple<span<const lidx_t>, span<const lidx_t>, const mask_t *>

Definition at line 107 of file Strength.h.

◆ scalar_t

template<class Mat >
using AMP::Solver::AMG::Strength< Mat >::scalar_t = typename csr_view<Mat>::scalar_t

Definition at line 17 of file Strength.h.

Constructor & Destructor Documentation

◆ Strength()

template<class Mat >
AMP::Solver::AMG::Strength< Mat >::Strength ( csr_view< Mat A)
explicit

Member Function Documentation

◆ diag()

template<class Mat >
auto AMP::Solver::AMG::Strength< Mat >::diag ( ) const
inline

◆ diag_mask_data() [1/2]

template<class Mat >
auto AMP::Solver::AMG::Strength< Mat >::diag_mask_data ( )
inline

◆ diag_mask_data() [2/2]

template<class Mat >
const auto AMP::Solver::AMG::Strength< Mat >::diag_mask_data ( ) const
inline

◆ diag_row() [1/2]

template<class Mat >
constexpr auto AMP::Solver::AMG::Strength< Mat >::diag_row ( lidx_t  r)
inlineconstexpr

◆ diag_row() [2/2]

template<class Mat >
constexpr auto AMP::Solver::AMG::Strength< Mat >::diag_row ( lidx_t  r) const
inlineconstexpr

◆ do_strong()

template<class Mat >
template<class F >
void AMP::Solver::AMG::Strength< Mat >::do_strong ( lidx_t  r,
F &&  f 
) const
inline

Definition at line 44 of file Strength.h.

References AMP::Solver::AMG::Strength< Mat >::diag().

◆ do_strong_val()

template<class Mat >
template<class F >
void AMP::Solver::AMG::Strength< Mat >::do_strong_val ( lidx_t  r,
F &&  f 
) const
inline

◆ is_strong()

template<class Mat >
bool AMP::Solver::AMG::Strength< Mat >::is_strong ( lidx_t  i,
lidx_t  j 
) const
inline

◆ numLocalRows()

template<class Mat >
constexpr lidx_t AMP::Solver::AMG::Strength< Mat >::numLocalRows ( ) const
inlineconstexpr

◆ offd()

template<class Mat >
auto AMP::Solver::AMG::Strength< Mat >::offd ( ) const
inline

◆ offd_mask_data() [1/2]

template<class Mat >
auto AMP::Solver::AMG::Strength< Mat >::offd_mask_data ( )
inline

◆ offd_mask_data() [2/2]

template<class Mat >
const auto AMP::Solver::AMG::Strength< Mat >::offd_mask_data ( ) const
inline

◆ offd_row() [1/2]

template<class Mat >
constexpr auto AMP::Solver::AMG::Strength< Mat >::offd_row ( lidx_t  r)
inlineconstexpr

◆ offd_row() [2/2]

template<class Mat >
constexpr auto AMP::Solver::AMG::Strength< Mat >::offd_row ( lidx_t  r) const
inlineconstexpr

Member Data Documentation

◆ d_diag

template<class Mat >
struct AMP::Solver::AMG::Strength::storage AMP::Solver::AMG::Strength< Mat >::d_diag
private

◆ d_offd

template<class Mat >
struct AMP::Solver::AMG::Strength::storage AMP::Solver::AMG::Strength< Mat >::d_offd
private

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