|
MueLu
Version of the Day
|
Orders entries of row \(i\) by \(\frac{|d_{ij}|^2}{|d_{ii}| |d_{jj}|}\) where \(d_ij\) is the distance Laplacian. 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_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 | diag_vec_type = Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > |
| using | diag_view_type = typename Kokkos::DualView< const scalar_type *, Kokkos::LayoutStride, typename Node::device_type, Kokkos::MemoryUnmanaged >::t_dev |
| using | results_view = Kokkos::View< DecisionType *, memory_space > |
| using | comparator_type = Comparator< local_matrix_type, DistanceFunctorType, diag_view_type > |
Public Member Functions | |
| ScaledDistanceLaplacianComparison (matrix_type &A_, DistanceFunctorType &dist2_, 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 |
Private Attributes | |
| Teuchos::RCP< diag_vec_type > | diagVec |
| diag_view_type | diag |
| DistanceFunctorType | dist2 |
Orders entries of row \(i\) by \(\frac{|d_{ij}|^2}{|d_{ii}| |d_{jj}|}\) where \(d_ij\) is the distance Laplacian.
Definition at line 392 of file MueLu_CutDrop.hpp.
| using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::matrix_type = Xpetra::Matrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> |
Definition at line 394 of file MueLu_CutDrop.hpp.
| using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::local_matrix_type = typename matrix_type::local_matrix_type |
Definition at line 395 of file MueLu_CutDrop.hpp.
| using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::scalar_type = typename local_matrix_type::value_type |
Definition at line 396 of file MueLu_CutDrop.hpp.
| using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::local_ordinal_type = typename local_matrix_type::ordinal_type |
Definition at line 397 of file MueLu_CutDrop.hpp.
| using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::memory_space = typename local_matrix_type::memory_space |
Definition at line 398 of file MueLu_CutDrop.hpp.
| using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::diag_vec_type = Xpetra::MultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node> |
Definition at line 399 of file MueLu_CutDrop.hpp.
| using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::diag_view_type = typename Kokkos::DualView<const scalar_type*, Kokkos::LayoutStride, typename Node::device_type, Kokkos::MemoryUnmanaged>::t_dev |
Definition at line 400 of file MueLu_CutDrop.hpp.
| using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::results_view = Kokkos::View<DecisionType*, memory_space> |
Definition at line 401 of file MueLu_CutDrop.hpp.
|
private |
Definition at line 410 of file MueLu_CutDrop.hpp.
|
private |
Definition at line 412 of file MueLu_CutDrop.hpp.
| using MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::comparator_type = Comparator<local_matrix_type, DistanceFunctorType, diag_view_type> |
Definition at line 530 of file MueLu_CutDrop.hpp.
|
inline |
Definition at line 419 of file MueLu_CutDrop.hpp.
|
inline |
Definition at line 533 of file MueLu_CutDrop.hpp.
| local_matrix_type MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::A |
Definition at line 403 of file MueLu_CutDrop.hpp.
| results_view MueLu::CutDrop::ScaledDistanceLaplacianComparison< Scalar, LocalOrdinal, GlobalOrdinal, Node, DistanceFunctorType, measure >::results |
Definition at line 404 of file MueLu_CutDrop.hpp.
|
private |
Definition at line 414 of file MueLu_CutDrop.hpp.
|
private |
Definition at line 415 of file MueLu_CutDrop.hpp.
|
private |
Definition at line 416 of file MueLu_CutDrop.hpp.