Reference documentation for deal.II version 9.4.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\}}\)
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>

Inheritance diagram for internal::FEPointEvaluation::EvaluatorTypeTraits< dim, n_components, Number >:
[legend]

Public Types

using value_type = Tensor< 1, n_components, Number >
 
using gradient_type = Tensor< 1, n_components, Tensor< 1, dim, Number > >
 

Static Public Member Functions

static void read_value (const Number vector_entry, const unsigned int component, value_type &result)
 
static void write_value (Number &vector_entry, const unsigned int component, const value_type &result)
 
static void set_gradient (const Tensor< 1, dim, Tensor< 1, n_components, VectorizedArray< Number > > > &value, const unsigned int vector_lane, gradient_type &result)
 
static void get_gradient (Tensor< 1, dim, Tensor< 1, n_components, VectorizedArray< Number > > > &value, const unsigned int vector_lane, const gradient_type &result)
 
static void set_value (const Tensor< 1, n_components, VectorizedArray< Number > > &value, const unsigned int vector_lane, value_type &result)
 
static void get_value (Tensor< 1, n_components, VectorizedArray< Number > > &value, const unsigned int vector_lane, const value_type &result)
 
template<typename Number2 >
static Number2 & access (Tensor< 1, n_components, Number2 > &value, const unsigned int component)
 
template<typename Number2 >
static const Number2 & access (const Tensor< 1, n_components, Number2 > &value, 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 49 of file fe_point_evaluation.h.

Member Typedef Documentation

◆ 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 51 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 52 of file fe_point_evaluation.h.

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 Number  vector_entry,
const unsigned int  component,
value_type result 
)
inlinestatic

Definition at line 55 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 ( Number &  vector_entry,
const unsigned int  component,
const value_type result 
)
inlinestatic

Definition at line 64 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 Tensor< 1, dim, Tensor< 1, n_components, VectorizedArray< Number > > > &  value,
const unsigned int  vector_lane,
gradient_type result 
)
inlinestatic

Definition at line 73 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 ( Tensor< 1, dim, Tensor< 1, n_components, VectorizedArray< Number > > > &  value,
const unsigned int  vector_lane,
const gradient_type result 
)
inlinestatic

Definition at line 85 of file fe_point_evaluation.h.

◆ set_value()

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

Definition at line 96 of file fe_point_evaluation.h.

◆ get_value()

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

Definition at line 105 of file fe_point_evaluation.h.

◆ access() [1/2]

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

Definition at line 115 of file fe_point_evaluation.h.

◆ access() [2/2]

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

Definition at line 123 of file fe_point_evaluation.h.


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