Advanced Multi-Physics (AMP)
On-Line Documentation
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
AMP::LinearAlgebra::csr_visitor< F > Struct Template Reference

#include <CSRVisit.h>

Public Types

using first_config = typename detail::list_begin< built_configs >::type
 
using ret_t = std::invoke_result_t< std::decay_t< F >, std::shared_ptr< CSRMatrix< first_config > > >
 

Public Member Functions

ret_t operator() ()
 

Public Attributes

std::decay_t< F > f
 
std::shared_ptr< LinearAlgebra::Matrixmat
 
csr_mode mode
 

Private Member Functions

template<alloc a, index l>
auto check_gidx ()
 
template<alloc a>
auto check_lidx ()
 
template<alloc a, index l, index g>
auto check_scalar ()
 
template<alloc a, index l, index g, scalar s>
ret_t visit ()
 

Detailed Description

template<class F>
struct AMP::LinearAlgebra::csr_visitor< F >

Definition at line 20 of file CSRVisit.h.

Member Typedef Documentation

◆ first_config

template<class F >
using AMP::LinearAlgebra::csr_visitor< F >::first_config = typename detail::list_begin<built_configs>::type

Definition at line 26 of file CSRVisit.h.

◆ ret_t

template<class F >
using AMP::LinearAlgebra::csr_visitor< F >::ret_t = std::invoke_result_t<std::decay_t<F>, std::shared_ptr<CSRMatrix<first_config> >>

Definition at line 27 of file CSRVisit.h.

Member Function Documentation

◆ check_gidx()

template<class F >
template<alloc a, index l>
auto AMP::LinearAlgebra::csr_visitor< F >::check_gidx ( )
inlineprivate

◆ check_lidx()

template<class F >
template<alloc a>
auto AMP::LinearAlgebra::csr_visitor< F >::check_lidx ( )
inlineprivate

◆ check_scalar()

template<class F >
template<alloc a, index l, index g>
auto AMP::LinearAlgebra::csr_visitor< F >::check_scalar ( )
inlineprivate

◆ operator()()

template<class F >
ret_t AMP::LinearAlgebra::csr_visitor< F >::operator() ( )
inline

◆ visit()

template<class F >
template<alloc a, index l, index g, scalar s>
ret_t AMP::LinearAlgebra::csr_visitor< F >::visit ( )
inlineprivate

Member Data Documentation

◆ f

template<class F >
std::decay_t<F> AMP::LinearAlgebra::csr_visitor< F >::f

Definition at line 23 of file CSRVisit.h.

Referenced by AMP::LinearAlgebra::csr_visitor< F >::visit().

◆ mat

template<class F >
std::shared_ptr<LinearAlgebra::Matrix> AMP::LinearAlgebra::csr_visitor< F >::mat

Definition at line 22 of file CSRVisit.h.

Referenced by AMP::LinearAlgebra::csr_visitor< F >::visit().

◆ mode

template<class F >
csr_mode AMP::LinearAlgebra::csr_visitor< F >::mode

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