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::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number >::QuadratureDescriptor Struct Reference

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

Public Types

using ScalarNumber = typename VectorizedArrayTrait<Number>::value_type
 

Public Member Functions

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

Public Attributes

unsigned int n_q_points
 
Quadrature< 1 > quadrature_1d
 
Quadrature< structdim > quadrature
 
std::array< AlignedVector< ScalarNumber >, structdim > tensor_quadrature_weights
 
AlignedVector< ScalarNumberquadrature_weights
 

Detailed Description

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

Definition at line 114 of file mapping_info_storage.h.

Member Typedef Documentation

◆ ScalarNumber

template<int structdim, int spacedim, typename Number >
using internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number >::QuadratureDescriptor::ScalarNumber = typename VectorizedArrayTrait<Number>::value_type

In case this class is instantiated for VectorizedArray types, this indicates the underlying scalar type for data which is the same on all lanes like the quadrature weights.

Definition at line 121 of file mapping_info_storage.h.

Constructor & Destructor Documentation

◆ QuadratureDescriptor()

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

Constructor. Does nothing.

Member Function Documentation

◆ initialize() [1/2]

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

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

◆ initialize() [2/2]

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

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

◆ memory_consumption()

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

Returns the memory consumption in bytes.

Member Data Documentation

◆ n_q_points

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

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

Definition at line 150 of file mapping_info_storage.h.

◆ quadrature_1d

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

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

Definition at line 156 of file mapping_info_storage.h.

◆ quadrature

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

Quadrature formula applied on the given cell or face.

Definition at line 161 of file mapping_info_storage.h.

◆ tensor_quadrature_weights

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

Quadrature weights separated by dimension for use in specific situations.

Definition at line 168 of file mapping_info_storage.h.

◆ quadrature_weights

template<int structdim, int spacedim, typename Number >
AlignedVector<ScalarNumber> internal::MatrixFreeFunctions::MappingInfoStorage< structdim, spacedim, Number >::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 175 of file mapping_info_storage.h.


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