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

#include <MueLu_MatrixConstruction.hpp>

Public Member Functions

 PointwiseCountingFunctor (local_matrix_type &A_, results_view &results_, rowptr_type &rowptr_, functor_type &functor_)
 PointwiseCountingFunctor (local_matrix_type &A_, results_view &results_, rowptr_type &rowptr_, bool firstFunctor_, functor_type &functor_)
KOKKOS_INLINE_FUNCTION void operator() (const local_ordinal_type rlid, 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 rowptr_type = typename local_matrix_type::row_map_type::non_const_type

Private Attributes

local_matrix_type A
results_view results
rowptr_type rowptr
functor_type functor
bool firstFunctor
PointwiseCountingFunctor< local_matrix_type, remaining_functor_types... > remainingFunctors

Detailed Description

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

Definition at line 134 of file MueLu_MatrixConstruction.hpp.

Member Typedef Documentation

◆ scalar_type

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

Definition at line 136 of file MueLu_MatrixConstruction.hpp.

◆ local_ordinal_type

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

Definition at line 137 of file MueLu_MatrixConstruction.hpp.

◆ memory_space

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

Definition at line 138 of file MueLu_MatrixConstruction.hpp.

◆ results_view

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

Definition at line 139 of file MueLu_MatrixConstruction.hpp.

◆ rowptr_type

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

Definition at line 141 of file MueLu_MatrixConstruction.hpp.

Constructor & Destructor Documentation

◆ PointwiseCountingFunctor() [1/2]

template<class local_matrix_type, class functor_type>
MueLu::MatrixConstruction::PointwiseCountingFunctor< local_matrix_type, functor_type >::PointwiseCountingFunctor ( local_matrix_type & A_,
results_view & results_,
rowptr_type & rowptr_,
functor_type & functor_ )
inline

Definition at line 154 of file MueLu_MatrixConstruction.hpp.

◆ PointwiseCountingFunctor() [2/2]

template<class local_matrix_type, class functor_type>
MueLu::MatrixConstruction::PointwiseCountingFunctor< local_matrix_type, functor_type >::PointwiseCountingFunctor ( local_matrix_type & A_,
results_view & results_,
rowptr_type & rowptr_,
bool firstFunctor_,
functor_type & functor_ )
inline

Definition at line 169 of file MueLu_MatrixConstruction.hpp.

Member Function Documentation

◆ operator()()

template<class local_matrix_type, class functor_type>
KOKKOS_INLINE_FUNCTION void MueLu::MatrixConstruction::PointwiseCountingFunctor< local_matrix_type, functor_type >::operator() ( const local_ordinal_type rlid,
local_ordinal_type & nnz,
const bool & final ) const
inline

Definition at line 185 of file MueLu_MatrixConstruction.hpp.

Member Data Documentation

◆ A

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

Definition at line 143 of file MueLu_MatrixConstruction.hpp.

◆ results

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

Definition at line 144 of file MueLu_MatrixConstruction.hpp.

◆ rowptr

template<class local_matrix_type, class functor_type>
rowptr_type MueLu::MatrixConstruction::PointwiseCountingFunctor< local_matrix_type, functor_type >::rowptr
private

Definition at line 145 of file MueLu_MatrixConstruction.hpp.

◆ functor

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

Definition at line 146 of file MueLu_MatrixConstruction.hpp.

◆ firstFunctor

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

Definition at line 147 of file MueLu_MatrixConstruction.hpp.

◆ remainingFunctors

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

Definition at line 48 of file MueLu_MatrixConstruction.hpp.


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