Reference documentation for deal.II version Git 354f154960 2021-01-18 17:44:59 +0100
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Member Functions | Public Attributes | List of all members
internal::TriangulationImplementation::CRS< T > Struct Template Reference

#include <deal.II/grid/connectivity.h>

Public Member Functions

 CRS ()
 
 CRS (const std::vector< std::size_t > &ptr, const std::vector< T > &col)
 

Public Attributes

std::vector< std::size_t > ptr
 
std::vector< T > col
 

Detailed Description

template<typename T = unsigned int>
struct internal::TriangulationImplementation::CRS< T >

Compressed row storage sparse matrix. This class is similar to SparsityPattern but reduced to the bare minimum as needed here - in the context of setting up the connectivity - and allowing direct simplified access to the entries.

Definition at line 767 of file connectivity.h.

Constructor & Destructor Documentation

◆ CRS() [1/2]

template<typename T = unsigned int>
internal::TriangulationImplementation::CRS< T >::CRS ( )
inline

Default constructor.

Definition at line 772 of file connectivity.h.

◆ CRS() [2/2]

template<typename T = unsigned int>
internal::TriangulationImplementation::CRS< T >::CRS ( const std::vector< std::size_t > &  ptr,
const std::vector< T > &  col 
)
inline

Constructor which allows to set the internal fields directly.

Definition at line 778 of file connectivity.h.

Member Data Documentation

◆ ptr

template<typename T = unsigned int>
std::vector<std::size_t> internal::TriangulationImplementation::CRS< T >::ptr

Definition at line 784 of file connectivity.h.

◆ col

template<typename T = unsigned int>
std::vector<T> internal::TriangulationImplementation::CRS< T >::col

Definition at line 787 of file connectivity.h.


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