Reference documentation for deal.II version 9.5.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
Public Types | Static Public Member Functions | List of all members
internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number > Struct Template Reference

#include <deal.II/matrix_free/fe_point_evaluation.h>

Public Types

using ScalarNumber
 
using VectorizedArrayType
 
using value_type = Tensor<1, n_components, Number>
 
using scalar_value_type = Tensor<1, n_components, ScalarNumber>
 
using vectorized_value_type
 
using gradient_type = Tensor<1, n_components, Tensor<1, dim, Number>>
 
using scalar_gradient_type
 
using vectorized_gradient_type
 
using interface_vectorized_gradient_type
 

Static Public Member Functions

static void read_value (const ScalarNumber vector_entry, const unsigned int component, scalar_value_type &result)
 
static void write_value (VectorizedArrayType &vector_entry, const unsigned int component, const vectorized_value_type &result)
 
static void set_gradient (const interface_vectorized_gradient_type &value, const unsigned int vector_lane, gradient_type &result)
 
static void get_gradient (interface_vectorized_gradient_type &value, const unsigned int vector_lane, const gradient_type &result)
 
static void set_zero_gradient (gradient_type &value, const unsigned int vector_lane)
 
static void set_value (const vectorized_value_type &value, const unsigned int vector_lane, scalar_value_type &result)
 
static void set_value (const vectorized_value_type &value, const unsigned int, vectorized_value_type &result)
 
static void get_value (vectorized_value_type &value, const unsigned int vector_lane, const scalar_value_type &result)
 
static void get_value (vectorized_value_type &value, const unsigned int, const vectorized_value_type &result)
 
static void set_zero_value (value_type &value, const unsigned int vector_lane)
 
static void access (value_type &value, const unsigned int vector_lane, const unsigned int component, const ScalarNumber &shape_value)
 
static ScalarNumber access (const value_type &value, const unsigned int vector_lane, const unsigned int component)
 
static void access (gradient_type &value, const unsigned int vector_lane, const unsigned int component, const Tensor< 1, dim, ScalarNumber > &shape_gradient)
 
static Tensor< 1, dim, ScalarNumberaccess (const gradient_type &value, const unsigned int vector_lane, const unsigned int component)
 

Detailed Description

template<int dim, int n_components, typename Number>
struct internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >

Struct to distinguish between the value and gradient types of different numbers of components used by the FlexibleEvaluator class.

Definition at line 60 of file fe_point_evaluation.h.

Member Typedef Documentation

◆ ScalarNumber

template<int dim, int n_components, typename Number >
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::ScalarNumber

◆ VectorizedArrayType

template<int dim, int n_components, typename Number >
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::VectorizedArrayType
Initial value:
typename ::internal::VectorizedArrayTrait<
Number>::vectorized_value_type

Definition at line 64 of file fe_point_evaluation.h.

◆ value_type

template<int dim, int n_components, typename Number >
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::value_type = Tensor<1, n_components, Number>

Definition at line 67 of file fe_point_evaluation.h.

◆ scalar_value_type

template<int dim, int n_components, typename Number >
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::scalar_value_type = Tensor<1, n_components, ScalarNumber>

Definition at line 68 of file fe_point_evaluation.h.

◆ vectorized_value_type

template<int dim, int n_components, typename Number >
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::vectorized_value_type
Initial value:

Definition at line 69 of file fe_point_evaluation.h.

◆ gradient_type

template<int dim, int n_components, typename Number >
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::gradient_type = Tensor<1, n_components, Tensor<1, dim, Number>>

Definition at line 71 of file fe_point_evaluation.h.

◆ scalar_gradient_type

template<int dim, int n_components, typename Number >
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::scalar_gradient_type

◆ vectorized_gradient_type

template<int dim, int n_components, typename Number >
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::vectorized_gradient_type

◆ interface_vectorized_gradient_type

template<int dim, int n_components, typename Number >
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::interface_vectorized_gradient_type

Member Function Documentation

◆ read_value()

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::read_value ( const ScalarNumber vector_entry,
const unsigned int component,
scalar_value_type & result )
inlinestatic

Definition at line 80 of file fe_point_evaluation.h.

◆ write_value()

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::write_value ( VectorizedArrayType & vector_entry,
const unsigned int component,
const vectorized_value_type & result )
inlinestatic

Definition at line 89 of file fe_point_evaluation.h.

◆ set_gradient()

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::set_gradient ( const interface_vectorized_gradient_type & value,
const unsigned int vector_lane,
gradient_type & result )
inlinestatic

Definition at line 98 of file fe_point_evaluation.h.

◆ get_gradient()

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::get_gradient ( interface_vectorized_gradient_type & value,
const unsigned int vector_lane,
const gradient_type & result )
inlinestatic

Definition at line 110 of file fe_point_evaluation.h.

◆ set_zero_gradient()

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::set_zero_gradient ( gradient_type & value,
const unsigned int vector_lane )
inlinestatic

Definition at line 121 of file fe_point_evaluation.h.

◆ set_value() [1/2]

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::set_value ( const vectorized_value_type & value,
const unsigned int vector_lane,
scalar_value_type & result )
inlinestatic

Definition at line 130 of file fe_point_evaluation.h.

◆ set_value() [2/2]

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::set_value ( const vectorized_value_type & value,
const unsigned int ,
vectorized_value_type & result )
inlinestatic

Definition at line 139 of file fe_point_evaluation.h.

◆ get_value() [1/2]

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::get_value ( vectorized_value_type & value,
const unsigned int vector_lane,
const scalar_value_type & result )
inlinestatic

Definition at line 147 of file fe_point_evaluation.h.

◆ get_value() [2/2]

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::get_value ( vectorized_value_type & value,
const unsigned int ,
const vectorized_value_type & result )
inlinestatic

Definition at line 156 of file fe_point_evaluation.h.

◆ set_zero_value()

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::set_zero_value ( value_type & value,
const unsigned int vector_lane )
inlinestatic

Definition at line 164 of file fe_point_evaluation.h.

◆ access() [1/4]

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::access ( value_type & value,
const unsigned int vector_lane,
const unsigned int component,
const ScalarNumber & shape_value )
inlinestatic

Definition at line 172 of file fe_point_evaluation.h.

◆ access() [2/4]

template<int dim, int n_components, typename Number >
static ScalarNumber internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::access ( const value_type & value,
const unsigned int vector_lane,
const unsigned int component )
inlinestatic

Definition at line 182 of file fe_point_evaluation.h.

◆ access() [3/4]

template<int dim, int n_components, typename Number >
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::access ( gradient_type & value,
const unsigned int vector_lane,
const unsigned int component,
const Tensor< 1, dim, ScalarNumber > & shape_gradient )
inlinestatic

Definition at line 191 of file fe_point_evaluation.h.

◆ access() [4/4]

template<int dim, int n_components, typename Number >
static Tensor< 1, dim, ScalarNumber > internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >::access ( const gradient_type & value,
const unsigned int vector_lane,
const unsigned int component )
inlinestatic

Definition at line 203 of file fe_point_evaluation.h.


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