MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero > Class Template Reference

Functor that symmetrizes the dropping decisions. More...

#include <MueLu_DroppingCommon.hpp>

Public Member Functions

 SymmetrizeFunctor (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>
using ATS = KokkosKernels::ArithTraits<scalar_type>
using impl_SC = typename ATS::val_type
using impl_ATS = KokkosKernels::ArithTraits<impl_SC>
using magATS = KokkosKernels::ArithTraits<typename impl_ATS::magnitudeType>

Private Attributes

local_matrix_type A
results_view results

Detailed Description

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
class MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >

Functor that symmetrizes the dropping decisions.

Definition at line 534 of file MueLu_DroppingCommon.hpp.

Member Typedef Documentation

◆ scalar_type

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
using MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::scalar_type = typename local_matrix_type::value_type
private

Definition at line 536 of file MueLu_DroppingCommon.hpp.

◆ local_ordinal_type

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
using MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::local_ordinal_type = typename local_matrix_type::ordinal_type
private

Definition at line 537 of file MueLu_DroppingCommon.hpp.

◆ memory_space

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
using MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::memory_space = typename local_matrix_type::memory_space
private

Definition at line 538 of file MueLu_DroppingCommon.hpp.

◆ results_view

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
using MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::results_view = Kokkos::View<DecisionType*, memory_space>
private

Definition at line 539 of file MueLu_DroppingCommon.hpp.

◆ ATS

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
using MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::ATS = KokkosKernels::ArithTraits<scalar_type>
private

Definition at line 540 of file MueLu_DroppingCommon.hpp.

◆ impl_SC

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
using MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::impl_SC = typename ATS::val_type
private

Definition at line 541 of file MueLu_DroppingCommon.hpp.

◆ impl_ATS

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
using MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::impl_ATS = KokkosKernels::ArithTraits<impl_SC>
private

Definition at line 542 of file MueLu_DroppingCommon.hpp.

◆ magATS

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
using MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::magATS = KokkosKernels::ArithTraits<typename impl_ATS::magnitudeType>
private

Definition at line 543 of file MueLu_DroppingCommon.hpp.

Constructor & Destructor Documentation

◆ SymmetrizeFunctor()

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::SymmetrizeFunctor ( local_matrix_type & A_,
results_view & results_ )
inline

Definition at line 549 of file MueLu_DroppingCommon.hpp.

Member Function Documentation

◆ operator()()

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
KOKKOS_FORCEINLINE_FUNCTION void MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::operator() ( local_ordinal_type rlid) const
inline

Definition at line 554 of file MueLu_DroppingCommon.hpp.

Member Data Documentation

◆ A

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
local_matrix_type MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::A
private

Definition at line 545 of file MueLu_DroppingCommon.hpp.

◆ results

template<class local_matrix_type, bool weakWins = false, bool offdiagNnzsCanBeReducedToZero = false>
results_view MueLu::Misc::SymmetrizeFunctor< local_matrix_type, weakWins, offdiagNnzsCanBeReducedToZero >::results
private

Definition at line 546 of file MueLu_DroppingCommon.hpp.


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