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, 1 > Struct Template Reference

Implementation of Tpetra's ABSMAX CombineMode for the small dense vectors in BlockMultiVector and BlockVector. More...

#include <Tpetra_BlockView.hpp>

Static Public Member Functions

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

Detailed Description

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

Implementation of Tpetra's ABSMAX CombineMode for the small dense vectors in BlockMultiVector and BlockVector.

Tpetra uses this operation to implement the ABSMAX CombineMode.

Definition at line 126 of file Tpetra_BlockView.hpp.

Member Function Documentation

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

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

Definition at line 130 of file Tpetra_BlockView.hpp.


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