Reference documentation for deal.II version GIT relicensing-1054-gedd46abbd6 2024-07-12 01:20:01+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\}}\)
Loading...
Searching...
No Matches
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::bool_constant< 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::bool_constant< false >) const
 
template<typename VectorType >
void process_dofs_vectorized_transpose (const unsigned int dofs_per_cell, const unsigned int *dof_indices, VectorType &vec, const unsigned int constant_offset, VectorizedArrayType *dof_values, std::bool_constant< true >) const
 
template<typename VectorType >
void process_dofs_vectorized_transpose (const unsigned int dofs_per_cell, const unsigned int *dof_indices, const VectorType &vec, const unsigned int constant_offset, VectorizedArrayType *dof_values, std::bool_constant< 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::bool_constant< true > type) 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::bool_constant< false > type) 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::bool_constant< true >) const
 
template<typename Number2 >
void process_dofs_vectorized_transpose (const unsigned int, const std::array< Number2 *, VectorizedArrayType::size()> &, VectorizedArrayType *, std::bool_constant< false >) const
 
template<typename VectorType >
void process_dof_gather (const unsigned int *indices, VectorType &vec, const unsigned int constant_offset, typename VectorType::value_type *vec_ptr, VectorizedArrayType &res, std::bool_constant< true >) const
 
template<typename VectorType >
void process_dof_gather (const unsigned int *indices, const VectorType &vec, const unsigned int constant_offset, typename VectorType::value_type *, VectorizedArrayType &res, std::bool_constant< 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 279 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 283 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 294 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::bool_constant< true >   
) const
inline

Definition at line 303 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::bool_constant< false >   
) const
inline

Definition at line 326 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [1/6]

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,
const unsigned int  constant_offset,
VectorizedArrayType *  dof_values,
std::bool_constant< true >   
) const
inline

Definition at line 342 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [2/6]

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,
const unsigned int  constant_offset,
VectorizedArrayType *  dof_values,
std::bool_constant< false >   
) const
inline

Definition at line 359 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [3/6]

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::bool_constant< true >  type 
) const
inline

Definition at line 376 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [4/6]

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::bool_constant< false >  type 
) const
inline

Definition at line 390 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [5/6]

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::bool_constant< true >   
) const
inline

Definition at line 404 of file vector_access_internal.h.

◆ process_dofs_vectorized_transpose() [6/6]

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::bool_constant< false >   
) const
inline

Definition at line 419 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,
typename VectorType::value_type *  vec_ptr,
VectorizedArrayType &  res,
std::bool_constant< true >   
) const
inline

Definition at line 434 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,
typename VectorType::value_type *  ,
VectorizedArrayType &  res,
std::bool_constant< false >   
) const
inline

Definition at line 465 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 480 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 490 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 499 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 510 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 518 of file vector_access_internal.h.


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