Reference documentation for deal.II version 9.3.3
\(\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>

Inheritance diagram for internal::TriangulationImplementation::CRS< T >:
[legend]

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 768 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 773 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 779 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 785 of file connectivity.h.

◆ col

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

Definition at line 788 of file connectivity.h.


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