Reference documentation for deal.II version Git 73c87d96ef 2021-11-30 22:54:44 +0100
\(\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 Member Functions | Public Attributes | List of all members
internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor Struct Reference

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

Public Member Functions

 QuadratureDescriptor ()
 
template<int dim_q>
void initialize (const Quadrature< dim_q > &quadrature, const UpdateFlags update_flags_inner_faces=update_default)
 
void initialize (const Quadrature< 1 > &quadrature_1d, const UpdateFlags update_flags_inner_faces=update_default)
 
std::size_t memory_consumption () const
 

Public Attributes

unsigned int n_q_points
 
Quadrature< 1 > quadrature_1d
 
Quadrature< structdim > quadrature
 
std::array< AlignedVector< Number >, structdim > tensor_quadrature_weights
 
AlignedVector< Number > quadrature_weights
 
::Table< 2, unsigned intface_orientations
 

Detailed Description

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
struct internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor

Definition at line 124 of file mapping_info.h.

Constructor & Destructor Documentation

◆ QuadratureDescriptor()

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::QuadratureDescriptor ( )

Constructor. Does nothing.

Member Function Documentation

◆ initialize() [1/2]

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
template<int dim_q>
void internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::initialize ( const Quadrature< dim_q > &  quadrature,
const UpdateFlags  update_flags_inner_faces = update_default 
)

Set up the lengths in the various members of this struct.

◆ initialize() [2/2]

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
void internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::initialize ( const Quadrature< 1 > &  quadrature_1d,
const UpdateFlags  update_flags_inner_faces = update_default 
)

Set up the lengths in the various members of this struct.

◆ memory_consumption()

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
std::size_t internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::memory_consumption ( ) const

Returns the memory consumption in bytes.

Member Data Documentation

◆ n_q_points

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
unsigned int internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::n_q_points

Number of quadrature points applied on the given cell or face.

Definition at line 155 of file mapping_info.h.

◆ quadrature_1d

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
Quadrature<1> internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::quadrature_1d

Original one-dimensional quadrature formula applied on the given cell or face.

Definition at line 161 of file mapping_info.h.

◆ quadrature

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
Quadrature<structdim> internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::quadrature

Quadrature formula applied on the given cell or face.

Definition at line 166 of file mapping_info.h.

◆ tensor_quadrature_weights

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
std::array<AlignedVector<Number>, structdim> internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::tensor_quadrature_weights

Quadrature weights separated by dimension for use in specific situations.

Definition at line 172 of file mapping_info.h.

◆ quadrature_weights

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
AlignedVector<Number> internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::quadrature_weights

A cached vector of quadrature weights in the given number format (non-vectorized, as it is cheap to broadcast the value to all lanes when it is used in a vectorized context).

Definition at line 179 of file mapping_info.h.

◆ face_orientations

template<int structdim, int spacedim, typename Number, typename VectorizedArrayType>
::Table<2, unsigned int> internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number, VectorizedArrayType >::QuadratureDescriptor::face_orientations

For quadrature on faces, the evaluation of basis functions is not in the correct order if a face is not in the standard orientation to a given element. This data structure is used to re-order the data evaluated on quadrature points to represent the correct order.

Definition at line 187 of file mapping_info.h.


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