MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

Orders entries of row \(i\) by \(|A_{ij}|^2\). More...

#include <MueLu_CutDrop.hpp>

Classes

struct  Comparator
 

Public Types

using matrix_type = Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >
 
using local_matrix_type = typename matrix_type::local_matrix_device_type
 
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 comparator_type = Comparator< local_matrix_type >
 

Public Member Functions

 UnscaledComparison (matrix_type &A_, results_view &results_)
 
KOKKOS_INLINE_FUNCTION comparator_type getComparator (local_ordinal_type rlid) const
 

Public Attributes

local_matrix_type A
 
results_view results
 

Private Types

using ATS = Kokkos::ArithTraits< scalar_type >
 
using magnitudeType = typename ATS::magnitudeType
 
using values_view = Kokkos::View< magnitudeType *, memory_space >
 

Private Attributes

values_view values
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Orders entries of row \(i\) by \(|A_{ij}|^2\).

Definition at line 38 of file MueLu_CutDrop.hpp.

Member Typedef Documentation

◆ matrix_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
using MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::matrix_type = Xpetra::Matrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>

Definition at line 40 of file MueLu_CutDrop.hpp.

◆ local_matrix_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
using MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::local_matrix_type = typename matrix_type::local_matrix_device_type

Definition at line 42 of file MueLu_CutDrop.hpp.

◆ scalar_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
using MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::scalar_type = typename local_matrix_type::value_type

Definition at line 43 of file MueLu_CutDrop.hpp.

◆ local_ordinal_type

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
using MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::local_ordinal_type = typename local_matrix_type::ordinal_type

Definition at line 44 of file MueLu_CutDrop.hpp.

◆ memory_space

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
using MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::memory_space = typename local_matrix_type::memory_space

Definition at line 45 of file MueLu_CutDrop.hpp.

◆ results_view

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
using MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::results_view = Kokkos::View<DecisionType*, memory_space>

Definition at line 46 of file MueLu_CutDrop.hpp.

◆ ATS

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
using MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ATS = Kokkos::ArithTraits<scalar_type>
private

Definition at line 55 of file MueLu_CutDrop.hpp.

◆ magnitudeType

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
using MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::magnitudeType = typename ATS::magnitudeType
private

Definition at line 57 of file MueLu_CutDrop.hpp.

◆ values_view

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
using MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::values_view = Kokkos::View<magnitudeType*, memory_space>
private

Definition at line 58 of file MueLu_CutDrop.hpp.

◆ comparator_type

Definition at line 132 of file MueLu_CutDrop.hpp.

Constructor & Destructor Documentation

◆ UnscaledComparison()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::UnscaledComparison ( matrix_type A_,
results_view results_ 
)
inline

Definition at line 62 of file MueLu_CutDrop.hpp.

Member Function Documentation

◆ getComparator()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
KOKKOS_INLINE_FUNCTION comparator_type MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::getComparator ( local_ordinal_type  rlid) const
inline

Definition at line 135 of file MueLu_CutDrop.hpp.

Member Data Documentation

◆ A

◆ results

Definition at line 49 of file MueLu_CutDrop.hpp.

◆ values

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
values_view MueLu::CutDrop::UnscaledComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node >::values
mutableprivate

Definition at line 59 of file MueLu_CutDrop.hpp.


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