MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 > Struct Template Reference

#include <MueLu_MatrixConstruction.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION Comparator (const local_matrix_type2 &A_, local_ordinal_type bsize_, local_ordinal_type brlid_, block_indices_view_type ghosted_point_to_block_)
KOKKOS_INLINE_FUNCTION bool operator() (size_t x, size_t y) const

Private Types

using local_ordinal_type = typename local_matrix_type2::ordinal_type
using memory_space = typename local_matrix_type2::memory_space
using block_indices_view_type = Kokkos::View<local_ordinal_type*, memory_space>

Private Attributes

const local_matrix_type2 A
const local_ordinal_type offset
const block_indices_view_type ghosted_point_to_block

Detailed Description

template<class local_matrix_type>
template<class local_matrix_type2>
struct MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 >

Definition at line 393 of file MueLu_MatrixConstruction.hpp.

Member Typedef Documentation

◆ local_ordinal_type

template<class local_matrix_type>
template<class local_matrix_type2>
using MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 >::local_ordinal_type = typename local_matrix_type2::ordinal_type
private

Definition at line 395 of file MueLu_MatrixConstruction.hpp.

◆ memory_space

template<class local_matrix_type>
template<class local_matrix_type2>
using MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 >::memory_space = typename local_matrix_type2::memory_space
private

Definition at line 396 of file MueLu_MatrixConstruction.hpp.

◆ block_indices_view_type

template<class local_matrix_type>
template<class local_matrix_type2>
using MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 >::block_indices_view_type = Kokkos::View<local_ordinal_type*, memory_space>
private

Definition at line 397 of file MueLu_MatrixConstruction.hpp.

Constructor & Destructor Documentation

◆ Comparator()

template<class local_matrix_type>
template<class local_matrix_type2>
KOKKOS_INLINE_FUNCTION MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 >::Comparator ( const local_matrix_type2 & A_,
local_ordinal_type bsize_,
local_ordinal_type brlid_,
block_indices_view_type ghosted_point_to_block_ )
inline

Definition at line 405 of file MueLu_MatrixConstruction.hpp.

Member Function Documentation

◆ operator()()

template<class local_matrix_type>
template<class local_matrix_type2>
KOKKOS_INLINE_FUNCTION bool MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 >::operator() ( size_t x,
size_t y ) const
inline

Definition at line 411 of file MueLu_MatrixConstruction.hpp.

Member Data Documentation

◆ A

template<class local_matrix_type>
template<class local_matrix_type2>
const local_matrix_type2 MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 >::A
private

Definition at line 399 of file MueLu_MatrixConstruction.hpp.

◆ offset

template<class local_matrix_type>
template<class local_matrix_type2>
const local_ordinal_type MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 >::offset
private

Definition at line 400 of file MueLu_MatrixConstruction.hpp.

◆ ghosted_point_to_block

template<class local_matrix_type>
template<class local_matrix_type2>
const block_indices_view_type MueLu::MatrixConstruction::BlockRowComparison< local_matrix_type >::Comparator< local_matrix_type2 >::ghosted_point_to_block
private

Definition at line 401 of file MueLu_MatrixConstruction.hpp.


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