![]() |
Reference documentation for deal.II version GIT 9042b9283b 2023-12-02 14:50:02+00:00
|
#include <deal.II/base/vectorization.h>
Public Types | |
using | value_type = T |
using | vectorized_value_type = VectorizedArray< T > |
Static Public Member Functions | |
static constexpr std::size_t | width () |
static constexpr std::size_t | stride () |
static value_type & | get (value_type &value, unsigned int c) |
static const value_type & | get (const value_type &value, unsigned int c) |
static value_type & | get_from_vectorized (vectorized_value_type &values, unsigned int c) |
static const value_type & | get_from_vectorized (const vectorized_value_type &values, unsigned int c) |
Definition at line 6309 of file vectorization.h.
using internal::VectorizedArrayTrait< T >::value_type = T |
Define scalar value type.
Definition at line 6314 of file vectorization.h.
using internal::VectorizedArrayTrait< T >::vectorized_value_type = VectorizedArray<T> |
Define vectorized value type for internal vectorization.
Definition at line 6328 of file vectorization.h.
|
inlinestaticconstexpr |
Return the width of template type.
Definition at line 6320 of file vectorization.h.
|
inlinestaticconstexpr |
Return a stride which defines how often the template type T fits into the vectorized_value_type. This is useful to write vectorized templated code where the internal computation is vectorized and the user interface is optionally scalar or also vectorized.
Definition at line 6337 of file vectorization.h.
|
inlinestatic |
Get a reference to scalar value (on lane 0).
Definition at line 6346 of file vectorization.h.
|
inlinestatic |
Get a read-only reference to scalar value (on lane 0).
Definition at line 6358 of file vectorization.h.
|
inlinestatic |
Get a reference to scalar value on lane c from a vectorized values field.
Definition at line 6370 of file vectorization.h.
|
inlinestatic |
Get a read-only reference to scalar value on lane c from a vectorized values field.
Definition at line 6382 of file vectorization.h.