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\}}\)
Functions
MatrixFreeOperators::BlockHelper Namespace Reference

Functions

template<typename VectorType >
std::enable_if< IsBlockVector< VectorType >::value, unsignedint >::type n_blocks (const VectorType &vector)
 
template<typename VectorType >
std::enable_if<!IsBlockVector< VectorType >::value, unsignedint >::type n_blocks (const VectorType &)
 
template<typename VectorType >
std::enable_if< IsBlockVector< VectorType >::value, typenameVectorType::BlockType & >::type subblock (VectorType &vector, unsigned int block_no)
 
template<typename VectorType >
std::enable_if< IsBlockVector< VectorType >::value, consttypenameVectorType::BlockType & >::type subblock (const VectorType &vector, unsigned int block_no)
 
template<typename VectorType >
std::enable_if<!IsBlockVector< VectorType >::value, VectorType & >::type subblock (VectorType &vector, unsigned int)
 
template<typename VectorType >
std::enable_if<!IsBlockVector< VectorType >::value, constVectorType & >::type subblock (const VectorType &vector, unsigned int)
 
template<typename VectorType >
std::enable_if< IsBlockVector< VectorType >::value, void >::type collect_sizes (VectorType &vector)
 
template<typename VectorType >
std::enable_if<!IsBlockVector< VectorType >::value, void >::type collect_sizes (const VectorType &)
 

Function Documentation

◆ n_blocks() [1/2]

template<typename VectorType >
std::enable_if< IsBlockVector< VectorType >::value, unsignedint >::type 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<!IsBlockVector< VectorType >::value, unsignedint >::type MatrixFreeOperators::BlockHelper::n_blocks ( const VectorType &  )

Definition at line 57 of file operators.h.

◆ subblock() [1/4]

template<typename VectorType >
std::enable_if< IsBlockVector< VectorType >::value, typenameVectorType::BlockType & >::type 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< IsBlockVector< VectorType >::value, consttypenameVectorType::BlockType & >::type 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<!IsBlockVector< VectorType >::value, VectorType & >::type MatrixFreeOperators::BlockHelper::subblock ( VectorType &  vector,
unsigned int   
)

Definition at line 82 of file operators.h.

◆ subblock() [4/4]

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

Definition at line 90 of file operators.h.

◆ collect_sizes() [1/2]

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

Definition at line 97 of file operators.h.

◆ collect_sizes() [2/2]

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

Definition at line 104 of file operators.h.