Reference documentation for deal.II version 9.6.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\}}\)
Loading...
Searching...
No Matches
IsBlockVector< VectorType > Struct Template Reference

#include <deal.II/lac/block_vector_base.h>

Static Public Attributes

static const bool value = internal::is_block_vector<VectorType>
 

Detailed Description

template<typename VectorType>
struct IsBlockVector< VectorType >

A class that can be used to determine whether a given type is a block vector type or not. For example,

has the value false, whereas

is true. This is sometimes useful in template contexts where we may want to do things differently depending on whether a template type denotes a regular or a block vector type.

Definition at line 80 of file block_vector_base.h.

Member Data Documentation

◆ value

template<typename VectorType>
const bool IsBlockVector< VectorType >::value = internal::is_block_vector<VectorType>
static

A statically computable value that indicates whether the template argument to this class is a block vector (in fact whether the type has the functions block() and n_blocks()).

Definition at line 88 of file block_vector_base.h.


The documentation for this struct was generated from the following file: