MueLu
Version of the Day
|
Drops entries the unscaled distance Laplacian. More...
#include <MueLu_DistanceLaplacianDropping.hpp>
Public Member Functions | |
DropFunctor (matrix_type &A_, magnitudeType threshold, DistanceFunctorType &dist2_, results_view &results_) | |
KOKKOS_FORCEINLINE_FUNCTION void | operator() (local_ordinal_type rlid) const |
Private 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 | ATS = Kokkos::ArithTraits< scalar_type > |
using | magnitudeType = typename ATS::magnitudeType |
using | boundary_nodes_view = Kokkos::View< const bool *, memory_space > |
Private Attributes | |
local_matrix_type | A |
magnitudeType | eps |
Teuchos::RCP< diag_vec_type > | diagVec |
diag_view_type | diag |
DistanceFunctorType | dist2 |
results_view | results |
const scalar_type | one = ATS::one() |
Drops entries the unscaled distance Laplacian.
Evaluates the dropping criterion
\[ \frac{|d_{ij}|^2}{|d_{ii}| |d_{jj}|} \le \theta^2 \]
where \(d_{ij}\) is a distance metric.
Definition at line 355 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 357 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 358 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 359 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 360 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 361 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 362 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 363 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 365 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 367 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 368 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 369 of file MueLu_DistanceLaplacianDropping.hpp.
|
inline |
Definition at line 380 of file MueLu_DistanceLaplacianDropping.hpp.
|
inline |
Definition at line 391 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 371 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 372 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 373 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 374 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 375 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 376 of file MueLu_DistanceLaplacianDropping.hpp.
|
private |
Definition at line 377 of file MueLu_DistanceLaplacianDropping.hpp.