Reference documentation for deal.II version GIT relicensing-1291-gf3a46e514e 2024-07-24 11:20:02+00:00
\(\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
concepts::is_dealii_vector_type Concept Reference

#include <deal.II/base/template_constraints.h>

Concept definition

template<typename VectorType>
internal::is_dealii_vector_type<std::remove_cv_t<VectorType>>

Detailed Description

A concept that tests whether a given template argument is a deal.II vector type. This concept is used in many places, such as for the functions in namespace VectorTools, where functions take a vector as argument, but the type of the vector is a template argument. The concept ensures that these functions cannot be called with an int argument, for example, for which the declaration without the concept would be perfectly valid but for which one would later get a linker error because the function is only instantiated for deal.II vector types.

Definition at line 863 of file template_constraints.h.