Advanced Multi-Physics (AMP)
On-Line Documentation
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar > Struct Template Reference

#include <CSRConfig.h>

Classes

struct  set_alloc
 
struct  set_scalar
 

Public Types

using allocator_type = typename alloc_info< Alloc >::type
 
using gidx_t = typename index_info< gidx >::type
 
using lidx_t = typename index_info< lidx >::type
 
using scalar_t = typename scalar_info< scalar_id >::type
 
template<alloc new_alloc>
using set_alloc_t = typename set_alloc< new_alloc >::type
 
template<index new_lidx>
using set_lidx_t = CSRConfig< Alloc, new_lidx, gidx, scalar_id >
 
template<scalar new_scalar>
using set_scalar_t = typename set_scalar< new_scalar >::type
 

Static Public Member Functions

static void print ()
 

Static Public Attributes

static constexpr alloc allocator = Alloc
 
static constexpr index gidx = GlobalInd
 
static constexpr index lidx = LocalInd
 
static constexpr csr_mode mode
 
static constexpr scalar scalar_id = Scalar
 

Detailed Description

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
struct AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >

Definition at line 280 of file CSRConfig.h.

Member Typedef Documentation

◆ allocator_type

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
using AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::allocator_type = typename alloc_info<Alloc>::type

Definition at line 292 of file CSRConfig.h.

◆ gidx_t

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
using AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::gidx_t = typename index_info<gidx>::type

Definition at line 290 of file CSRConfig.h.

◆ lidx_t

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
using AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::lidx_t = typename index_info<lidx>::type

Definition at line 289 of file CSRConfig.h.

◆ scalar_t

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
using AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::scalar_t = typename scalar_info<scalar_id>::type

Definition at line 291 of file CSRConfig.h.

◆ set_alloc_t

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
template<alloc new_alloc>
using AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::set_alloc_t = typename set_alloc<new_alloc>::type

Definition at line 299 of file CSRConfig.h.

◆ set_lidx_t

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
template<index new_lidx>
using AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::set_lidx_t = CSRConfig<Alloc, new_lidx, gidx, scalar_id>

Definition at line 309 of file CSRConfig.h.

◆ set_scalar_t

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
template<scalar new_scalar>
using AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::set_scalar_t = typename set_scalar<new_scalar>::type

Definition at line 306 of file CSRConfig.h.

Member Function Documentation

◆ print()

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
static void AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::print ( )
inlinestatic

Definition at line 311 of file CSRConfig.h.

References AMP::pout.

Member Data Documentation

◆ allocator

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
constexpr alloc AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::allocator = Alloc
staticconstexpr

Definition at line 281 of file CSRConfig.h.

◆ gidx

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
constexpr index AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::gidx = GlobalInd
staticconstexpr

Definition at line 283 of file CSRConfig.h.

◆ lidx

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
constexpr index AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::lidx = LocalInd
staticconstexpr

Definition at line 282 of file CSRConfig.h.

◆ mode

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
constexpr csr_mode AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::mode
staticconstexpr
Initial value:
=
static_cast<csr_mode>( make_mode_v<allocator, lidx, gidx, scalar_id> )

Definition at line 286 of file CSRConfig.h.

◆ scalar_id

template<alloc Alloc, index LocalInd, index GlobalInd, scalar Scalar>
constexpr scalar AMP::LinearAlgebra::CSRConfig< Alloc, LocalInd, GlobalInd, Scalar >::scalar_id = Scalar
staticconstexpr

Definition at line 284 of file CSRConfig.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:42.
Comments on this page