Loading [MathJax]/extensions/TeX/newcommand.js
 Reference documentation for deal.II version 9.4.1
\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\}}
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 50 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 58 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 66 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 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, constVectorType & >::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.