MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::Misc::KeepDiagonalFunctor< local_matrix_type > Class Template Reference

Functor that marks diagonal as kept, unless the are already marked as boundary. More...

#include <MueLu_DroppingCommon.hpp>

Public Member Functions

 KeepDiagonalFunctor (local_matrix_type &A_, results_view &results_)
KOKKOS_FORCEINLINE_FUNCTION void operator() (local_ordinal_type rlid) 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>

Private Attributes

local_matrix_type A
results_view results

Detailed Description

template<class local_matrix_type>
class MueLu::Misc::KeepDiagonalFunctor< local_matrix_type >

Functor that marks diagonal as kept, unless the are already marked as boundary.

Definition at line 127 of file MueLu_DroppingCommon.hpp.

Member Typedef Documentation

◆ scalar_type

template<class local_matrix_type>
using MueLu::Misc::KeepDiagonalFunctor< local_matrix_type >::scalar_type = typename local_matrix_type::value_type
private

Definition at line 129 of file MueLu_DroppingCommon.hpp.

◆ local_ordinal_type

template<class local_matrix_type>
using MueLu::Misc::KeepDiagonalFunctor< local_matrix_type >::local_ordinal_type = typename local_matrix_type::ordinal_type
private

Definition at line 130 of file MueLu_DroppingCommon.hpp.

◆ memory_space

template<class local_matrix_type>
using MueLu::Misc::KeepDiagonalFunctor< local_matrix_type >::memory_space = typename local_matrix_type::memory_space
private

Definition at line 131 of file MueLu_DroppingCommon.hpp.

◆ results_view

template<class local_matrix_type>
using MueLu::Misc::KeepDiagonalFunctor< local_matrix_type >::results_view = Kokkos::View<DecisionType*, memory_space>
private

Definition at line 132 of file MueLu_DroppingCommon.hpp.

Constructor & Destructor Documentation

◆ KeepDiagonalFunctor()

template<class local_matrix_type>
MueLu::Misc::KeepDiagonalFunctor< local_matrix_type >::KeepDiagonalFunctor ( local_matrix_type & A_,
results_view & results_ )
inline

Definition at line 138 of file MueLu_DroppingCommon.hpp.

Member Function Documentation

◆ operator()()

template<class local_matrix_type>
KOKKOS_FORCEINLINE_FUNCTION void MueLu::Misc::KeepDiagonalFunctor< local_matrix_type >::operator() ( local_ordinal_type rlid) const
inline

Definition at line 143 of file MueLu_DroppingCommon.hpp.

Member Data Documentation

◆ A

template<class local_matrix_type>
local_matrix_type MueLu::Misc::KeepDiagonalFunctor< local_matrix_type >::A
private

Definition at line 134 of file MueLu_DroppingCommon.hpp.

◆ results

template<class local_matrix_type>
results_view MueLu::Misc::KeepDiagonalFunctor< local_matrix_type >::results
private

Definition at line 135 of file MueLu_DroppingCommon.hpp.


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