Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::CsrView< T > Struct Template Reference

#include <AMReX_CSR.H>

Public Types

using U = std::conditional_t< std::is_const_v< T >, Long const, Long >
 

Public Attributes

T *__restrict__ mat = nullptr
 
U *__restrict__ col_index = nullptr
 
U *__restrict__ row_offset = nullptr
 
Long nnz = 0
 
Long nrows = 0
 

Member Typedef Documentation

◆ U

template<typename T >
using amrex::CsrView< T >::U = std::conditional_t<std::is_const_v<T>, Long const, Long>

Member Data Documentation

◆ col_index

template<typename T >
U* __restrict__ amrex::CsrView< T >::col_index = nullptr

◆ mat

template<typename T >
T* __restrict__ amrex::CsrView< T >::mat = nullptr

◆ nnz

template<typename T >
Long amrex::CsrView< T >::nnz = 0

◆ nrows

template<typename T >
Long amrex::CsrView< T >::nrows = 0

◆ row_offset

template<typename T >
U* __restrict__ amrex::CsrView< T >::row_offset = nullptr

The documentation for this struct was generated from the following file: