deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
\(\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\}}\)
Loading...
Searching...
No Matches
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 77 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).