Reference documentation for deal.II version 9.1.0-pre
List of all members
internal::NumberType< VectorizedArray< T > > Struct Template Reference

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

Detailed Description

template<typename T>
struct internal::NumberType< VectorizedArray< T > >

The structs below are needed since VectorizedArray<T1> is a POD-type without a constructor and can be a template argument for SymmetricTensor<...,T2> where T2 would equal VectorizedArray<T1>. Internally, in previous versions of deal.II, SymmetricTensor<...,T2> would make use of the constructor of T2 leading to a compile-time error. However simply adding a constructor for VectorizedArray<T1> breaks the POD-idioms needed elsewhere. Calls to constructors of T2 subsequently got replaced by a call to internal::NumberType<T2> which then determines the right function to use by template deduction. A detailed discussion can be found at https://github.com/dealii/dealii/pull/3967 . Also see numbers.h for other specializations.

Definition at line 78 of file vectorization.h.


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