Reference documentation for deal.II version Git bcb2fdb641 2020-09-17 14:58:24 -0400
\(\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\}}\)
Typedefs | Functions
internals::SparsityPatternTools Namespace Reference

Typedefs

using size_type = types::global_dof_index
 

Functions

size_type get_column_index_from_iterator (const size_type i)
 
template<typename value >
size_type get_column_index_from_iterator (const std::pair< size_type, value > &i)
 
template<typename value >
size_type get_column_index_from_iterator (const std::pair< const size_type, value > &i)
 

Typedef Documentation

◆ size_type

Declare type for container size.

Definition at line 76 of file sparsity_pattern.h.

Function Documentation

◆ get_column_index_from_iterator() [1/3]

size_type internals::SparsityPatternTools::get_column_index_from_iterator ( const size_type  i)

Helper function to get the column index from a dereferenced iterator in the copy_from() function, if the inner iterator type points to plain unsigned integers.

◆ get_column_index_from_iterator() [2/3]

template<typename value >
size_type internals::SparsityPatternTools::get_column_index_from_iterator ( const std::pair< size_type, value > &  i)

Helper function to get the column index from a dereferenced iterator in the copy_from() function, if the inner iterator type points to pairs of unsigned integers and some other value.

◆ get_column_index_from_iterator() [3/3]

template<typename value >
size_type internals::SparsityPatternTools::get_column_index_from_iterator ( const std::pair< const size_type, value > &  i)

Likewise, but sometimes needed for certain types of containers that make the first element of the pair constant (such as std::map).