Reference documentation for deal.II version 9.5.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
Functions
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 50 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 57 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 65 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 74 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 82 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 89 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 96 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 103 of file operators.h.