MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::Misc::MarkSingletonVectorFunctor< 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

 MarkSingletonVectorFunctor (local_matrix_type &A_, block_indices_view_type point_to_block_, 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 block_indices_view_type = Kokkos::View<local_ordinal_type*, memory_space>
using boundary_nodes_view = Kokkos::View<bool*, memory_space>

Private Attributes

local_matrix_type A
block_indices_view_type point_to_block
boundary_nodes_view boundaryNodes
results_view results

Detailed Description

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

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

Definition at line 238 of file MueLu_DroppingCommon.hpp.

Member Typedef Documentation

◆ scalar_type

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

Definition at line 240 of file MueLu_DroppingCommon.hpp.

◆ local_ordinal_type

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

Definition at line 241 of file MueLu_DroppingCommon.hpp.

◆ memory_space

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

Definition at line 242 of file MueLu_DroppingCommon.hpp.

◆ results_view

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

Definition at line 243 of file MueLu_DroppingCommon.hpp.

◆ block_indices_view_type

template<class local_matrix_type>
using MueLu::Misc::MarkSingletonVectorFunctor< local_matrix_type >::block_indices_view_type = Kokkos::View<local_ordinal_type*, memory_space>
private

Definition at line 244 of file MueLu_DroppingCommon.hpp.

◆ boundary_nodes_view

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

Definition at line 246 of file MueLu_DroppingCommon.hpp.

Constructor & Destructor Documentation

◆ MarkSingletonVectorFunctor()

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

Definition at line 254 of file MueLu_DroppingCommon.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 261 of file MueLu_DroppingCommon.hpp.

Member Data Documentation

◆ A

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

Definition at line 248 of file MueLu_DroppingCommon.hpp.

◆ point_to_block

template<class local_matrix_type>
block_indices_view_type MueLu::Misc::MarkSingletonVectorFunctor< local_matrix_type >::point_to_block
private

Definition at line 249 of file MueLu_DroppingCommon.hpp.

◆ boundaryNodes

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

Definition at line 250 of file MueLu_DroppingCommon.hpp.

◆ results

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

Definition at line 251 of file MueLu_DroppingCommon.hpp.


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