MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 > Struct Template Reference

#include <MueLu_CutDrop.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION Comparator (const local_matrix_type2 &A_, const diag_view_type2 &diag_, const DistanceFunctorType2 *dist2_, local_ordinal_type rlid_, const results_view &results_)
 
KOKKOS_INLINE_FUNCTION
magnitudeType 
get_value (size_t x) const
 
KOKKOS_INLINE_FUNCTION bool operator() (size_t x, size_t y) const
 

Private Types

using scalar_type = typename local_matrix_type2::value_type
 
using local_ordinal_type = typename local_matrix_type2::ordinal_type
 
using memory_space = typename local_matrix_type2::memory_space
 
using results_view = Kokkos::View< DecisionType *, memory_space >
 
using ATS = Kokkos::ArithTraits< scalar_type >
 
using magnitudeType = typename ATS::magnitudeType
 

Private Attributes

const local_matrix_type2 A
 
const diag_view_type2 diag
 
const DistanceFunctorType2 * dist2
 
const local_ordinal_type rlid
 
const local_ordinal_type offset
 
const results_view results
 
const scalar_type one = ATS::one()
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node, class DistanceFunctorType>
template<class local_matrix_type2, class DistanceFunctorType2, class diag_view_type2>
struct MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >

Definition at line 354 of file MueLu_CutDrop.hpp.

Member Typedef Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::scalar_type = typename local_matrix_type2::value_type
private

Definition at line 356 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::local_ordinal_type = typename local_matrix_type2::ordinal_type
private

Definition at line 357 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::memory_space = typename local_matrix_type2::memory_space
private

Definition at line 358 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::results_view = Kokkos::View<DecisionType*, memory_space>
private

Definition at line 359 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::ATS = Kokkos::ArithTraits<scalar_type>
private

Definition at line 361 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::magnitudeType = typename ATS::magnitudeType
private

Definition at line 362 of file MueLu_CutDrop.hpp.

Constructor & Destructor Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
KOKKOS_INLINE_FUNCTION MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::Comparator ( const local_matrix_type2 &  A_,
const diag_view_type2 &  diag_,
const DistanceFunctorType2 *  dist2_,
local_ordinal_type  rlid_,
const results_view results_ 
)
inline

Definition at line 375 of file MueLu_CutDrop.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
KOKKOS_INLINE_FUNCTION magnitudeType MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::get_value ( size_t  x) const
inline

Definition at line 384 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
KOKKOS_INLINE_FUNCTION bool MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::operator() ( size_t  x,
size_t  y 
) const
inline

Definition at line 398 of file MueLu_CutDrop.hpp.

Member Data Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
const local_matrix_type2 MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::A
private

Definition at line 364 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
const diag_view_type2 MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::diag
private

Definition at line 365 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
const DistanceFunctorType2* MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::dist2
private

Definition at line 366 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
const local_ordinal_type MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::rlid
private

Definition at line 367 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
const local_ordinal_type MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::offset
private

Definition at line 368 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
const results_view MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::results
private

Definition at line 369 of file MueLu_CutDrop.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node , class DistanceFunctorType >
template<class local_matrix_type2 , class DistanceFunctorType2 , class diag_view_type2 >
const scalar_type MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType >::Comparator< local_matrix_type2, DistanceFunctorType2, diag_view_type2 >::one = ATS::one()
private

Definition at line 371 of file MueLu_CutDrop.hpp.


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