Reference documentation for deal.II version 9.6.0
\(\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
MatrixFreeOperators::BlockHelper Namespace Reference

Functions

template<typename VectorType >
std::enable_if_t< IsBlockVector< VectorType >::value, unsigned intn_blocks (const VectorType &vector)
 
template<typename VectorType >
std::enable_if_t<!IsBlockVector< VectorType >::value, unsigned intn_blocks (const VectorType &)
 
template<typename VectorType >
std::enable_if_t< IsBlockVector< VectorType >::value, typename VectorType::BlockType & > subblock (VectorType &vector, unsigned int block_no)
 
template<typename VectorType >
std::enable_if_t< IsBlockVector< VectorType >::value, const typename VectorType::BlockType & > subblock (const VectorType &vector, unsigned int block_no)
 
template<typename VectorType >
std::enable_if_t<!IsBlockVector< VectorType >::value, VectorType & > subblock (VectorType &vector, unsigned int)
 
template<typename VectorType >
std::enable_if_t<!IsBlockVector< VectorType >::value, const VectorType & > subblock (const VectorType &vector, unsigned int)
 
template<typename VectorType >
std::enable_if_t< IsBlockVector< VectorType >::value, void > collect_sizes (VectorType &vector)
 
template<typename VectorType >
std::enable_if_t<!IsBlockVector< VectorType >::value, void > collect_sizes (const VectorType &)
 

Function Documentation

◆ n_blocks() [1/2]

template<typename VectorType >
std::enable_if_t< IsBlockVector< VectorType >::value, unsigned int > MatrixFreeOperators::BlockHelper::n_blocks ( const VectorType & vector)

Definition at line 49 of file operators.h.

◆ n_blocks() [2/2]

template<typename VectorType >
std::enable_if_t<!IsBlockVector< VectorType >::value, unsigned int > MatrixFreeOperators::BlockHelper::n_blocks ( const VectorType & )

Definition at line 56 of file operators.h.

◆ subblock() [1/4]

template<typename VectorType >
std::enable_if_t< IsBlockVector< VectorType >::value, typename VectorType::BlockType & > MatrixFreeOperators::BlockHelper::subblock ( VectorType & vector,
unsigned int block_no )

Definition at line 64 of file operators.h.

◆ subblock() [2/4]

template<typename VectorType >
std::enable_if_t< IsBlockVector< VectorType >::value, const typename VectorType::BlockType & > MatrixFreeOperators::BlockHelper::subblock ( const VectorType & vector,
unsigned int block_no )

Definition at line 73 of file operators.h.

◆ subblock() [3/4]

template<typename VectorType >
std::enable_if_t<!IsBlockVector< VectorType >::value, VectorType & > MatrixFreeOperators::BlockHelper::subblock ( VectorType & vector,
unsigned int  )

Definition at line 81 of file operators.h.

◆ subblock() [4/4]

template<typename VectorType >
std::enable_if_t<!IsBlockVector< VectorType >::value, const VectorType & > MatrixFreeOperators::BlockHelper::subblock ( const VectorType & vector,
unsigned int  )

Definition at line 88 of file operators.h.

◆ collect_sizes() [1/2]

template<typename VectorType >
std::enable_if_t< IsBlockVector< VectorType >::value, void > MatrixFreeOperators::BlockHelper::collect_sizes ( VectorType & vector)

Definition at line 95 of file operators.h.

◆ collect_sizes() [2/2]

template<typename VectorType >
std::enable_if_t<!IsBlockVector< VectorType >::value, void > MatrixFreeOperators::BlockHelper::collect_sizes ( const VectorType & )

Definition at line 102 of file operators.h.