MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu::Misc::MarkSingletonFunctor< local_matrix_type > Class Template Reference

Functor that marks singletons (all off-diagonal entries in a row are dropped) as boundary. More...

#include <MueLu_DroppingCommon.hpp>

Public Member Functions

 MarkSingletonFunctor (local_matrix_type &A_, boundary_nodes_view boundaryNodes_, 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 >
 
using boundary_nodes_view = Kokkos::View< bool *, memory_space >
 

Private Attributes

local_matrix_type A
 
boundary_nodes_view boundaryNodes
 
results_view results
 

Detailed Description

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

Functor that marks singletons (all off-diagonal entries in a row are dropped) as boundary.

Definition at line 194 of file MueLu_DroppingCommon.hpp.

Member Typedef Documentation

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

Definition at line 196 of file MueLu_DroppingCommon.hpp.

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

Definition at line 197 of file MueLu_DroppingCommon.hpp.

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

Definition at line 198 of file MueLu_DroppingCommon.hpp.

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

Definition at line 199 of file MueLu_DroppingCommon.hpp.

template<class local_matrix_type >
using MueLu::Misc::MarkSingletonFunctor< local_matrix_type >::boundary_nodes_view = Kokkos::View<bool*, memory_space>
private

Definition at line 201 of file MueLu_DroppingCommon.hpp.

Constructor & Destructor Documentation

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

Definition at line 208 of file MueLu_DroppingCommon.hpp.

Member Function Documentation

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

Definition at line 214 of file MueLu_DroppingCommon.hpp.

Member Data Documentation

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

Definition at line 203 of file MueLu_DroppingCommon.hpp.

template<class local_matrix_type >
boundary_nodes_view MueLu::Misc::MarkSingletonFunctor< local_matrix_type >::boundaryNodes
private

Definition at line 204 of file MueLu_DroppingCommon.hpp.

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

Definition at line 205 of file MueLu_DroppingCommon.hpp.


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