MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type > Class Template Reference

#include <MueLu_MatrixConstruction.hpp>

Public Member Functions

 VectorCountingFunctor (local_matrix_type &A_, local_ordinal_type blockSize_, block_indices_view_type ghosted_point_to_block_, results_view &results_, rowptr_type &filtered_rowptr_, rowptr_type &graph_rowptr_, functor_type &functor_)
KOKKOS_INLINE_FUNCTION void join (Kokkos::pair< local_ordinal_type, local_ordinal_type > &dest, const Kokkos::pair< local_ordinal_type, local_ordinal_type > &src) const
KOKKOS_INLINE_FUNCTION void operatorRow (const local_ordinal_type rlid) const
KOKKOS_INLINE_FUNCTION void operator() (const local_ordinal_type brlid, Kokkos::pair< local_ordinal_type, local_ordinal_type > &nnz, const bool &final) const

Private Types

using scalar_type = typename local_matrix_type::value_type
using local_ordinal_type = typename local_matrix_type::ordinal_type
using memory_space = typename local_matrix_type::memory_space
using results_view = Kokkos::View<DecisionType*, memory_space>
using block_indices_view_type = Kokkos::View<local_ordinal_type*, memory_space>
using permutation_type = Kokkos::View<local_ordinal_type*, memory_space>
using rowptr_type = typename local_matrix_type::row_map_type::non_const_type
using ATS = Kokkos::ArithTraits<local_ordinal_type>

Private Attributes

local_matrix_type A
local_ordinal_type blockSize
block_indices_view_type ghosted_point_to_block
results_view results
rowptr_type filtered_rowptr
rowptr_type graph_rowptr
bool firstFunctor
functor_type functor
BlockRowComparison< local_matrix_type > comparison
permutation_type permutation
VectorCountingFunctor< local_matrix_type, remaining_functor_types... > remainingFunctors

Detailed Description

template<class local_matrix_type, class functor_type>
class MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >

Definition at line 614 of file MueLu_MatrixConstruction.hpp.

Member Typedef Documentation

◆ scalar_type

template<class local_matrix_type, class functor_type>
using MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::scalar_type = typename local_matrix_type::value_type
private

Definition at line 616 of file MueLu_MatrixConstruction.hpp.

◆ local_ordinal_type

template<class local_matrix_type, class functor_type>
using MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::local_ordinal_type = typename local_matrix_type::ordinal_type
private

Definition at line 617 of file MueLu_MatrixConstruction.hpp.

◆ memory_space

template<class local_matrix_type, class functor_type>
using MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::memory_space = typename local_matrix_type::memory_space
private

Definition at line 618 of file MueLu_MatrixConstruction.hpp.

◆ results_view

template<class local_matrix_type, class functor_type>
using MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::results_view = Kokkos::View<DecisionType*, memory_space>
private

Definition at line 619 of file MueLu_MatrixConstruction.hpp.

◆ block_indices_view_type

template<class local_matrix_type, class functor_type>
using MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::block_indices_view_type = Kokkos::View<local_ordinal_type*, memory_space>
private

Definition at line 620 of file MueLu_MatrixConstruction.hpp.

◆ permutation_type

template<class local_matrix_type, class functor_type>
using MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::permutation_type = Kokkos::View<local_ordinal_type*, memory_space>
private

Definition at line 621 of file MueLu_MatrixConstruction.hpp.

◆ rowptr_type

template<class local_matrix_type, class functor_type>
using MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::rowptr_type = typename local_matrix_type::row_map_type::non_const_type
private

Definition at line 623 of file MueLu_MatrixConstruction.hpp.

◆ ATS

template<class local_matrix_type, class functor_type>
using MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::ATS = Kokkos::ArithTraits<local_ordinal_type>
private

Definition at line 624 of file MueLu_MatrixConstruction.hpp.

Constructor & Destructor Documentation

◆ VectorCountingFunctor()

template<class local_matrix_type, class functor_type>
MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::VectorCountingFunctor ( local_matrix_type & A_,
local_ordinal_type blockSize_,
block_indices_view_type ghosted_point_to_block_,
results_view & results_,
rowptr_type & filtered_rowptr_,
rowptr_type & graph_rowptr_,
functor_type & functor_ )
inline

Definition at line 644 of file MueLu_MatrixConstruction.hpp.

Member Function Documentation

◆ join()

template<class local_matrix_type, class functor_type>
KOKKOS_INLINE_FUNCTION void MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::join ( Kokkos::pair< local_ordinal_type, local_ordinal_type > & dest,
const Kokkos::pair< local_ordinal_type, local_ordinal_type > & src ) const
inline

Definition at line 664 of file MueLu_MatrixConstruction.hpp.

◆ operatorRow()

template<class local_matrix_type, class functor_type>
KOKKOS_INLINE_FUNCTION void MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::operatorRow ( const local_ordinal_type rlid) const
inline

Definition at line 670 of file MueLu_MatrixConstruction.hpp.

◆ operator()()

template<class local_matrix_type, class functor_type>
KOKKOS_INLINE_FUNCTION void MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::operator() ( const local_ordinal_type brlid,
Kokkos::pair< local_ordinal_type, local_ordinal_type > & nnz,
const bool & final ) const
inline

Definition at line 675 of file MueLu_MatrixConstruction.hpp.

Member Data Documentation

◆ A

template<class local_matrix_type, class functor_type>
local_matrix_type MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::A
private

Definition at line 626 of file MueLu_MatrixConstruction.hpp.

◆ blockSize

template<class local_matrix_type, class functor_type>
local_ordinal_type MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::blockSize
private

Definition at line 627 of file MueLu_MatrixConstruction.hpp.

◆ ghosted_point_to_block

template<class local_matrix_type, class functor_type>
block_indices_view_type MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::ghosted_point_to_block
private

Definition at line 628 of file MueLu_MatrixConstruction.hpp.

◆ results

template<class local_matrix_type, class functor_type>
results_view MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::results
private

Definition at line 629 of file MueLu_MatrixConstruction.hpp.

◆ filtered_rowptr

template<class local_matrix_type, class functor_type>
rowptr_type MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::filtered_rowptr
private

Definition at line 630 of file MueLu_MatrixConstruction.hpp.

◆ graph_rowptr

template<class local_matrix_type, class functor_type>
rowptr_type MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::graph_rowptr
private

Definition at line 631 of file MueLu_MatrixConstruction.hpp.

◆ firstFunctor

template<class local_matrix_type, class functor_type>
bool MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::firstFunctor
private

Definition at line 633 of file MueLu_MatrixConstruction.hpp.

◆ functor

template<class local_matrix_type, class functor_type>
functor_type MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::functor
private

Definition at line 634 of file MueLu_MatrixConstruction.hpp.

◆ comparison

template<class local_matrix_type, class functor_type>
BlockRowComparison<local_matrix_type> MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::comparison
private

Definition at line 640 of file MueLu_MatrixConstruction.hpp.

◆ permutation

template<class local_matrix_type, class functor_type>
permutation_type MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type >::permutation
private

Definition at line 641 of file MueLu_MatrixConstruction.hpp.

◆ remainingFunctors

VectorCountingFunctor<local_matrix_type, remaining_functor_types...> MueLu::MatrixConstruction::VectorCountingFunctor< local_matrix_type, functor_type, remaining_functor_types >::remainingFunctors
private

Definition at line 461 of file MueLu_MatrixConstruction.hpp.


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