Reference documentation for deal.II version 9.6.0
\(\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
internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable > 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 unit_gradient_type
 
using real_gradient_type
 
using scalar_unit_gradient_type
 
using vectorized_unit_gradient_type
 
using interface_vectorized_unit_gradient_type
 

Static Public Member Functions

static void read_value (const ScalarNumber vector_entry, const unsigned int component, scalar_value_type &result)
 
static scalar_value_type sum_value (const scalar_value_type &result)
 
static scalar_value_type sum_value (const vectorized_value_type &result)
 
static ScalarNumber sum_value (const unsigned int component, const vectorized_value_type &result)
 
static void set_gradient (const interface_vectorized_unit_gradient_type &value, const unsigned int vector_lane, unit_gradient_type &result)
 
static void get_gradient (interface_vectorized_unit_gradient_type &value, const unsigned int vector_lane, const unit_gradient_type &result)
 
static void get_gradient (interface_vectorized_unit_gradient_type &value, const unsigned int vector_lane, const DerivativeForm< 1, dim, n_components, Number > &result)
 
static void set_zero_gradient (real_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 (real_gradient_type &value, const unsigned int vector_lane, const unsigned int component, const Tensor< 1, spacedim, ScalarNumber > &shape_gradient)
 
static Tensor< 1, spacedim, ScalarNumberaccess (const real_gradient_type &value, const unsigned int vector_lane, const unsigned int component)
 

Detailed Description

template<int dim, int spacedim, int n_components, typename Number, typename Enable = void>
struct internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >

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

Definition at line 64 of file fe_point_evaluation.h.

Member Typedef Documentation

◆ ScalarNumber

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::ScalarNumber

◆ VectorizedArrayType

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

Definition at line 68 of file fe_point_evaluation.h.

◆ value_type

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

Definition at line 71 of file fe_point_evaluation.h.

◆ scalar_value_type

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

Definition at line 72 of file fe_point_evaluation.h.

◆ vectorized_value_type

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

Definition at line 73 of file fe_point_evaluation.h.

◆ unit_gradient_type

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::unit_gradient_type
Initial value:

Definition at line 75 of file fe_point_evaluation.h.

◆ real_gradient_type

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::real_gradient_type
Initial value:
std::conditional_t<
n_components == spacedim,

Definition at line 77 of file fe_point_evaluation.h.

◆ scalar_unit_gradient_type

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::scalar_unit_gradient_type

◆ vectorized_unit_gradient_type

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::vectorized_unit_gradient_type

◆ interface_vectorized_unit_gradient_type

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
using internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::interface_vectorized_unit_gradient_type

Member Function Documentation

◆ read_value()

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

Definition at line 89 of file fe_point_evaluation.h.

◆ sum_value() [1/3]

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
static scalar_value_type internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::sum_value ( const scalar_value_type & result)
inlinestatic

Definition at line 98 of file fe_point_evaluation.h.

◆ sum_value() [2/3]

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
static scalar_value_type internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::sum_value ( const vectorized_value_type & result)
inlinestatic

Definition at line 104 of file fe_point_evaluation.h.

◆ sum_value() [3/3]

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
static ScalarNumber internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::sum_value ( const unsigned int component,
const vectorized_value_type & result )
inlinestatic

Definition at line 115 of file fe_point_evaluation.h.

◆ set_gradient()

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::set_gradient ( const interface_vectorized_unit_gradient_type & value,
const unsigned int vector_lane,
unit_gradient_type & result )
inlinestatic

Definition at line 123 of file fe_point_evaluation.h.

◆ get_gradient() [1/2]

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::get_gradient ( interface_vectorized_unit_gradient_type & value,
const unsigned int vector_lane,
const unit_gradient_type & result )
inlinestatic

Definition at line 135 of file fe_point_evaluation.h.

◆ get_gradient() [2/2]

template<int dim, int spacedim, int n_components, typename Number , typename Enable = void>
static void internal::FEPointEvaluation::EvaluatorTypeTraits< dim, spacedim, n_components, Number, Enable >::get_gradient ( interface_vectorized_unit_gradient_type & value,
const unsigned int vector_lane,
const DerivativeForm< 1, dim, n_components, Number > & result )
inlinestatic

Definition at line 146 of file fe_point_evaluation.h.

◆ set_zero_gradient()

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

Definition at line 157 of file fe_point_evaluation.h.

◆ set_value() [1/2]

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

Definition at line 167 of file fe_point_evaluation.h.

◆ set_value() [2/2]

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

Definition at line 176 of file fe_point_evaluation.h.

◆ get_value() [1/2]

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

Definition at line 184 of file fe_point_evaluation.h.

◆ get_value() [2/2]

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

Definition at line 193 of file fe_point_evaluation.h.

◆ set_zero_value()

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

Definition at line 201 of file fe_point_evaluation.h.

◆ access() [1/4]

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

Definition at line 209 of file fe_point_evaluation.h.

◆ access() [2/4]

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

Definition at line 219 of file fe_point_evaluation.h.

◆ access() [3/4]

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

Definition at line 228 of file fe_point_evaluation.h.

◆ access() [4/4]

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

Definition at line 240 of file fe_point_evaluation.h.


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