Reference documentation for deal.II version GIT db2fd67796 2022-12-07 23:35:02+00:00
\(\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 | List of all members
internal::VectorReader< Number, VectorizedArrayType > Struct Template Reference

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

Public Member Functions

template<typename VectorType >
void process_dof (const unsigned int index, const VectorType &vec, Number &res) const
 
template<typename VectorNumberType >
void process_dof (const VectorNumberType &global, Number &local) const
 
template<typename VectorType >
void process_dofs_vectorized (const unsigned int dofs_per_cell, const unsigned int dof_index, VectorType &vec, VectorizedArrayType *dof_values, std::integral_constant< bool, true >) const
 
template<typename VectorType >
void process_dofs_vectorized (const unsigned int dofs_per_cell, const unsigned int dof_index, const VectorType &vec, VectorizedArrayType *dof_values, std::integral_constant< bool, false >) const
 
template<typename VectorType >
void process_dofs_vectorized_transpose (const unsigned int dofs_per_cell, const unsigned int *dof_indices, VectorType &vec, VectorizedArrayType *dof_values, std::integral_constant< bool, true >) const
 
template<typename VectorType >
void process_dofs_vectorized_transpose (const unsigned int dofs_per_cell, const unsigned int *dof_indices, const VectorType &vec, VectorizedArrayType *dof_values, std::integral_constant< bool, false >) const
 
template<typename Number2 >
void process_dofs_vectorized_transpose (const unsigned int dofs_per_cell, const std::array< Number2 *, VectorizedArrayType::size()> &global_ptr, VectorizedArrayType *dof_values, std::integral_constant< bool, true >) const
 
template<typename Number2 >
void process_dofs_vectorized_transpose (const unsigned int, const std::array< Number2 *, VectorizedArrayType::size()> &, VectorizedArrayType *, std::integral_constant< bool, false >) const
 
template<typename VectorType >
void process_dof_gather (const unsigned int *indices, VectorType &vec, const unsigned int constant_offset, VectorizedArrayType &res, std::integral_constant< bool, true >) const
 
template<typename VectorType >
void process_dof_gather (const unsigned int *indices, const VectorType &vec, const unsigned int constant_offset, VectorizedArrayType &res, std::integral_constant< bool, false >) const
 
template<typename VectorType >
void process_dof_global (const types::global_dof_index index, const VectorType &vec, Number &res) const
 
void pre_constraints (const Number &, Number &res) const
 
template<typename VectorType >
void process_constraint (const unsigned int index, const Number weight, const VectorType &vec, Number &res) const
 
void post_constraints (const Number &sum, Number &write_pos) const
 
void process_empty (VectorizedArrayType &res) const
 

Detailed Description

template<typename Number, typename VectorizedArrayType>
struct internal::VectorReader< Number, VectorizedArrayType >

Definition at line 282 of file vector_access_internal.h.

Member Function Documentation

◆ process_dof() [1/2]

template<typename Number , typename VectorizedArrayType >
template<typename VectorType >
void internal::VectorReader< Number, VectorizedArrayType >::process_dof ( const unsigned int  index,
const VectorType &  vec,
Number &  res 
) const
inline

Definition at line 286 of file vector_access_internal.h.

◆ process_dof() [2/2]

template<typename Number , typename VectorizedArrayType >
template<typename VectorNumberType >
void internal::VectorReader< Number, VectorizedArrayType >::process_dof ( const VectorNumberType &  global,
Number &  local 
) const
inline

Definition at line 297 of file vector_access_internal.h.

◆ process_dofs_vectorized() [1/2]

template<typename Number , typename VectorizedArrayType >
template<typename VectorType >
void internal::VectorReader< Number, VectorizedArrayType >::process_dofs_vectorized ( const unsigned int  dofs_per_cell,
const unsigned int  dof_index,
VectorType &  vec,
VectorizedArrayType *  dof_values,
std::integral_constant< bool, true >   
) const
inline

Definition at line 306 of file vector_access_internal.h.

◆ process_dofs_vectorized() [2/2]

template<typename Number , typename VectorizedArrayType >
template<typename VectorType >
void internal::VectorReader< Number, VectorizedArrayType >::process_dofs_vectorized ( const unsigned int  dofs_per_cell,
const unsigned int  dof_index,
const VectorType &  vec,
VectorizedArrayType *  dof_values,
std::integral_constant< bool, false >   
) const
inline

Definition at line 332 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [1/4]

template<typename Number , typename VectorizedArrayType >
template<typename VectorType >
void internal::VectorReader< Number, VectorizedArrayType >::process_dofs_vectorized_transpose ( const unsigned int  dofs_per_cell,
const unsigned int *  dof_indices,
VectorType &  vec,
VectorizedArrayType *  dof_values,
std::integral_constant< bool, true >   
) const
inline

Definition at line 348 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [2/4]

template<typename Number , typename VectorizedArrayType >
template<typename VectorType >
void internal::VectorReader< Number, VectorizedArrayType >::process_dofs_vectorized_transpose ( const unsigned int  dofs_per_cell,
const unsigned int *  dof_indices,
const VectorType &  vec,
VectorizedArrayType *  dof_values,
std::integral_constant< bool, false >   
) const
inline

Definition at line 364 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [3/4]

template<typename Number , typename VectorizedArrayType >
template<typename Number2 >
void internal::VectorReader< Number, VectorizedArrayType >::process_dofs_vectorized_transpose ( const unsigned int  dofs_per_cell,
const std::array< Number2 *, VectorizedArrayType::size()> &  global_ptr,
VectorizedArrayType *  dof_values,
std::integral_constant< bool, true >   
) const
inline

Definition at line 379 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [4/4]

template<typename Number , typename VectorizedArrayType >
template<typename Number2 >
void internal::VectorReader< Number, VectorizedArrayType >::process_dofs_vectorized_transpose ( const unsigned int  ,
const std::array< Number2 *, VectorizedArrayType::size()> &  ,
VectorizedArrayType *  ,
std::integral_constant< bool, false >   
) const
inline

Definition at line 394 of file vector_access_internal.h.

◆ process_dof_gather() [1/2]

template<typename Number , typename VectorizedArrayType >
template<typename VectorType >
void internal::VectorReader< Number, VectorizedArrayType >::process_dof_gather ( const unsigned int *  indices,
VectorType &  vec,
const unsigned int  constant_offset,
VectorizedArrayType &  res,
std::integral_constant< bool, true >   
) const
inline

Definition at line 409 of file vector_access_internal.h.

◆ process_dof_gather() [2/2]

template<typename Number , typename VectorizedArrayType >
template<typename VectorType >
void internal::VectorReader< Number, VectorizedArrayType >::process_dof_gather ( const unsigned int *  indices,
const VectorType &  vec,
const unsigned int  constant_offset,
VectorizedArrayType &  res,
std::integral_constant< bool, false >   
) const
inline

Definition at line 434 of file vector_access_internal.h.

◆ process_dof_global()

template<typename Number , typename VectorizedArrayType >
template<typename VectorType >
void internal::VectorReader< Number, VectorizedArrayType >::process_dof_global ( const types::global_dof_index  index,
const VectorType &  vec,
Number &  res 
) const
inline

Definition at line 448 of file vector_access_internal.h.

◆ pre_constraints()

template<typename Number , typename VectorizedArrayType >
void internal::VectorReader< Number, VectorizedArrayType >::pre_constraints ( const Number &  ,
Number &  res 
) const
inline

Definition at line 458 of file vector_access_internal.h.

◆ process_constraint()

template<typename Number , typename VectorizedArrayType >
template<typename VectorType >
void internal::VectorReader< Number, VectorizedArrayType >::process_constraint ( const unsigned int  index,
const Number  weight,
const VectorType &  vec,
Number &  res 
) const
inline

Definition at line 467 of file vector_access_internal.h.

◆ post_constraints()

template<typename Number , typename VectorizedArrayType >
void internal::VectorReader< Number, VectorizedArrayType >::post_constraints ( const Number &  sum,
Number &  write_pos 
) const
inline

Definition at line 478 of file vector_access_internal.h.

◆ process_empty()

template<typename Number , typename VectorizedArrayType >
void internal::VectorReader< Number, VectorizedArrayType >::process_empty ( VectorizedArrayType &  res) const
inline

Definition at line 486 of file vector_access_internal.h.


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