Reference documentation for deal.II version Git d3aed38b93 2021-10-28 13:33:27 +0200
\(\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, unsigned int >::type n_blocks (const VectorType &vector)
 
template<typename VectorType >
std::enable_if<!IsBlockVector< VectorType >::value, unsigned int >::type n_blocks (const VectorType &)
 
template<typename VectorType >
std::enable_if< IsBlockVector< VectorType >::value, typename VectorType::BlockType & >::type subblock (VectorType &vector, unsigned int block_no)
 
template<typename VectorType >
std::enable_if< IsBlockVector< VectorType >::value, const typename VectorType::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, const VectorType & >::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, unsigned int>::type 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<!IsBlockVector<VectorType>::value, unsigned int>::type MatrixFreeOperators::BlockHelper::n_blocks ( const VectorType )

Definition at line 58 of file operators.h.

◆ subblock() [1/4]

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

Definition at line 66 of file operators.h.

◆ subblock() [2/4]

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

Definition at line 83 of file operators.h.

◆ subblock() [4/4]

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

Definition at line 91 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 98 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 105 of file operators.h.