Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
Tpetra::Impl::AbsMax< ViewType1, ViewType2, 2 > Struct Template Reference

Implementation of Tpetra's ABSMAX CombineMode for the small dense blocks in BlockCrsMatrix. More...

#include <Tpetra_BlockView.hpp>

Static Public Member Functions

static KOKKOS_INLINE_FUNCTION void run (const ViewType2 &Y, const ViewType1 &X)
 (*this)(i,j) := max(abs((*this)(i,j)), abs(X(i,j))) for all (i,j). More...
 

Detailed Description

template<class ViewType1, class ViewType2>
struct Tpetra::Impl::AbsMax< ViewType1, ViewType2, 2 >

Implementation of Tpetra's ABSMAX CombineMode for the small dense blocks in BlockCrsMatrix.

Tpetra uses this operation to implement the ABSMAX CombineMode.

Definition at line 86 of file Tpetra_BlockView.hpp.

Member Function Documentation

template<class ViewType1 , class ViewType2 >
static KOKKOS_INLINE_FUNCTION void Tpetra::Impl::AbsMax< ViewType1, ViewType2, 2 >::run ( const ViewType2 &  Y,
const ViewType1 &  X 
)
inlinestatic

(*this)(i,j) := max(abs((*this)(i,j)), abs(X(i,j))) for all (i,j).

Definition at line 90 of file Tpetra_BlockView.hpp.


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