version GIT relicensing-7278-g091132d5eb 2026-12-02 03:10: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 | Public Attributes | List of all members
internal::SolverGMRESImplementation::BlockSums< block_size, delayed_reorthogonalization > Struct Template Reference

Detailed Description

template<int block_size, bool delayed_reorthogonalization>
struct internal::SolverGMRESImplementation::BlockSums< block_size, delayed_reorthogonalization >

Value type for the team-level reduction of a block of block_size inner products in do_Tvmult_add_device(), plus the same number of correction terms for the delayed reorthogonalization variant and the norm of the new vector.

Definition at line 36 of file solver_gmres.cc.

Public Member Functions

KOKKOS_INLINE_FUNCTION BlockSums ()
 
KOKKOS_INLINE_FUNCTION BlockSums & operator+= (const BlockSums &other)
 

Public Attributes

double dot [block_size]
 
double correct [delayed_reorthogonalization ? block_size :1]
 
double norm_sqr
 

Constructor & Destructor Documentation

◆ BlockSums()

template<int block_size, bool delayed_reorthogonalization>
KOKKOS_INLINE_FUNCTION internal::SolverGMRESImplementation::BlockSums< block_size, delayed_reorthogonalization >::BlockSums ( )
inline

Definition at line 43 of file solver_gmres.cc.

Member Function Documentation

◆ operator+=()

template<int block_size, bool delayed_reorthogonalization>
KOKKOS_INLINE_FUNCTION BlockSums & internal::SolverGMRESImplementation::BlockSums< block_size, delayed_reorthogonalization >::operator+= ( const BlockSums< block_size, delayed_reorthogonalization > &  other)
inline

Definition at line 53 of file solver_gmres.cc.

Member Data Documentation

◆ dot

template<int block_size, bool delayed_reorthogonalization>
double internal::SolverGMRESImplementation::BlockSums< block_size, delayed_reorthogonalization >::dot[block_size]

Definition at line 38 of file solver_gmres.cc.

◆ correct

template<int block_size, bool delayed_reorthogonalization>
double internal::SolverGMRESImplementation::BlockSums< block_size, delayed_reorthogonalization >::correct[delayed_reorthogonalization ? block_size :1]

Definition at line 39 of file solver_gmres.cc.

◆ norm_sqr

template<int block_size, bool delayed_reorthogonalization>
double internal::SolverGMRESImplementation::BlockSums< block_size, delayed_reorthogonalization >::norm_sqr

Definition at line 40 of file solver_gmres.cc.


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